The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I also need to do the same thing... add a php code in a specific place in showthread template but I don't know how.
What do you use phpinclude template for? |
#12
|
|||
|
|||
Quote:
You'll never get any help here with that attitude. These people are using their own personal time to help you with your problem, the least you could do is show some gratitude. |
#13
|
|||
|
|||
I guess it could work this way (I haven't tried it actually), but it looks little messy. All you need to do is to split a template on two templates at the point you want to insert your php code... ie. from first part of showthread template make showthread1 and from the rest showthread2.
Then edit showthread.php and replace the following line PHP Code:
PHP Code:
|
#14
|
|||
|
|||
Or there is another way I just tried... Right in front of the following line in showthread.php
eval("dooutput(\"".gettemplate("showthread")."\"); "); make a line of of text you wish to appear somewhere on the showthread page. Just put everything you want in one variable, i.e $myvariable. All you need to do then is to put $myvariable somewhere in the showthread template... |
#15
|
|||
|
|||
Quote:
Edit /admin/functions.php insted. Search for this: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|