PDA

View Full Version : if membergroup question


G_Gekko
16 Oct 2006, 08:36
Is there any way I can use an if member group function on a none VB pages so that the member group that a forum member belongs to can effect what is displayed on none VB pages?

if yes, how?

RS_Jelle
16 Oct 2006, 15:47
Have a look at this tutorial (http://www.vbulletin.org/forum/showthread.php?t=98009) to create your own vBulletin powered pages (with usergroups integration, etc.) ;)

G_Gekko
16 Oct 2006, 20:11
Thanks. Seems to be what i need. Just have to look into it a bit more to understand it..

Sarcoth
18 Dec 2006, 17:07
Wow, I'm glad I found this. It is exactly what I have been looking for.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



What's the best way to do multiple groups? Would this work?



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I tested that out and it appears to work and no errors. Just wondering if there is a better way.

RS_Jelle
19 Dec 2006, 22:04
You can use is_member_of($bbuserinfo, 6, 7) then. Since vB 3.5 (http://www.vbulletin.com/forum/showthread.php?t=206738) you can check multiple usergroups like that :)