Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Release - Gamma] Advanced Custom Forum Status Icon Mod Details »»
[Release - Gamma] Advanced Custom Forum Status Icon Mod
Version: 1.00, by Matrixgl Matrixgl is offline
Developer Last Online: May 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-15-2003 Last Update: Never Installs: 7
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-18-2003, 06:55 PM
Matrixgl Matrixgl is offline
 
Join Date: Sep 2002
Location: Canada
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Faranth
theres another trick to do this that requires absolutly no conditionals
Faranth, we would love it if you share the trick with us

Thank you everyone for the compliments, I am glad that you like it
Reply With Quote
  #13  
Old 12-19-2003, 04:26 AM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Faranth
theres another trick to do this that requires absolutly no conditionals
Has no conditionals and no hacking, and allows you to specify only SOME forums to have unique icons? I seriously doubt it.
Reply With Quote
  #14  
Old 12-19-2003, 11:50 AM
Colicab2's Avatar
Colicab2 Colicab2 is offline
 
Join Date: Dec 2002
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #15  
Old 12-19-2003, 01:14 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 12-19-2003, 03:17 PM
Matrixgl Matrixgl is offline
 
Join Date: Sep 2002
Location: Canada
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Originally Posted by MatrixGL
So what that means is you dont have to have every status icons (including the default ones) as seperate files.
So to make the hack more user friendly and more convienent, I have decided to use the conditional statements, to make it "Advanced"
Reply With Quote
  #17  
Old 12-19-2003, 04:08 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #18  
Old 12-19-2003, 07:27 PM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #19  
Old 12-19-2003, 08:08 PM
Asterik's Avatar
Asterik Asterik is offline
 
Join Date: Jul 2003
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, great job Matrixgl Im lovin it.

Faranth: Keep ur bullshit 2 urself >_>
Reply With Quote
  #20  
Old 12-19-2003, 08:12 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Asterik thats uncalled for, i was only offering another option if you feel my posts are bullshit please use the ignore feature
Reply With Quote
  #21  
Old 12-19-2003, 08:45 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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" />
to
Code:
<img src="images/tiles/$forum[forumid]$forum[statusicon].gif" alt="" border="0" />
then I create a folder images/tiles and put gifs in there 01new.gif 01old.gif, 02new.gif, 02old.gif, etc.


There can never be enough vB3 hacks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04614 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete