The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Inserting PHP code in common templates
Hello everyone,
Our bulletin board is conducting elections for moderators. I have written a script to process the elections and it seems to be working well. I'd like to add another feature. I would like to display at the top of the forum, how many people have voted. To do this I have tried to insert code like this Code:
<tr><td> <?php require_once("election-stats.php"); ?> </td></tr> Code:
print("there have been " . $voteCount . " votes cast"); Does VB not allow me to insert PHP code like this? Thanks! sean |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|