Show WP Widgets to Logged On Users Only

Posted in Blogging, Plugins, Tutorials, WP Hacks on August 26th, 2010 by Icd – 2 Comments

You can find various plugins that allow you to control on which pages you display your widgets. Unfortunately I was unable to find one specifically made to show certain widgets to logged on users only.

Fortunately I was able to figure out the next best thing, which is actually pretty basic. Just follow the steps below, it won’t take more than a minute.

1. Install the Widget Logic Plugin via your dashboard or download it here.

This plugin gives every widget an extra control field called “Widget logic” that lets you control the pages that the widget will appear on.

Now some of you might be thinking, “aah I have to fill something in… no thanks”. Don’t worry there’s only one more step and you only have to copy what I put down.

2. If you take a look at the above picture you will see the “Widget Logic” area which is situated on your widgets page at the end of each widget.  Here you will have to add a conditional tag which tells WP to only show the widget to a logged on users.

Now all you have to do is add this tag :   is_user_logged_in() .

Only add that tag to the widgets you want to display only to logged in users.

Alternative : Those who don’t need the advanced usage of  Widget Logic can try the Dynamic Widgets Plugin , which will do the same and a bit more, without pasting any code. Thanks to Frederic for mentioning this.

Have fun. If you found this helped in some way, please make a comment.

Remove BuddyPress Sidebar Login Form

Posted in BuddyPress, BuddyPress Theme, Plugins, WPmu on August 24th, 2010 by Icd – Be the first to comment

Many of you who use BuddyPress would like to remove the default BuddyPress Sidebar Login Form for reasons such as adding you own login form or freeing up some sidebar space.  I was able to do this by using the plugin code provided in this discussion by Pers.  So remember to visit him and say thanks.

All I did was add the code to a php file and zip it for you guys, so all you have to do is upload it like you would for any other plugin and activate. If there’s any problems, which there shouldn’t be,  just let me know so I can redo the code, or you can do it on your own.

You can see the script in action here. (I’m using the “Login with Ajax plugin as a replacement.)

Download
Downloaded 10 times

Free BuddyPress 1.2 and Above Compatible Theme

Posted in BuddyPress, BuddyPress Theme, Free Themes, Themes on August 21st, 2010 by Icd – Be the first to comment

I started with a list of free BuddyPress themes for 2010 and when I reached number five I found a post that lists 28 Free BuddyPress Themes Compatible with BuddyPress 1.2 and Above… Which made my attempt a bit redundant.  I suggest taking a look at the post and thanking the poster for setting it up, because BuddyPress theme’s are still few and far between.

If you find any new theme please let me know and I’ll put up a NEW Free BuddyPress 1.2 and Above Compatible theme list.

Free Elgg Theme – Socialize Me

Posted in Free Themes, Themes, elgg themes on August 21st, 2010 by Icd – Be the first to comment

FREE VERSION OF SOCIALIZE ME THEME.

More theme avialable at www.buyelggthemes.com

What’s new in this template??

  • Fast Loading template
  • 8 unique Styles
  • Eye Catching colors
  • Web 2.0 Style
  • IE PNG Fix (Now no Background color on any PNG image in Internet Explorer)
  • Easily add a 728×90 sized Google Adsense or any other affiliate program code at the top right side of the Logo, using headers_contents.php file. This will help you get more Ad Impressions.
  • Easilly Customisable to change with your own colors.

Download Theme

Original Post

Free Elgg Theme – 666

Posted in Free Themes, Themes, elgg themes on August 21st, 2010 by Icd – Be the first to comment

A clean, elegant looking  and fast loading theme for elgg 1.7.1 with light shades. What i tried to do in this theme is to stick on to elgg default looks and to give a clean appearance. I will try funky things from next release onwards.

Download Theme

Original Post

CSS Rounded Corner

Posted in CSS, Tutorials on August 18th, 2010 by Icd – Be the first to comment

I’ve been slaving away updating my CSS knowledge and hit a little wall when coming to Rounded Corners.  Most of the options I got was to either use images or a bunch of div tags, which worked, but took time and effort. Fortunately my Google fingers picked up on THIS TUTORIAL and now I’m as happy as can be.

