PDA

View Full Version : Problem with the array vbulletin->userinfo


eran_eluz
11-08-2010, 12:56 PM
I'm try to use the array $vbulletin->userinfo but it seems to be empty, I build the mod on another system and export, Now when i tried to import it it seems that all going right except of the var $vbulletin->userinfo[usergroupid]
someone have an idea?

Lynne
11-08-2010, 01:42 PM
We need much more information than that. What hook location are you using? Post the exact hook location and the exact code along with other things like templates and other plugins.

eran_eluz
11-09-2010, 01:06 PM
We need much more information than that. What hook location are you using? Post the exact hook location and the exact code along with other things like templates and other plugins.


The hook is : postbit_display_complete

the mod name is : buzzsystem

Lynne
11-09-2010, 02:01 PM
If you take a look at the hook in the code, you'll see that $this->registry->userinfo is the proper variable to use there.