PDA

View Full Version : different style per user group?


Drache
11-03-2009, 01:57 PM
I remember seeing the add on somewhere before but I can't find it anymore. is there a add on for 3.84 that i can set user group to have different style?

Thanks.

testbot
11-04-2009, 12:57 AM
you can create a plugin to accomplish this

Drache
11-04-2009, 02:21 AM
can you tell me how do i do that? or is there already a plugin for it?

testbot
11-04-2009, 04:22 PM
i haven't tested it but maybe something like the following.

Product: vBulltin
Hook: global_start
Name: Style by Group
Code:

if ($vbulletin->userinfo['usergroupid'] == 1){
$session[styleid] = 3
}