![]() |
is_member_of doesn't accept 1 parameter
This could just be me... but it seems is_member_of() doesn't accept one usergroupid to compare?
I tried: PHP Code:
|
That should work assuming that variable is available for use at whichever hook location you are using. Did you look to find the hook in the code? And look around and see what the variables are that are being used?
|
I'm using the fetch_musername hook to change the markup based on the users group (no I can't use the standard formatting because I created a gradient plug-in).
--------------- Added [DATE]1277677120[/DATE] at [TIME]1277677120[/TIME] --------------- Never mind... I just stuck with the $user['displaygroupid'] variable instead. |
All times are GMT. The time now is 11:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|