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)
-   -   An alternative to banning: Miserable Users (https://vborg.vbsupport.ru/showthread.php?t=49810)

TheEDIGuy 03-14-2003 11:20 PM

I installed, and changed some of the random values, but I'm getting this:

Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site1/fst/var/www/html/forums/global.php:366) in /home/virtual/site1/fst/var/www/html/forums/showthread.php on line 151

Not every time, just once in a while.

Rick 03-15-2003 02:43 AM

Help... I tried to install this twice and I don't see anywhere in the Admin CP to implement it. I am running 2.2.8.

No errors.

TIA,

Rick

Zzed 03-15-2003 04:05 AM

The file used by admin CP is admin/user.php...

Rick 03-15-2003 05:39 AM

Ok, I got it to say "List Miserable Users" at the top of the user.php page when it's accessed. But how do I make a user miserable? Where is the "switch" for that?

Zzed 03-15-2003 05:42 AM

Quote:

Today at 11:39 PM Rick said this in Post #75
Ok, I got it to say "List Miserable Users" at the top of the user.php page when it's accessed. But how do I make a user miserable? Where is the "switch" for that?
When you edit a user's profile in the admin CP. ;)

TheEDIGuy 03-15-2003 12:03 PM

Quote:

Yesterday at 08:20 PM TheEDIGuy said this in Post #72
I installed, and changed some of the random values, but I'm getting this:

Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site1/fst/var/www/html/forums/global.php:366) in /home/virtual/site1/fst/var/www/html/forums/showthread.php on line 151

Not every time, just once in a while.


I should clarify, I made myself a Miserable User, and after the delay, this is what I see most of the time. Is this SUPPOSED to appear?

TheVoidz 03-15-2003 02:46 PM

Zzed, I feel sorry for members that get in the way on your boards :laugh:. Although great hack.

Craigr 03-15-2003 04:55 PM

I've now installed this hack as well as making the user unable to logout.

Fun. :D

Craig

Zzed 03-16-2003 08:36 AM

Quote:

Yesterday at 08:46 AM TheVoidz said this in Post #78
Zzed, I feel sorry for members that get in the way on your boards :laugh:. Although great hack.
LOL :D

They get struck by plenty more than just misery. :D

Zzed 03-16-2003 05:30 PM

Quote:

Today at 05:13 AM maoz440 said this in Post #81


As of this time I do not have access to the MySQL prompt, can anyone write a little script to do this for me? Thanks :D

maoz


Create a new ,php file in your forums directory and copy the following lines in there. Save the file, execute it one time and delete. ;)

PHP Code:

<?php
error_reporting
(7);

require(
"./global.php");
$DB_site->query("alter table user add miserable smallint(5) unsigned DEFAULT 0 NOT NULL;");
?>



All times are GMT. The time now is 10:46 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.01277 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
  • (1)bbcode_php_printable
  • (4)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