PDA

View Full Version : Display Different skins to different usergroups


Junction
11-29-2010, 02:45 PM
I am looking for a mod to display 1 skin to unregistered / guests, and a different skin to registered users.

I am also going to post this is the paid request forum as I am willing to pay for this mod.

Lynne
11-29-2010, 04:12 PM
Can't you just set the default style for registered users and then make a plugin using the style_fetch location for unregistered users?
if (is_member_of($vbulletin->userinfo, 1)) $styleid = x;

Junction
11-30-2010, 11:43 AM
Can't you just set the default style for registered users and then make a plugin using the style_fetch location for unregistered users?
if (is_member_of($vbulletin->userinfo, 1)) $styleid = x;

Thank you for replying to my thread.

Since you know way more than me when it comes to vBulletin, I assume that would work. My next question would be, where do I put that code? Headerinclude?

Lynne
11-30-2010, 02:17 PM
I don't know if it would work since I don't use it. As I said in the post, put it in a plugin and try using the style_fetch hook location. As always, test things on your test site first.