The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I display thread icons inside the thread?
In the threadbit template, I found this:
PHP Code:
|
#2
|
|||
|
|||
just use the exact same thing in showthread template
|
#3
|
|||
|
|||
Just throwing the html in there won't work because $show['threadicon'] is only set in forumdisplay.php.
If you allow icons for all forums then that is not important to your set-up anyway, in such a case using this in the SHOWTHREAD template will work; HTML Code:
<img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
|
#4
|
|||
|
|||
Quote:
HTML Code:
<!-- Added --> <img src="" alt="" border="0" /> <!-- Added --> |
#5
|
|||
|
|||
Hehe my bad...didn't know they weren't set in the latest version.
First thing you need to do is edit showthread.php. Find this bit of code in showthread.php; PHP Code:
PHP Code:
|
#6
|
|||
|
|||
Sweet! Thanks man! This is really gonna help my forum. I assume the iconcache HAS to be there tho? No way to do this without file edits?
|
#7
|
|||
|
|||
Quote:
I could probably work around the file edit but it would be a mess...the 'easy' solution in this situation is to edit the file. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|