Back to vBulletin 3.0 Template Modifications

Thread Images
Mod Version: 1.00, by python66

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 2
Released: 19 Feb 2005 Last Update: Never Downloads: 0
Not Supported  

This will add some thread images to your thread list you can see them over at

http://www.codingsector.com/forumdisplay.php?f=21

To apply this hack it will involve in editing two templates

In your FORUMDISPLAY template find

Code:
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg">
ABOVE ADD

Code:
<if condition="$foruminfo[title] == forumtitle"><td class="thead" width="45" align="center" nowrap="nowrap">Preview</td></if>
NOTE: you must remove the forumtitle and replace it with the forum you want to add the images to. If you want to add images to every forum then just remove the <if> statements.

SAVE FORUMDISPLAY Template

OPEN THREADBIT Template

FIND

Code:
<td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>
	</if>
BELOW ADD

Code:
 <if condition="$thread[forumtitle] == forumtitle">
<td class="alt2" width="40">
<img src="$thread[threadid].gif"></td></if>
NOTE: you must remove the forumtitle and replace it with the forum you want to add the images to. If you want to add images to every forum then just remove the <if> statements.

SAVE AND CLOSE!

now you should test it to see if it works! if you have no threads in the forum you selected then create a test 1.

now create the image and put that image in the forum root directory it must be called the id of the thread!

for example if my threadid was 1 then i would create an image called 1.gif and place it in the forum root directory.

NOTE: You can find the forum id by hovering over the link and you should get something like

http://www.codingsector.com/index.php?t=10
where the number 10 is the thread id!

Hopefully it worked, i would love to see some variations of this!
Please excuse me if it doesnt i will fix it after all this is my first ever mod

Thanks
Paul

Download

No files for download.

Similar Mods

Thread Images vBulletin 3.0 Full Releases
[release] Thread Top Images vBulletin 2.x Template Modifications

vblts.ru supports vBulletin®, 2022-2024