![]() |
How can I display thread icons inside the thread?
In the threadbit template, I found this:
PHP Code:
|
just use the exact same thing in showthread template
|
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" /> |
Quote:
HTML Code:
<!-- Added --> |
1 Attachment(s)
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:
|
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?
|
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. |
All times are GMT. The time now is 04:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|