![]() |
[Release - Gamma] Advanced Custom Forum Status Icon Mod
Author:
Matrix aka Habib Ahsan Description: Basically, what this template mod does is it replaces the current forum status icons with custom ones of your choice. Thanks to the condition statements of vBulletin 3, you can choose which forums to have custom icons and which ones to not. So what that means is you dont have to have every status icons (including the default ones) as seperate files. Also, this way, you can have both on and off icons, rather than having only one state. Inspired by TheAnt06 "Custom Icon Per Forum" mod. Demo: http://forums.gamerzlive.com/?styleid=20 Screenshot: Attached |
Thanks thats it's very interesting thing, I try to install on my test board before !!
Thanks for your taff ! |
Thanks alot! I'm gonna need this mod eventually ^__^
|
thanks, good job :)
|
Thanks alot this is awesome! This will work perfectly for some things I'm doing.
|
This looks totally sweet.
Thanks alot! I'll mos' def' look into this! |
We have 15 subforums and i can't figure out how to implement these extra icons in this script. Could you make a sort of 'etc lines' so i can see how extra on/off buttons must be placed? Great addon. :)
|
yay!!! will use in the near future!
|
theres another trick to do this that requires absolutly no conditionals
|
Quote:
PHP Code:
PHP Code:
Quote:
|
Quote:
Thank you everyone for the compliments, I am glad that you like it :) |
Quote:
|
GEnius i was half wy thru trying to write version of this for use on ao3 (my sites new design) cause im gonna use it so that each of the forums had a diff part of the image table surrounding them change
|
yes thats right no hacking and only allows certain forums to have differnt icons, very simple isnt it :P actuallty its lready been done at vbnl feldon came up with the trick
theres really a few differnt ways to do it prefix or addd it as a folder or somthing $stylevar[imgdir_statusicon]/$forumid/$forum[statusicon].gif or $stylevar[imgdir_xxx]/$forumid_$forum[statusicon].gif now either you need to make some extra folders OR make some extra files. but either way it requires no condtionals and no hacking :) just renaming and extra files :) |
Well, when you said no hacking, I thought you meant no template edits, because your hack and mine does the same template edits, but mine requires more coding. And IMO, your one requires more work as you need to make so many copies of the base images.
TheAnt wrote a hack similar to the one that you mentioned, and I decided to write mine because I didnt think that was convienent enough. IMO, it is not a very good way of doing this. I think its too much work, and whenever you add a new forum, you will need extra icons even if you dont want those to be customized. And communities with more than 20 forums will have a lot of images. And if you have more than one style, its twice as much as work. Quote:
|
when i refer to hacking im refering to file changes
yours and mine are just as dynamic. now what if you want every forum to have its own icon? you now have a problem of writing 40 if statments |
We already know about the old way of doing it. But this was an advaced way that allowed some to have custom icons and others to not (and use the same image instaed of having tons of repetitive graphics)
Faranth, I see no reason for you to blow your own trumpet. Thank you for releasing your template mod, but this is not the thread for your template mod. This one approaches the problem with a different solution and I commend Matrixgl for doing it. Thanks, Matrixgl. |
Yes, great job Matrixgl ;) Im lovin it.
Faranth: Keep ur bullshit 2 urself >_> |
Asterik thats uncalled for, i was only offering another option :) if you feel my posts are bullshit please use the ignore feature
|
Ok, let's not kill each other.
You can add per-forum icons with 1 template change, but then you'll need icons for each forum... In template forumhome_forumbit_level2_post, I changed Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /> Code:
<img src="images/tiles/$forum[forumid]$forum[statusicon].gif" alt="" border="0" /> There can never be enough vB3 hacks. :) |
lol nah, i was just messin ;) I must not've posted enough here yet for people 2 know that 99% of my comments r joking or witty :P
|
Great Hack, exactly what I was looking for :)
|
I need to do this for my site, basically I want to have it use the same on and off icon for the areas that do not have a custom icon, and use the custom icon for that area if it has one. Would I have to add on and off icons for each section? I really dont want to do it that way :-/ Suggestions?
|
thanks...
|
All times are GMT. The time now is 06:11 AM. |
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:
|