View Full Version : $vbulletin->userinfo['blahblah']
Hi
This should be a simple question.
Where can i locate the place where the script creates, $vbulletin->userinfo['******']?
What i am wanting to do is to add more customfield (e.g., vbb_userfields) informations inside it.
Thanks. :D
Adrian.
05-17-2007, 08:47 AM
includes/class_core.php
If you look in global.php, that'a where they put $vbulletin =& new vB_Registry.
If i remember correctly.
ragtek
05-17-2007, 08:52 AM
i think he means this:
$this->validfields['foo'] = array(TYPE_UINT, REQ_NO);
$this->validfields['bar'] = array(TYPE_UINT, REQ_NO);
no you can use $vbulletin->userinfo['foo'] in the script
so the background
1. in the usertable add the columns bar, foo
2. add plugin at the hook userdata_start
now you can use it
i hope it can be understand, sorry for bad english:D
hmm thks for the replies.
but i dont understand where are both of you tryin to lead me to. cuz i couldnt find those codes anywhere..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.