vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   [Release - Gamma] Advanced Custom Forum Status Icon Mod (https://vborg.vbsupport.ru/showthread.php?t=88330)

Matrixgl 12-15-2003 10:00 PM

[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

Luciolle 12-16-2003 10:17 AM

Thanks thats it's very interesting thing, I try to install on my test board before !!

Thanks for your taff !

Cassidy 12-16-2003 03:45 PM

Thanks alot! I'm gonna need this mod eventually ^__^

imported_Socrate47 12-16-2003 03:51 PM

thanks, good job :)

PennylessZ28 12-16-2003 06:05 PM

Thanks alot this is awesome! This will work perfectly for some things I'm doing.

Bad Bunny 12-16-2003 06:36 PM

This looks totally sweet.
Thanks alot! I'll mos' def' look into this!

NuclioN 12-18-2003 01:47 PM

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. :)

idwf 12-18-2003 04:11 PM

yay!!! will use in the near future!

Zachery 12-18-2003 05:01 PM

theres another trick to do this that requires absolutly no conditionals

Matrixgl 12-18-2003 06:53 PM

Quote:

Originally Posted by NuclioN
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.

You have to edit the condition part.

PHP Code:

<if condition "$forum[forumid] == 'xx' or $forum[forumid] == 'xx' or $forum[forumid] == 'xx' "

you have to repeat the following piece of code in between the last [ ' ] and [ " ] for every extra forum you want.

PHP Code:

or $forum[forumid] == 'xx' 

Heres an example:
Quote:

<if condition="$forum[forumid] == 'xx' or $forum[forumid] == 'xx' or $forum[forumid] == 'xx' or $forum[forumid] == 'xx' or $forum[forumid] == 'xx' ">


All times are GMT. The time now is 11:09 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
  • Page Generation 0.01145 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete