vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Restrict search when the server load is high (https://vborg.vbsupport.ru/showthread.php?t=102882)

Mudvayne 09-26-2006 05:35 PM

Sorry but is this work with vB 3.6.1 ? Also same question as Bofoo.

Cybershaolin 12-12-2006 12:39 AM

Quote:

Originally Posted by UK Jimbo (Post 899818)
Replace

Code:

if (( $vbulletin->userinfo['usergroupid'] <> 6  ) )
with

Code:

if (( $vbulletin->userinfo['usergroupid'] <> 6  && $vbulletin->userinfo['userid'] != 12345 ) )
where 12345 is your other users's id

What about if the other groups I have are 5,7,9 and 13? How would I put that in the last part of the code?

Also, is this working with 3.6.4?

Hornstar 07-23-2007 03:45 AM

Quote:

Originally Posted by UK Jimbo (Post 899818)
Replace

Code:

if (( $vbulletin->userinfo['usergroupid'] <> 6  ) )
with

Code:

if (( $vbulletin->userinfo['usergroupid'] <> 6  && $vbulletin->userinfo['userid'] != 12345 ) )
where 12345 is your other users's id

Thanks, but do I just put commas in? 1, 2, 3, 4, 5 ) or something else?

Thanks.

UK Jimbo 07-23-2007 06:21 AM

what are you trying to do?

dtv100 12-12-2007 03:57 PM

can this work with 3.6.8?

eido 04-01-2008 06:32 PM

Quote:

Originally Posted by dtv100 (Post 1399928)
can this work with 3.6.8?

can it??

Hornstar 11-07-2008 09:24 PM

do you still intend to do the next version?

Medtech 12-06-2008 10:40 PM

Installed on vb 3.8.0 candidate1, lets see if it works properly.

d.j.carusso 12-28-2008 03:25 PM

I received this message on vb 3.6.10

Parse error: syntax error, unexpected ',' in /home/----------/public_html/search.php(1773) : eval()'d code on line 8

I put users with commas.
Do somebody knows what is problem ?

Artes_Marciales 01-08-2009 07:11 AM

Great mod
?it work on 3.7?? :confused:

Thanks!!


All times are GMT. The time now is 05:39 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.03066 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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