vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vB.org Style Chooser (https://vborg.vbsupport.ru/showthread.php?t=249463)

MoMan 08-27-2010 11:28 PM

vB.org Style Chooser
 
I would like to implement a style switcher on my site similar to what vB.org has, but I haven't been able to find any information about how it is implemented. Does anyone have any pointers?

At the moment, I have my icons set up just like they are here (except that I decided to ditch the fixed-width skin), but the all link to index.php?styleid=x rather than using vB's JS function to accomplish the task.

If I had to accomplish this from scratch, I'd probably make a file which takes in a URL and a style id and simply returns a redirect.

kh99 08-28-2010 12:28 AM

This might be useful:

https://vborg.vbsupport.ru/showthrea...ighlight=style

MoMan 08-28-2010 11:55 AM

Seems like that just relocates the dropdown.

kh99 08-28-2010 12:00 PM

Quote:

Originally Posted by MoMan (Post 2090677)
Seems like that just relocates the dropdown.

Oh, yeah probably. Sorry, I guess I misunderstood what you wanted and thought you were looking for the JS code.


All times are GMT. The time now is 02:31 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.01012 seconds
  • Memory Usage 1,712KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete