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)
-   -   Exempt all administrators, supermoderators, and moderators from server load messages (https://vborg.vbsupport.ru/showthread.php?t=56630)

X-Fan 09-17-2003 08:54 AM

Well the install instructions were pretty simple. I doubt anyone could follow them incorrectly, so I really don't know what it could be.

JonP 09-17-2003 08:32 PM

Doesn't work for me either. Installed correctly.

Gary King 09-17-2003 08:35 PM

Quote:

Originally Posted by JonP
Doesn't work for me either. Installed correctly.

What problem do you have after installation?

JonP 09-18-2003 04:49 PM

The server load message appears for everybody, including administrators, which is of course supposed to be off by default.

Perhaps there is a setting which overrides this? Or maybe there is an inconsistency with grabbing the user levels from the style?

Any help to resolve this is greatly appreciated. Thanks.

Gary King 09-18-2003 07:15 PM

Quote:

Originally Posted by JonP
The server load message appears for everybody, including administrators, which is of course supposed to be off by default.

Perhaps there is a setting which overrides this? Or maybe there is an inconsistency with grabbing the user levels from the style?

Any help to resolve this is greatly appreciated. Thanks.

That's pretty strange, the modification works fine for me (just re-tested it now.)

rikku3978 03-09-2004 01:37 AM

Is there a way to get it to work with regular users also?

Gary King 03-09-2004 11:16 AM

Quote:

Originally Posted by rikku3978
Is there a way to get it to work with regular users also?

Replace
PHP Code:

if ($servertoobusy AND $bbuserinfo['usergroupid'] != AND $bbuserinfo['usergroupid'] != AND $bbuserinfo['usergroupid'] != 7) { 

with
PHP Code:

if ($servertoobusy AND $bbuserinfo['usergroupid'] != AND $bbuserinfo['usergroupid'] != AND $bbuserinfo['usergroupid'] != and $bbuserinfo[usergroupid] != 2) { 


huss 03-10-2004 09:34 PM

its not working for me either.
sould there be parens around the user groups and the ands in those parens become ors?

huss 03-10-2004 10:13 PM

this is my code

if ($servertoobusy and $bbuserinfo['usergroupid'] != 6 and $bbuserinfo['usergroupid'] != 5 and $bbuserinfo['usergroupid'] != 132 and $bbuserinfo['usergroupid'] != 137) {

where the usergroups you don't recognize are my subscribers who pay for this priveldge. it used to work and today stopped when i upgraded to 2.34

Gary King 03-10-2004 10:57 PM

Quote:

Originally Posted by huss
this is my code

if ($servertoobusy and $bbuserinfo['usergroupid'] != 6 and $bbuserinfo['usergroupid'] != 5 and $bbuserinfo['usergroupid'] != 132 and $bbuserinfo['usergroupid'] != 137) {

where the usergroups you don't recognize are my subscribers who pay for this priveldge. it used to work and today stopped when i upgraded to 2.34

Wow you sure have a lot of usergroups if you reached 137 :) Anyways, that sounds strange, maybe you replaced the code completely when upgrading and didn't upgrade correctly?


All times are GMT. The time now is 09:52 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.01214 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (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