The Arcive of vBulletin Modifications Site. |
|
Add Icons to ForumHome or/and Forumdisplay by Uploaded images Details »»
|
|||||||||||||||||||||||||||
|
Add Icons to ForumHome or/and Forumdisplay by Uploaded images
Developer Last Online: Mar 2013
I've just read this Thread (https://vborg.vbsupport.ru/showthread.php?p=1306419) by powerful_rogue .
Then I think that no one did this way before. So here is the tutorial. Open template forumhome_forumbit_level2_post => For Forumhome only! Find: HTML Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> HTML Code:
<! -- forum icon by www.vuiveclub.net --> <if condition="THIS_SCRIPT === 'index'"> <table> <tr> <td> <img border="0" width="60" height="60" src="images/$forumid.gif"/> </td></if> <td> <! -- / end forum icon --> </if> HTML Code:
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> HTML Code:
<! -- end forum icon by www.vuiveclub.net --> <if condition="THIS_SCRIPT === 'index'"> </tr> </table> </td> </if> <!-- / end forum icon --> Make sure that these 2 conditionals are the same! For Forumdisplay too - edit template forumhome_forumbit_level1_post Find: HTML Code:
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> <td> <div> HTML Code:
<!-- forum icon --> <table> <tr> <td> <img src="images/$forumid.gif" border="0" width="60" height="60" align="left" /> <!-- / forum icon --> HTML Code:
</td> <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> HTML Code:
<!-- end forum icon --> </td></tr></table><!-- / end forum icon --> (Change images/ to your own folder) If you wanna Show Icons for Forumhome, Forumdisplay and sub-Forumdisplay - Delete conditionals Show Icons on Forumhome only - Leave these conditions default Show Icons on Forumdisplay only - Do not Edit forumhome_forumbit_level2_post, edit forumhome_forumbit_level1_post only. And more ? ![]() Demo: http://www.vuiveclub.net/diendan/ PS: Sorry for my Bad English If you don't understand anything, reply here!Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Nice mod, reserved!
|
|
#3
|
||||
|
||||
|
Changing your conditional to simply state:
<if condition="THIS_SCRIPT === 'index'"> Will get you the same results and probably be a lot less resource intensive. Instead of two function calls within an IF statement, you just have the comparison you want. |
|
#4
|
|||
|
|||
|
Great hack. Thanks vuiveclub. Will install soon.
|
|
#5
|
|||
|
|||
|
|
|
#6
|
|||
|
|||
|
what names should i name my icons, so that they should be viewed?
thanks |
|
#7
|
|||
|
|||
|
Quote:
* represents the number of your forum. |
|
#8
|
|||
|
|||
|
i tried but nothing happened only x appears
|
|
#9
|
|||
|
|||
|
what templates should i edit, the first 2 only or the all 4..
|
|
#10
|
|||
|
|||
|
Are you placing the images in the forum_root/images folder?
forumhome_forumbit_level2_post forumhome_forumbit_level1_post Those two should do the job nicely. |
![]() |
|
|