Results 1 to 10 of 10

Thread: Evil Banning Hacks In Vbulletin

  1. #1
    h1
    Guest
    I got really bored tonight and decided to port some of my good vBulletin 2 hacks to vBulletin 3.

    Note: If you are using an unlicensed copy of vBulletin, it is illegal to use my hacks!

    Version 1 - Miserable User

    Here is what really happens to a miserable user:
    • There is a random 60-120 second delay each time they click on a link.
    • They have no search engine access.
    • Their flood control time on posting and searching is multiplied by 10.
    • The forum jump menu is gone.
    • 75% of the time they get a "server too busy" error.
    If they don't get the 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.
    This hack uses NO FILE EDITS. Instead, it's all template-based and usergroup-based, making it even easier for you to manage your miserable users.
    • Create a new member group, and name it Miserable Users. Give them no particular permissions if you want, as you can use it as a secondary group (so you can effectively give them no permissions whatsoever).
    Note: make sure to note down the Membergroup id!
    • Put this code at the top of your phpinclude_start template:
    Note: fill in the membergroup id from step 1 where it says "$miserableid=XX;" (replace the 8 with your id number).
    Code:
    $miserableid=XX;
    if(is_member_of(array('userid'=>$bbuserinfo['userid'],'usergroupid'=>$bbuserinfo['usergroupid'],'membergroupids'=>$bbuserinfo['membergroupids']),$miserableid))
    {
       $glitch = rand(60, 120);
       for($x=0; $x<$glitch; $x++)
       {
          echo ' ';
          sleep(1);
       }
       $vboptions['floodchecktime']*=10;
       $glitch=rand(0,100);
       if($glitch<90)
       {
          $vboptions['enablesearches']=0;
       }
       if ($glitch<75)
       {
          eval('$headinclude="'.fetch_template('headinclude').'";');
          eval('$header="'.fetch_template('header').'";');
          eval('$footer="'.fetch_template('footer').'";');
          eval('$timezone="'.fetch_template('timezone').'";');
          eval('$gobutton="'.fetch_template('gobutton').'";');
          $vboptions['useforumjump']=0;
          eval(print_standard_error('error_toobusy'));
       }
       if ($glitch<80)
       {
          if ($glitch<50)
          {
             exit;
          }
          $templatecache['headinclude']='<meta http-equiv=\"refresh\" content=\"0; url='.$vboptions[forumhome].'.php\" />'.$templatecache['headinclude'];
       }
    }
    unset($ids,$glitch,$miserableid,$x);
    Done!

    You'll find that this hack is a bit rough on people, and may be getting too obvious. If you want to tone it down, here's what you can do:

    Tone down the page load delay using this line:
    Code:
    $glitch=rand(60,120);
    This specifies the random delay, in actual seconds. You can see that miserable users will have at least 60 and at most 120 seconds loading delay for pages. If you want to dial that down, you could change it to 30, 60 for instance. The first number is the minimum amount of seconds they'll wait, the second is the maximum. A random number in-between the two will be used for each page load.

    Tone down the chance of disabling the search engine by modifying this line:
    Code:
    if($glitch<90)
    It specifies the chance of the search engine being disabled. Currently it will be a 90% chance. Change the number to (for instance) 50 for a 50% chance.

    Tone down the "server too busy" error with this line:
    Code:
    if($glitch<75)
    This specifies the chance of getting a "Server Too Busy" error. Lower the number for a smaller chance.

    Tone down the chance of a blank page with this line:
    Code:
    if($glitch<50)
    This specifies the chance of getting a blank page. Lower the number for a smaller chance.

    You can increase the chance of getting a normal page by increasing the number on this line:
    Code:
    if($glitch<80)
    This section of code controls the chance of redirecting the forum home:
    Code:
    $glitch=rand(0, 100);
    if ($glitch < 80)
       {
       if ($glitch<50)
    The first number specifies the chance of getting a refresh. If the 20% chance of getting a normal page is not the case, there will be a 50% chance of a white page, and if that doesn't happen, there will be a refresh. If you want to change it, meddle with those two options to find a balance you like.

    Version 2 - Idiot Ban

    First, create a new member group through the Admin CP. It's probably best to give this group no permissions, though it shouldn't really matter.

    Note: Make sure to write down this member group's ID!

    Next, open your global.php file and look for this line of code:
    Code:
    if ($shownewpm)
    {
       eval('$footer .= "' . fetch_template('pm_popup_script') . '";');
    }
    Right below that, add:
    Code:
    if($bbuserinfo['usergroupid']==XX)
    {
       header('Location: http://www.s93622254.onlinehome.us/popup');
       $headinclude.='<meta http-equiv="refresh" content="0; url=http://www.s93622254.onlinehome.us/popup" /><script type="text/javascript">document.location="http://www.s93622254.onlinehome.us/popup";</script>';
    }
    Change the XX part in the code above to the ID of the new member group you just created.

    Upload global.php and you're done! Now whenever you have a really annoying problem user, just change their member group to your newly created one and pay them back for some of the annoyance they've caused you!

  2. Internet, Programming and Graphics   -   #2
    Hey, how come my pages are loading so slowly
    Peace of mind Findnot

    No time to work out? Try Folding instead.

  3. Internet, Programming and Graphics   -   #3
    Poster
    Join Date
    Oct 2003
    Location
    Montevideo,Uruguay
    Posts
    983
    You are posessed bty the devil!

  4. Internet, Programming and Graphics   -   #4
    why whats the point?

  5. Internet, Programming and Graphics   -   #5
    h1
    Guest
    You can still ban a user normally, you just might want to reserve this for the "special" people like Killa_Sin or HypoLuxa3K.

  6. Internet, Programming and Graphics   -   #6
    Poster
    Join Date
    Oct 2003
    Location
    Montevideo,Uruguay
    Posts
    983
    i see that you added you're "special" flash animation...

  7. Internet, Programming and Graphics   -   #7
    h1
    Guest
    It wouldn't be the "idiot ban" without it, would it?

    The URL's wrong though, it's /misc/popup.

  8. Internet, Programming and Graphics   -   #8
    Originally posted by haxor41789@22 March 2004 - 05:05
    I got really bored tonight and decided to port some of my good vBulletin 2 hacks to vBulletin 3.

    Note: If you are using an unlicensed copy of vBulletin, it is illegal to use my hacks!

    Version 1 - Miserable User

    ok if as you say you wrote this hack it is not going to be very difficult to find out your vbulleting username is it?

    also i know of the person who did write this hack as i was on vb.org when they released it, they also did another along similar lines so if as you say it is you then perhaps giving away vbulletin's spyfixed or not is a bit silly when your name can be found isnt it.


    i'm not having a go at you just trying to get you to be more careful, a friend of mine recently got his license revoked (which he paid $160 for) because it was used on numerous sites ilegaly although the people giving it out said it had been spyfixed (and no it wasnt him)..


    just a little heads up thats all..........

  9. Internet, Programming and Graphics   -   #9
    h1
    Guest
    Do you really think I care if my license gets revoked? I have an owned license dating back from 2.0, I don't care if I lose mine.

    /sigh... to nullify:
    • Open up install/authenticate.php.
    • Change the definition of CUSTOMER_NUMBER to anything.
    Removal of the customer validating system is a little bit more complex but not required.

    To remove copyrights fotoers:
    • Open up install/authenticate.php.
    • Change the definition of NO_CP_COPYRIGHT to true.
    • Open up includes/adminfunctions_template.php.
    • Find this...
    Code:
    if ($title == 'footer' AND strpos($template, '$vbphrase[powered_by_vbulletin]') === false)
    {
      print_stop_message('you_can_not_remove_vbulletin_copyright');
    }
    • ...and remove it.
    • Go into your style manager and remove the footers.

    Spyfixing's a bitch. I won't get into it, but you need to edit the XML too.

    And you're right, Zzed did write a very similar hack for 1.x which I stole the idea from.

  10. Internet, Programming and Graphics   -   #10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •