![]() |
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 |
What are you trying to do?
|
PHP Code:
|
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. |
All times are GMT. The time now is 03:31 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:
|