![]() |
User rank code stopped working
Some of our code has stopped working out of the blue, I'm wondering if a syntax change has been made or something?
Hook: member_complete Code:
if ($userinfo['usergroupid'] == '42') |
Can anyone help?
|
You should not have to run a query since $userinfo will have all the users data.
The code below will work fine PHP Code:
the code you have works on my forum "vb 4.2.2 pl 1" but use my code you don't need the query --------------- Added [DATE]1397778920[/DATE] at [TIME]1397778920[/TIME] --------------- if they are in multiply usergroups i would use this PHP Code:
|
All times are GMT. The time now is 04:57 PM. |
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:
|