The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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 |
#12
|
|||
|
|||
How would i get this so the images appear right aligned after the forum description?
edit: nm done it |
#13
|
|||
|
|||
nice hack
I installed it and I got the Forum Name showing twice. anyway around this? Forum is an Arabic. |
#14
|
|||
|
|||
Any way of adding the forum title as the ALT tag?
|
#15
|
|||
|
|||
Found it. lol You add
Code:
alt="$forum[title]" |
#16
|
||||
|
||||
how do you achieve this?
|
#17
|
||||
|
||||
Please Help
|
#18
|
||||
|
||||
Quote:
other thing is for one reason or an other I lost the mouse radio sellection click and seem now only working with the wheel to sellect language and multi menu tad boxes great hack |
#19
|
|||
|
|||
I got error when i go modify forumhome_forumbit_level2_post
Quote:
Code:
<tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> $childforumbits |
#20
|
|||
|
|||
Hi ,
I've got the same error please have a version for vbb 3.7.x Thanks |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|