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)

Tigga 03-11-2003 01:46 AM

Great idea Zzed! There are a few people on my site that I can't really ban because of (for lack of a better term) political reasons. At least with this I can make their lives a little more *miserable* though. :D

ITALY! 03-11-2003 02:07 AM

wow, great hack :D
wow :D

Vile 03-11-2003 02:15 AM

Excellent idea.

Thanks for sharing this great hack :)

@Zzed:

Would it be possible to make it so Moderators can use this option, or can they already do so?

Zzed 03-11-2003 05:20 AM

Thank you again for all your kind replies. I almost fell off my chair laughing from some of the replies. :D

-Sidekick-, This hack was inspired by hate. :D

Vile, Yes there is. I have yet another unpublished hack that allows moderators to ban users. ;)

Talisman 03-11-2003 06:22 AM

Way cool. This will come in handy.

Ghostsuit 03-12-2003 12:29 AM

I'm going to love installing this one ;)

Areku 03-12-2003 02:33 PM

Far Far better than banning!!!

I'll install!!

Zzed 03-12-2003 03:54 PM

Quote:

Originally posted by maoz440
Sweet hack :D I now just have to get access to mysql's prompt, my server guys guard it closely :rolleyes: Also - is there a way to hide the fact that a user is suffering from this torture from my moderators? I have a couple people I'd like to implement this on without my moderators knowing it (politics :rolleyes: ).

Thanks for the hack!

Change this:
PHP Code:

  $onlinestat "";
  if((
$post[miserable] == 1) || ($post[stunned] & 4)){
    if((
$bbuserinfo[usergroupid] == 5) or ($bbuserinfo[usergroupid] == 6) or ($bbuserinfo[usergroupid] == 7)) {
      
$onlinestat "$onlinestat<br><font color=\"red\"><b>Miserable User</b></font>";
    }
  } 

To This:
PHP Code:

  $onlinestat "";
  if((
$post[miserable] == 1) || ($post[stunned] & 4)){
    if(
$bbuserinfo[usergroupid] == 6) {
      
$onlinestat "$onlinestat<br><font color=\"red\"><b>Miserable User</b></font>";
    }
  } 

And it will be visible only to the admins. ;)

drumsy 03-12-2003 09:14 PM

Is there any support to make this 2.2.8 compatible?

Zzed 03-12-2003 09:18 PM

I made this hack back in the 2.2.5 - 2.2.6 days.

You should not have any problems installing for 2.2.8.

Let me know have any problems.

drumsy 03-12-2003 09:57 PM

Quote:

Originally posted by Zzed
I made this hack back in the 2.2.5 - 2.2.6 days.

You should not have any problems installing for 2.2.8.

Let me know have any problems.

My apologies, one of my core files ftp'ed incorrectly and was spaced improperly. Installed and functional! :)

Zachery 03-13-2003 02:45 AM

ill get around to installing this later, i would love this for vb3 when (if) its released

ImportPassion 03-13-2003 07:21 PM

Does this have any affect on server load or anything related?

D

Zzed 03-13-2003 07:30 PM

Since it makes calls to the sleep function, it should not impose anything on the server. ;)

ImportPassion 03-13-2003 07:38 PM

i installed it. damn this is funny shiznet. :D

Boofo 03-13-2003 07:40 PM

Ok, Zzed, where's the other one you told us about? ;)

Zzed 03-13-2003 08:17 PM

Quote:

Today at 01:40 PM Boofo said this in Post #57
Ok, Zzed, where's the other one you told us about? ;)
LOL @ Boofo... :D

I have not released that one yet.

I am going to be known as the most sadistic hack maker on VB.org... :D

Here is a sneak preview of what the other hack looks like. ;)

Forum View
Thread View

It kills people having to deal with no images and being limited to only 20 characters per post. :D

Boofo 03-13-2003 08:33 PM

I got to have this one, BUDDY!!! (How's that for sucking up? I have no pride. ;)). April 1st is on it's way here and I am doing an April Fool's joke hack and this would fit in nicely. ;)

Zzed 03-13-2003 08:49 PM

Quote:

Today at 02:33 PM Boofo said this in Post #59
I got to have this one, BUDDY!!! (How's that for sucking up? I have no pride. ;)). April 1st is on it's way here and I am doing an April Fool's joke hack and this would fit in nicely. ;)
You freak. :D:D:D

Ok, I will release it in the next few days. :)

Boofo 03-13-2003 09:12 PM

Yes, I am a freak. I need my freak fix. And you are the only one who seems to be able to satisfy that anymore. ;) Be looking forward to it.

Zzed 03-13-2003 09:18 PM

http://www.ls1.com/.zed/lmao.gif

Will do. ;)

cybermomcafe 03-13-2003 10:27 PM

ummm maybe i'm doing something wrong, but when I run the sql query

"alter table user add miserable smallint(5) unsigned DEFAULT 0 NOT NULL;"

I get the error message:

You have an error in your SQL syntax near 'DEFAULT0 NOT NULL ' at line 1??

Boofo 03-13-2003 10:29 PM

Try this:

alter table user add miserable smallint(5) unsigned DEFAULT '0' NOT NULL;

cybermomcafe 03-13-2003 10:34 PM

Thanks! i'm new at the hack thing LOL :)

Boofo 03-13-2003 10:36 PM

No problem. We have all been there. ;)

cybermomcafe 03-13-2003 10:52 PM

tee hee.... me likes

(hadda test it out... had to clear my cookies to be able to even log out LOL)

Zzed 03-14-2003 01:33 AM

Quote:

Today at 04:52 PM cybermomcafe said this in Post #67
tee hee.... me likes

(hadda test it out... had to clear my cookies to be able to even log out LOL)


LOL :D

You can always try and log into your Admin CP to get around the misery hack, and set yourself back to normal. ;)

CJi 03-14-2003 05:46 PM

ROFL! This is perfect! Well done...!

Judo Gno 03-14-2003 09:00 PM

OMG, what a great hack. This is awesome. Thank you very much for this. We installed it today and it already has a few very deserving victems. lol

TheEDIGuy 03-14-2003 10:39 PM

I'm going to install this, because we have a few users who connect from a large number of different IP's so we can't ban them. It would be even better if we could set a level of how miserable we want the user. Like 1 for just the occasional error and short delays, or 10 for full-on misery.

Great hack, my mods are begging me to install!

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 04:21 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.01714 seconds
  • Memory Usage 1,823KB
  • 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
  • (3)bbcode_php_printable
  • (9)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
  • (40)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