The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Unexpected problem with "$vbulletin->" variable
Hello, this question is for vb 3.5.0 gold
If I used in /root/global.php: eval('$candoit = in_array($vbulletin->userinfo[usergroupid], array(' . $vbulletin->options[can_do] . '));'); I get: parse error, unexpected T_STRING in /home/myforum/public_html/vbtest/global.php on line xxx When I used "in_array($bbuserinfo[usergroupid]" instead of "in_array($vbulletin->userinfo[usergroupid]" it was OK. What´s wrong with "($vbulletin->userinfo[usergroupid]"? Thanks in advance |
#2
|
|||
|
|||
What are you trying to do?
|
#3
|
||||
|
||||
PHP Code:
|
#4
|
|||
|
|||
Hello, thank you very much to both, specially to KirbyDE, now I think it?s OK
I am trying to upgrade this hack https://vborg.vbsupport.ru/showthrea...threadid=70966 to vb 3.5.0 as a product. Thanks again. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|