vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Change Style Drop-Down (https://vborg.vbsupport.ru/showthread.php?t=33418)

patvdv 01-29-2002 12:13 PM

never mind the previous post. I solved the problem :)

My second remark still stands. I have 7 styles and can only see 3 of them as only 3 of them are currently in use. At the same time I would still like to see how many users are using which style.

monitox 02-01-2002 04:08 PM

Well.. the hack works ok ONLY on the main page of this forum !?
I tryed and have same problems.. doesn't show OK the number of users wich use a style :(

Anyone can help me with AN WORKING version ? Just like this one from here !? Pls :(

PS: from over 600 members ONLY 32 are using the "default" template and 2 the second one :stoned:
I want to see exactly HOW MANY users are using the templates..:(

Justice 02-05-2002 02:34 AM

is there a way I can add this hack and make it unknown how many people are using the default style? In other words, let's say I don't want my user total to be so obvious, and I have...

default (all others)
style 1 (10 users)
style 2 (15 users)
etc.

I'm guessing this can be done by a simple If statement, but I'm not as proficient as I'd like to be.

TELEK 02-06-2002 02:34 AM

This Hack only shows User-selectable styles right? Because I have a lot of Styles for certain sections of the Board that aren't user selectable anc I don't want those showing up in there.

Admin 02-06-2002 06:37 AM

Yes TELEK.

cihangir 02-09-2002 10:25 PM

[QUOTE]Originally posted by monitox
Well.. the hack works ok ONLY on the main page of this forum !?
I tryed and have same problems.. doesn't show OK the number of users wich use a style :(

Anyone can help me with AN WORKING version ? Just like this one from here !? Pls :(

PS: from over 600 members ONLY 32 are using the "default" template and 2 the second one :stoned:
I want to see exactly HOW MANY users are using the templates..:(


cihangir 02-10-2002 06:35 AM

i ran this query: UPDATE user SET styleid='1'

it works now :)

Birdie501 03-01-2002 06:44 AM

Hi,

could it be that you can only choose a style if at least one member choosed this in his user cp options?

I installed the hack! All the 4 test members just had the default in her options. So in the style drop down there was only the default style shown! Then i changed the style in the options of member A! Then it was also shown in forumhome!???

Is that normal?

+Thanks

Admin 03-01-2002 11:22 AM

Try changing this:
Code:

$allstyles=$DB_site->query("SELECT style.title, user.styleid, COUNT(*) AS count FROM user LEFT JOIN style USING (styleid) WHERE style.styleid IS NOT NULL AND style.userselect=1 GROUP BY user.styleid");
to this:
Code:

$allstyles=$DB_site->query("SELECT style.title, user.styleid, COUNT(*) AS count FROM style LEFT JOIN user USING (styleid) WHERE style.userselect=1 GROUP BY user.styleid");

Jakeman 03-02-2002 05:36 AM

installed the "user option changing" version that is attached mid-way through this thread. works fine. jake happy.


All times are GMT. The time now is 07:58 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.01166 seconds
  • Memory Usage 1,732KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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