Do a search in this thread for "is_member_of" because that is what you would use in the condition and I know this has been covered before in this thread.
|
ah thanks Lynne. I kinda skimmed though the thread 30 pages is a lot to take in.
all sorted now :) works perfectly |
Can somebody tell me what is wrong with my code? I keep getting a syntax error and cannot seem to see where I made an error..
Code:
if (is_member_of($vbulletin->userinfo, 1)) |
Quote:
|
1. Why don't you give the exact error message instead if making us search & guess?
2. Use indenting to make your code more readable. 3. You're missing a closing curly bracket at the end, that's for sure. // Edit: Lynne beat me to it :D |
Quote:
Thank you for the quick response. |
Quote:
PHP Code:
|
Quote:
|
Quote:
|
Quote:
edit: Well, I guess while I was typing Brooks was being the young whippersnapper he is and answering way, waaaaay faster than me! |
All times are GMT. The time now is 01:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|