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-16-2002 12:17 AM

No offense but I think you are. The query will always return an alphabetical listing of style sets and their ids.

Run the query in PMA or the MySQL console and you'll see what phpinclude is getting and parsing to create the dropdown.

stark427 11-16-2002 12:21 AM

No offense at all by me :)
I appreciate it that you sit here and help me on this... but I admit that now I'm even more confused...


Quote:

Originally posted by filburt1
The query will always return an alphabetical listing of style sets and their ids.

what does this mean? That it displays the styles according to their IDs or according to the first letter? (alphabetically)...

sorry but my English is not so good so I dont easily understand :(

filburt1 11-16-2002 12:26 AM

It sorts it by title alphabetically, but it probably would get confused by different case (i.e., uppercase and lowercase) and sort them differently.

stark427 11-16-2002 12:45 AM

Ok.

The "thing" in my case is that I cannot really reproduce the... problem...
because back when I had the "Blue" as default... it would be displayed first *anyway* because the name starts with "b" which is a letter alphabeticaly first in the order than D and E.

But what I have done is that I placed those numbers in front of the style names... so I guess now I'm ok...

thanx for the support Filburt
I really appreciate it.

alkatraz 11-17-2002 05:35 AM

works great thx!

I added it to my header though so it can be changed on any page. =)

Zehlek 11-18-2002 12:06 AM

Thanks a lot Now me and my members don't have to go into my usercp whenever I put in a new style to view it.

filburt1 11-18-2002 12:16 AM

They really should though because this is just a cheap hack. Updating your User CP pref will always stick, this will not.

kj187 11-19-2002 10:52 AM

Great

Gibts in addition one chop where one on a new side to see can which
user of which Style benuzt??

Gibts dazu einen Hack wo man auf einer neuen Seite sehen kann welcher User Welches Style benuzt ??

filburt1 11-19-2002 02:27 PM

English?

stark427 11-20-2002 12:52 AM

Quote:

Originally posted by stark427
Filburt.

I'd like the combo box to have as default text (unselectable) the text "choose style"...
instead of a style name...

so when a guest or a member sees the board, the thing he sees in the box is *not* a style name, but the text "choose style"

can we do this?

Filburt

do you think we could do this? :)


All times are GMT. The time now is 12:49 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.01027 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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