The Arcive of vBulletin Modifications Site. |
|
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 |
|
#2
|
|||
|
|||
|
Great. Will have to lookinto this. as this may come in use.
|
|
#3
|
||||
|
||||
|
That other user didn't mark his code as reusable. Did you obtain permission before releasing this?
|
|
#4
|
|||
|
|||
|
nice..
|
|
#5
|
|||
|
|||
|
Quote:
thanks for the thanks :P this is one of my first mod that I share with the community |
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
|||
|
|||
|
my mod is the replacing of some rows of a templates...
i specified that the product is of another person.. well guys, i'm a coder, and i spent time for doing this mod for me, and i decided to share my work with the community spending other time... so, I do not care to spend time to be criticized by you, then tell me, and i remove this mod... You are a community of ungrateful thanks a lot! |
|
#8
|
|||
|
|||
|
i edited the mod, read at the top..
|
|
#9
|
|||
|
|||
|
not working uninstalled on 4.01
|
|
#10
|
||||
|
||||
|
It worked and I like it but can we add some more things to this.
1) the pictures need to be bigger for each of the Forums, how to make them show bigger? 2) i don't like the way the picture is so faded when it is a case that the Forum contain old posts only. I'd like the picture to be bright and clear always the same as when there are new posts. |
![]() |
|
|