The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
What is wrong with this?
I've tried several diff ways to get this to work, but no luck with any. :ermm:
PHP Code:
|
#2
|
||||
|
||||
PHP Code:
|
#3
|
||||
|
||||
Parse error: parse error, unexpected '{' in ***** on line 487
On line 487 is the { below the if in the code you posted. |
#4
|
||||
|
||||
Steve just forgot a trailing bracket and to actualy have an array
Use this it's more efficient: PHP Code:
|
#5
|
|||
|
|||
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).
|
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
Thanks guys!
Filburt1, where would that go? Kind of a newbie in vB3 code :speechless: |
#8
|
||||
|
||||
Quote:
PHP Code:
|
#9
|
||||
|
||||
Thank you!
|
#10
|
||||
|
||||
Instead of making another thread, I'll post in this one. . 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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|