The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
Hi,
Hope everybody is doing good. I'm not a power user and i tried to edit create my own template and it doesnt work. Here is what i wanted to do. I wanted to have my customized printthread template (without the board logo), but i didnt want to alter the original. So i created a new template called printthread_avantgo and then i created a copy of printthread.php called printthread_avantgo.php. In this file i just changed the template name from printthread to my new created template printthread_avantgo. But when i call printthread_avantgo.php, the result is empty. When i put back the default name (printthread) into printthread_avantgo, it works. Of course with the regular template... What did i do wrong? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Anyone? maybe i am not clear?
|
|
#3
|
|||
|
|||
|
I Fixed it with out a problem and i tested it on my forums so it should work the fix is attached
*EDITED* THE ATTACHMENT LOOKS SLOPPY SO I'LL PASTED THE CODE HERE Ok, in printthread.php or your copy ON line 4 (at the top) find -------------------- $templatesused = "postbit_signature,printthreadbit,printthread" ; Replace with ---------------------------------------------------- $templatesused = "postbit_signature,printthreadbit,printthread_avan tgo"; still in printthread.php or your copy ON line 90 (at the bottom) find ------------------------------------ eval("dooutput(\"".gettemplate("printthread")."\") ;"); Replace with ------------------------------------------------ eval("dooutput(\"".gettemplate("printthread_avantg o")."\");"); That should do the trick i tested it it worked for me any problems just ask me
|
|
#4
|
|||
|
|||
|
you rule! thanx
|
![]() |
|
|