vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Where can I find the contents of $quickchooserbits? (https://vborg.vbsupport.ru/showthread.php?t=207360)

Merriweather 03-04-2009 05:57 PM

Where can I find the contents of $quickchooserbits?
 
Title says it all. :)

Thank you!

Lynne 03-04-2009 06:08 PM

Do a search in your vb files (you should definitely use an editor that does this!) for "$quickchooserbits" and you'll find it is defined in the file global.php. But, it's also defined for the datastore in datastore_cache.php.

Merriweather 03-04-2009 10:17 PM

Thank you. I wasn't even thinking of the files, I was just thinking templates... duh!

But, what I was looking for wasn't there, unfortunately.

If I can even figure out how to explain what I am doing, I will post and hopefully someone can help! :)

mmoore5553 03-05-2009 12:42 AM

i am curious what you are trying to do lol

Merriweather 03-05-2009 03:30 AM

I built my own style selector similar to what is here on vB.org. It has little square images as the preview of the style, and it changes the style when you click one. I based it off of the standard quick chooser drop down menu form.

The only thing that isn't working is that when you choose one, it goes back to the home page instead of reloading the existing page with the new style. I can't figure out why, since I've essentially copied all of the code for the changer... I thought perhaps there was something extra in the $quickchooserbits that would make it all make sense, but no luck.

The form action is:

Code:

<form action="$vboptions[forumhome].php" method="get" style="clear:$stylevar[left]">
...which clearly calls the forum index... but I am just stumped because that's what the default quick chooser uses...

mmoore5553 03-05-2010 02:55 PM

Oh i see ..i would have to see this in action and test it out on my board.


All times are GMT. The time now is 04:44 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.01059 seconds
  • Memory Usage 1,716KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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