The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
including forum info in misc php file
okey, so i've got this php file which is supposed to open up in an iframe that i would like to include the following info in:
Code:
Members: $numbermembers Total Posts: $totalposts | Total Threads: $totalthreads Welcome to our newest member, $newusername You Last Visited: $pmbox[lastvisitdate] $pmbox[lastvisittime] |
#2
|
||||
|
||||
Questions about modifying vBulletin's default behaviour and asking about modifications in general, should be posted in General vBulletin Questions. Please read the forum descriptions more carefully in future. I've moved your thread there for you
Thanks, - Dean |
#3
|
|||
|
|||
thanks! sorry about the trouble... but because it wasn't directly a vbulletinboard question but rather a mere coding question, i figured it had to go there.
|
#4
|
||||
|
||||
You'll have to querie the database for some information. Check out the index.php file, I think most of what you want is in there already.
|
#5
|
|||
|
|||
sorry but i'm clueless. how do i querie the database?
|
#6
|
||||
|
||||
Take a look at Zachery's tutorial in modification hints and tips to create a vBulletin powered page. Then just put the code you have above in your template and you should be good to go as all that information is made available on all pages IIRC
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|