vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Miserable Users for vB3 (https://vborg.vbsupport.ru/showthread.php?t=59727)

enginethatcan't 04-03-2005 01:23 PM

very nice bro, and easy!

LambHyjoo 04-03-2005 02:15 PM

Very nice hack, it works, but I have a little problem : the "Server too busy" page never comes.

I have tuned the code to make it appear, but instead of showing me a "Server too busy" page, it comes blank.

Any idea ?

flee2 04-07-2005 04:46 AM

When i move a user to the group "miserable users" this figures as a BANNED GROUP and the Reputation icon on postbit disappear. exist any way to show the reputation icon on the postbit of users in the usergroup "Miserable".

I want to hide any "evidence" to all forum that show thats this users are "banned" or some likely.

udo 04-09-2005 03:55 PM

@ LambHyjoo

I can confirm that.
If I´m not totally wrong it´s a bug. Seems you cannot call "print_standard_error" from within a template (I think that nees a require_once(include/functions.php))
But I´ve no clue on how to fix that.
By the way I dont get a blank page, but some impressing random garbage.

@flee2

Do not move the user, just add him/her to the misserable user group or change the miserable group settings.

flee2 04-09-2005 05:27 PM

ok, how i do to super moderators to "ban" the users, if i put that is not a banned group, the option to "move" or "add" the miserable users group don't appear.

udo 04-10-2005 07:00 AM

@ LambHyjoo

my idea was wrong :(
to fix it replace
Code:

echo ' ';
with
Code:

echo '';
(or remove it completly)
just above the sleep call.

@ flee2
I see, admincp access is required for that. :(

The Dok 04-14-2005 02:12 PM

Quote:

Originally Posted by mtrac
I don't know if there's already an IP variable in VB that would make this easier, but replacing the above with the following works:

PHP Code:

||$_SERVER['REMOTE_ADDR']=='192.168.0.1' 


What would be the code for numerous IP's?

mtrac 04-17-2005 01:59 AM

Quote:

Originally Posted by The Dok
What would be the code for numerous IP's?

I'm not a PHP expert. There are two ways I know of to approach this.

1. Chain a couple of ORs together
PHP Code:

||$_SERVER['REMOTE_ADDR']=='192.168.0.1' ||$_SERVER['REMOTE_ADDR']=='192.168.100.1' 

2. Use strpos to see if the address is in a string of addresses
PHP Code:

||strpos('192.168.0.1,192.168.100.1'$_SERVER['REMOTE_ADDR']) 

I saw an example at http://us3.php.net/manual/en/function.strpos.php#47322 that uses arrays.

Black88LX50 04-21-2005 04:16 AM

*Installed, thanks!

almqdad 04-21-2005 06:03 AM

hi

is there away to use the member id instead of group id

multiple ids can be seperated by commas

is it not a good idea


All times are GMT. The time now is 12: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.01284 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_php_printable
  • (2)bbcode_quote_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