Quote:
Originally Posted by ShayA
I need to call the include in the "web" folder.
When I do so I get an error:
|
Use the following snippet:
PHP Code:
......
chdir('./forum');
require_once('./global.php');
......
Quote:
Originally Posted by ShayA
Is there an API interface for VB where I can get that info?
|
You can find the official documentation in the API reference in the member area at vb.com. Also have a look in our vB3.5 Tutorial section. Most things are covered in there.
Quote:
Originally Posted by ShayA
On the same subject.
Can I get from this array the user statistics. Meaning when he was last logged in, if he has unread private message, How many post he has.
|
Yes all that info you can find in the $vbulletin->userinfo array. For non-user information, see the rest of the $vbulletin object.