Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
An alternative to banning: Miserable Users Details »»
An alternative to banning: Miserable Users
Version: 1.00, by Zzed Zzed is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-07-2003 Last Update: Never Installs: 151
 
No support by the author.

This hack is an alternative to banning a user. As the name suggests a user who
gets hit with this hack will become truly miserable while trying to access
your board.

So here is what really happens to a miserable user:

- There is a random 60-120 second delay each time they click on a link.
- 90% of times they have no search engine acccess.
- 75% of the times they get the server too busy error.

If they don't get the server too busy error:
- 50% of the times they may get a blank page
- 30% of the times they may get forwarded to the forum main page
- 20% of the time they may be able to see the page they asked for.

after doing all the math in actuality they have only a 5% chance of seeing the
page they clicked on. What kills them is the time they have to wait before
anything happens.

I actually once tracked a miserable user and watched him suffer for 2 whole
hours before he was able to make a simple post.

This hack is considered one of the most sadistic hacks on my board.

The hack allows you to make your user miserable via the admin CP. It also
allows you to search for all miserable users through the admin CP as well.

Also in showthread.php, it appends a red status that is only visibly to admins
and mods stating that a user is miserable.


Tables affected by this hack: user

Files affected by this hack: global.php, showthread.php, admin/user.php

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 03-19-2003, 09:46 PM
cirisme cirisme is offline
 
Join Date: Jan 2003
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this hack.
Reply With Quote
  #103  
Old 03-20-2003, 06:50 PM
Pikok Pikok is offline
 
Join Date: Jul 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this hack, but I also use the ban by warning hack. Currently when a user reaches a preset number of warning points, they're moved to the banned by warnings group. What I need is to be able set a usergroup as miserable or not, rather than an individual user.

Users aren't allowed to see the warnings list, so they don't know how many points equals a ban. How would I set it up so that if a user is in the banned group they are miserable, but if not they aren't. I may sometimes unban a user (by moving them out of the banned usergroup) at which time I'd need for them to not be miserable any longer (only while in the banned usergroup).

Anyone know how to put an option in the usergroup section of the admin cp where I could set a certain group as miserable or not, as oposed to an individual user? I'd like to have the option listed when a usergroup is created/edited, much like the group permissions are.

Thanks for any help..
Reply With Quote
  #104  
Old 03-20-2003, 06:58 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add this before the if($bbuserinfo[miserable] == 1) code in global.php

PHP Code:
if($bbuserinfo[usergroupid] == $banned_usergroupid) {
  
$bbuserinfo[miserable] = 1;

Where $banned_usergroupid is the usergroup number for your banned users.

It will make all the users who belong to that usergroup miserable as soon as they log into your site.
Reply With Quote
  #105  
Old 03-20-2003, 07:07 PM
Pikok Pikok is offline
 
Join Date: Jul 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the quick response! This is what my global.php looks like now:
PHP Code:
if($bbuserinfo[usergroupid] == 8) {
  
$bbuserinfo[miserable] = 1;
}
if(
$bbuserinfo[miserable] == 1) {
  
$glitch rand(60,120);
  for(
$x 0;$x $glitch;$x++) {
    echo 
" ";
    
sleep(1);
  }
  
$floodchecktime *=10;

  
$glitch rand(0,100);
  if(
glitch 90) {
    
$enablesearches  0;
  }

  
$glitch rand(0,100);
  if(
$glitch 75) {
    eval(
"standarderror(\"".gettemplate('error_toobusy')."\");");
    exit;
  }
  else {
    
$glitch rand(0,100);
    if (
$glitch 80) {
      if (
$glitch 50) {
        exit;
      }
      echo 
"<META HTTP-EQUIV=\"refresh\" CONTENT=\"5; URL=index.php\"> ";
    }
  }

  
$showforumusers  0;
  
$displayloggedin 0;

Just one more question though. If I later move a user out of the banned usergroup, will they automatically be not miserable or do need to add some sort of elseif statement to the usergroup part I just added that would setit to 0 rather than 1?
Reply With Quote
  #106  
Old 03-20-2003, 07:10 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool.

You won't have to do anything since the misery flag gets set if the user belongs to the banned group. moving them back to the registered user group will not set that flag anymore.
Reply With Quote
  #107  
Old 03-20-2003, 07:14 PM
Pikok Pikok is offline
 
Join Date: Jul 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, thanks..

This hack is pure evil!!! I love it!

Keep up the great work!
Reply With Quote
  #108  
Old 03-20-2003, 07:17 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your kind words.
Reply With Quote
  #109  
Old 03-20-2003, 07:43 PM
Big Daddy Chemo Big Daddy Chemo is offline
 
Join Date: Oct 2002
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack will prove to be timeless...

One request though -> can you offer some code that will give MODS the ability to toggle the misery setting as well?
Reply With Quote
  #110  
Old 03-20-2003, 07:53 PM
Pikok Pikok is offline
 
Join Date: Jul 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 09:43 PM Big Daddy Chemo said this in Post #108
This hack will prove to be timeless...

One request though -> can you offer some code that will give MODS the ability to toggle the misery setting as well?
That would be a good option. Would need to be a way of also setting it so that mods couldn't set other mods and/or admins to miserable though.. Only admins or those with admin cpanel access would be able to make mods/admins miserable.
Reply With Quote
  #111  
Old 03-20-2003, 08:07 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh boy, I knew this was going to get me in trouble.

I have this hack in place on my site. But it combines 6 other hacks which gives the moderators the power to impose misery, starvation, and a couple other hacks on users for time periods of 1, 3, or 7 days. And after the "served time" the users go back to normal.

I need to think about how to do a partial release of what I have in place...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05521 seconds
  • Memory Usage 2,323KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete