The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Status Icons - Different Images for each Forum with opacity! Details »» | |||||||||||||||||||||||||||||
Status Icons - Different Images for each Forum with opacity!
Developer Last Online: Feb 2015
If you want to have different images for each forum that you have created inside your vbulletin board as you can see in this two picture:
Before (pay attention: there are some category with opacity 0.5: this are the category with old threads) After (firefox icon is changed) For doing this you have to install before this Add-on: Forum Icons (I put as attachment the product that you need) BUT 1. Install only the product 2. Go Into Admincp --> Forum and Moderators; Modify each forum putting the path of each image where it says "Add the path to the icon image here." 3. Go Into Admincp --> Styles and Templates --> Manage Templates; Edit forumhome_forumbit_level2_post Find: Code:
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" /> Code:
<vb:if condition="$forum['iconlocation']"> <img src="{vb:raw forum.iconlocation}" class="forumicon" alt="{vb:raw forum.title}" style="opacity: <vb:if condition="$forum['statusicon'] == 'old'">0.5<vb:else />1</vb:if>;" id="forum_statusicon_{vb:raw forum.forumid}" /> <vb:else /> <img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" /> </vb:if> If you want, you can change the opacity searching "0.5" in my code. Enjoy it and don't forget to Mark as Installed! Ps: sorry for my bad english, i'm Italian Screenshots
Show Your Support
|
4 благодарности(ей) от: | ||
hanhdn, Insta-Gator, livenetc, nader |
Comments |
#32
|
|||
|
|||
Why doesn't it work in sub forums? Or is it just me? Thanks very much tho!
|
#33
|
|||
|
|||
Anybody?
|
#34
|
|||
|
|||
just installed it on the latest version of vbulletin.
i have the product installed, changed the template and added images to every forum but nothing is displayed, any ideas? |
#35
|
|||
|
|||
Pretty cool, but if this doesn't work for you then go look for 'Forum Icons' in mods. Works on 4.0.2 and adds sub icons next to the new/old post icons.
|
#36
|
|||
|
|||
If you want this modification to work also with the sub-forums.
Please, follow the next instructions. Go Into Admincp --> Styles and Templates --> Manage Templates; Edit forumhome_forumbit_level1_post FIND: Code:
{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" /> REPLACE WITH: Code:
<vb:if condition="$forum['iconlocation']"> <img src="{vb:raw forum.iconlocation}" class="forumicon" alt="{vb:raw forum.title}" style="opacity: <vb:if condition="$forum['statusicon'] == 'old'">0.5<vb:else />1</vb:if>;" id="forum_statusicon_{vb:raw forum.forumid}" /> <vb:else /> <img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" /> </vb:if> |
#37
|
|||
|
|||
thanks medina.. thats really helpful..\
i have a question though.. how can we increase or decrease the statusicon size?? i think by default its 48x48 |
#38
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showpost....1&postcount=14 |
#39
|
|||
|
|||
thanks man ..
|
#40
|
||||
|
||||
Quote:
Do you have a screen shot showing it working? |
#41
|
|||
|
|||
it doesnt work for me either.. it hides that default image but the new image is not showing up even though i have put the img address in forum manager
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|