The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Add icon beside Forum Icon
Can someone please tell me how to add an icon to a specific thread. (forum) I want to add an icon beside the thread icon. see www.myls1.com for an example of how he does it.
Thank you in advance for responding, Mr. Fitaholic |
#2
|
|||
|
|||
Edit the forumhome_forumbit_level2_post template. On that site they have added something like the following:
Code:
tr align="center"> <td class="alt2"><img src="images/statusicon/forum_old.gif" alt="" id="forum_statusicon_124" border="0"></td> <td class="alt1Active" id="f124" align="left"> <div style="margin: 0px; padding: 0px; float: left;"> <img src="images/statusicon/124.gif" alt=""></div> <div> <a href="forumdisplay.php?f=124"><strong>Maintenance and Repairs</strong></a> <span class="smallfont">(6 Viewing)</span> </div> <div class="smallfont">General LSX Maintenance and Repairs</div> </td> <td class="alt2"> <div class="smallfont" align="left"> <div> <span style="white-space: nowrap;"> <a href="showthread.php?goto=newpost&t=3171" style="white-space: nowrap;" title="Go to first unread post in thread 'Taylor 10.5 MM wires = JUNK'"><strong>Taylor 10.5 MM wires = JUNK</strong></a></span> </div> <div style="white-space: nowrap;"> by <a href="member.php?find=lastposter&f=124" rel="nofollow">dixonk</a> </div> <div style="white-space: nowrap;" align="right"> 09-06-2008 <span class="time">11:51 AM</span> <a href="showthread.php?p=39636#post39636"><img title="Go to last post" class="inlineimg" src="images/buttons/lastpost.gif" alt="Go to last post" border="0"></a> </div> </div> </td> <td class="alt1">31</td> <td class="alt2">302</td> </tr> Code:
<div style="margin: 0px; padding: 0px; float: left;"> <img src="images/statusicon/$forum[forumid].gif" alt=""></div> |
#3
|
|||
|
|||
Thats awesome Opserity, but how do I make it for only one forum id???
|
#4
|
|||
|
|||
Code:
<if conditon="$forum['forumid'] == XX"> <div style="margin: 0px; padding: 0px; float: left;"> <img src="images/statusicon/$forum[forumid].gif" alt=""></div> </if> |
#5
|
|||
|
|||
Thanks. It is useful for me too.
|
#6
|
|||
|
|||
Thank you Opserty you are the bomb. Something is showing wrong with this code though....
When entered I receive an error saying: The following error occurred when attempting to evaluate this template: The conditional on line 7 appears to be missing its beginning tag (<if>). This may cause unexpected behavior. This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. When I add <if> which is infront of your <if> I continue to get this same error!!! --------------- Added [DATE]1221627582[/DATE] at [TIME]1221627582[/TIME] --------------- Can someone please look at Opseritys code and let me know what is missing or why I am receiving an error. Thank you in advance |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|