Hey all,
I'm trying to activate some php code in the plugin system and that dosn't seem to work
PHP Code:
$selfbuddys = explode(' ', $vbulletin->userinfo['buddylist']);
$yourbuddys = explode(' ', $this->post['buddylist']);
(Hook: postbit_display_start)
The 2nd row works fine (somebody's buddys array). When I'm writing "$
yourbuddys[0]" in the tamplate the output is the first userid of the array.
BUT if I writing "$
selfbuddys[0]" in the tamplate, nothing!
* $bbuserinfo[buddylist] works! the output is an array of user id's.
So, is there another way to write $bbuserinfo in php? or maybe the Hook is the problem.
If that's not clear, im new to all this php\plugs of vb, but im trying (: