![]() |
Add Icons to ForumHome or/and Forumdisplay by Uploaded images
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 --> HTML Code:
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> HTML Code:
<! -- end forum icon by www.vuiveclub.net --> 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> HTML Code:
<!-- forum icon --> HTML Code:
</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 ? :confused: Demo: http://www.vuiveclub.net/diendan/ PS: Sorry for my Bad English :D If you don't understand anything, reply here! |
Nice mod, reserved! :)
|
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. |
Great hack. Thanks vuiveclub. Will install soon.
|
|
what names should i name my icons, so that they should be viewed?
thanks |
Quote:
* represents the number of your forum. |
i tried but nothing happened only x appears
|
what templates should i edit, the first 2 only or the all 4..
|
Are you placing the images in the forum_root/images folder?
Quote:
forumhome_forumbit_level1_post Those two should do the job nicely. |
All times are GMT. The time now is 04:30 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:
|