![]() |
What is wrong with this?
I've tried several diff ways to get this to work, but no luck with any. :ermm:
PHP Code:
|
PHP Code:
|
Parse error: parse error, unexpected '{' in ***** on line 487
On line 487 is the { below the if in the code you posted. :( |
Steve just forgot a trailing bracket and to actualy have an array ;) :)
Use this it's more efficient: PHP Code:
|
If you are using vB3, always prefer is_member_of() over a check of the usergroupid key. This will, among other things, take additional usergroups into effect (not just the primary usergroup).
|
Quote:
|
Thanks guys! :D
Filburt1, where would that go? Kind of a newbie in vB3 code :speechless: |
Quote:
PHP Code:
|
Thank you! :D
|
Instead of making another thread, I'll post in this one. :D. Anyways, I am stuck yet again and on something that I thought would've been easy to do. :x.
Anyways, I am trying to achive something like member.php does, but no luck in making it work. I've scanned countless files trying almsot everything. LOL. But I need to show a username according to the userid, hence like the member.php file. Thanks in advanced. :) |
All times are GMT. The time now is 10:00 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:
|