The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|
|
#2
|
||||
|
||||
|
Quote:
|
|
#3
|
|||
|
|||
|
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...
|
|
#4
|
|||
|
|||
|
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.
|
|
#5
|
|||
|
|||
|
is it possible for me to include a php file inside a template?
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
|
![]() |
|
|