The short solution to create CSS Rounded Corners:

#example1 {
border-radius: 15px;
-moz-border-radius: 15px;
}

The “moz-border-radius” is for Firefox support.

For a quick example see our forum. The CSS I used there:

#fwoutside
{
padding:5px 5px 5px 5px;
-moz-border-radius: 15px;
border-radius: 15px;
border: 1px solid grey;
height:960px;
width: 1000px;
margin: 10px auto;
}

WordPress Blogging Forum

Posted in Announcements, Blogging on August 5th, 2010 by Icd – Be the first to comment

As part of my blog revamp I got rid of the old forum and setup a new forum which focus is WordPress Themes, Plugins and Addons. You can discuss, share or info about these various topics.

The forum is located here : http://purplehazard.com/wpforum

Feel free to sign up and start sharing.

Free Domains

Posted in Blogging, BuddyPress, Feature on July 29th, 2010 by Icd – Be the first to comment

Here is a list of sites I’ve been using to test out new site ideas before I register for a paid TLD domain.

1. CZ.ZZ (No Ads)

Most likely the best newcomer I’ve seen so far. You’re allowed five free domains and you’re credited with 1$ when you register, which you can use for free advertising. They also support free DNS, real MX, CNAME and A records.

2. Co.CC (No Ads)

They’ve been around for a while, and I’ve always found them to be pretty good. After a year you will have to pay to renew your domain. They also support free DNS, real MX, CNAME and A records.

3.Co.Nr (No Ads)

They offer the usual free url forwarding, cloaking and path forwarding. Not sure about DNS, MX, CNAME and A records. Remember having some trouble with them, but I will let you decide.

4. .tk (Some Ads)

Yes .tk is the shortest and the only real TLD (Top Level Domain) provider. I remember some splash ads being thrown on my site and site login problems you will usually notice when url-forwarding. In general the package is good, even with the restrictions they impose.

If you have anymore for me to add, please let me know.

Beware

Posted in Announcements on July 22nd, 2010 by Icd – Be the first to comment

Hey peeps who visit my blog, I’ll be doing some changes over the next couple of days. I’ve been wanting to do this for a very long time, but busy busy busy. If you experience any problems, I do apologize, but he’re at PurpleHazard we’re progressive… if there’s time.

I’ll also be adding new content and removing the old cluttered forum and moving to a clean install of BBpress, where you can have a chat and discuss blogging topics.

Ning Alternatives

Posted in Blogging, BuddyPress, BuddyPress Theme, Free Themes, WPmu, WordPress 3, elgg, elgg themes on July 13th, 2010 by Icd – Be the first to comment

Ning created alot of buzz and negative comments due to their sudden switch from a free to premium service. I also had a Ning network, but fortunately never paid much attention to it, rather focusing on other network applications. Some of you weren’t as lucky as me and spent hundreds of hours changing and growing your Ning driven network. Those of you unable to pay for the premium service lost all your users, but possibly still stay in contact with them.

Many of you are now looking for a great alternative. Below I have four free and easy to use Ning Alternatives.

1. BuddyPress:

BuddyPress is a free WordPress plugin which is very easy to setup and modify with available themes and plugins. You will need your own self-hosted WordPress blog to activate BuddyPress.

My BuddyPress Sites : http://livingwordpress.com  (Blogging Social Network and Free Hosting.)http://rugbyshout.com (Rugby Social Network)

2. Elgg:

Elgg is a standalone free social networking script. Setup is easy and they have a great community providing free themes and plugins. You will also need your own hosting account to set it up or you can join the premium service.

3. Spruz

Spruz is the service which I find most similar to Ning. You simply fill out a few fields and you have a social network hosted by them. It’s free and easy to setup and provide plenty of options.

See my Spruz test – http://ayoba.spruz.com

4. Yuku

Similar to Spruz and Ning, but not as easy to use or as pretty. The admin interface reminds me of Joomla, which I never found very intuitive. I would recommend trying Spruz first.

My Yuku attempt : http://ayoba.yuku.com/ (To be honest I gave up in the first five minutes. I’m fickle like that.)

If you have any suggestions for the list OR would like to show us your site, please post it in a comment.