The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can php be executed within a template?
I have a function which I need in forumdisplay.php but I need to execute that function from within the threadbit template.
The function will detect the first image in the post and i'm then diaplaying it as a thumbnail so in threadbit I need to put something like: HTML Code:
<img src="<?php echo imagethumb($thread[pagetext])" />
I would really appreciate anyone pointing me in the right direction. Thanks. |
#2
|
||||
|
||||
You will need to use a plugin to execute the php and then pass the results off to the template for output.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|