![]() |
how do i pass vBulletin variables to my PHP script?
i can get the number of posts of a user using $bbuserinfo[posts] in my vBulletin template, but i want to get the $bbuserinfo[posts] from my PHP script instead of the template, how do i do it? :ermm:
|
Quote:
|
but i'll need the username or member id to query the database, which means i'll still need to pass a vB variable to my php script isn't it? cos i'm using vB's login session...
|
If you are using a vB login (i expect by using the global.php) you will have access to the $bbuserinfo array. That one holds all the user information you need.
|
is it possible for me to include a php file inside a template?
|
Quote:
|
Quote:
|
All times are GMT. The time now is 10:04 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:
|