vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [release] Dynamic Style Set Dropdown (https://vborg.vbsupport.ru/showthread.php?t=85177)

filburt1 11-01-2002 10:00 PM

[release] Dynamic Style Set Dropdown
 
Author: filburt1
Description: Chen's style set dropdown hack, extended description below.
Demo: None yet
Screenshot: http://www.vbulletintemplates.com/mo...=&postid=14502

Be sure to apply this mod to every template set you have! Otherwise the dropdown will disappear when you change style sets.

This is Chen's style dropdown without hacking. Unlike the style set dropdown mod released here, it doesn't require updating the code each time a style set is added/deleted. The tradeoff is that it adds one query to forumhome.

Unlike Chen's hack, this will not show how many people are using each style set (would mean more queries). But, just like his, this does not update your user CP style set, it only cookies you with a new style set.

filburt1 11-02-2002 03:43 PM

Screenshot:

Breaker 11-02-2002 03:51 PM

I've been looking for this for about 2months i had to create in manually :D

filburt1 11-02-2002 03:52 PM

I did it in an hour :p

LiL pImPsTeR 11-02-2002 08:32 PM

theres already a hack like this, but u did it very very differentlly :)

filburt1 11-02-2002 08:34 PM

I know there's a hack but the point is that this doesn't require hacking.

Unless you're talking about the existing template mod here which I already said how this one is far superi--I mean, different--than that one ;)

Tony G 11-02-2002 10:06 PM

The one released before this one here needed manual updating of the dropdown. The hack is like this one but requires file hacking. This mod does the same thing but only via template modifying.

Hope that helps. Nice mod. :)

Obi-Wan 11-03-2002 02:15 PM

Nice job m8

Smoothie 11-04-2002 01:09 AM

Just saved 1 query on forumhome by using this instead of Chens style dropdown hack

filburt1 11-04-2002 01:10 AM

Well the extra query Chen probably used would be for the user table to find out how many people were using the style set...:)


All times are GMT. The time now is 01:53 PM.

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.01177 seconds
  • Memory Usage 1,728KB
  • 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
  • (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