The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Miserable Users for vB3 Details »» | ||||||||||||||||||||||||||
Miserable Users for vB3
Version: 1.01 vB-version: 3.0.0 Developer: KuraFire (original for vB2: Zzed) Install-difficulty: Easiest File edits: 0 Template edits: 1 (phpinclude_start) Description of the Hack: The Miserable Users Hack for vB3 is an upgrade from Zzed's hack for vB2. The vB3 version is streamlined and works without any file edits. It is purely template based. Templates modified for this Hack: phpinclude_start (the above was generated via the Hack Tracking Log, soon to come) 1.01 update: January 5th, 3:10 pm CET Instead of a custom check for the usergroup data to see whether the user is a Miserable User, vB3's function is_member_of() is being used now, cleaning up the code even more. Here's what the Hack does: (original Hack thread) This Hack will allow you to drive away people from your board without banning them. As explained by Zzed, the author of the original (vB2) hack: Quote:
TO INSTALL: 1) Create a new membergroup, 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 0 permissions whatsoever). Note: make sure to note down the Membergroup id ! 2) Put this code at the top of your phpinclude_start template: Note: fill in the membergroup id from step 1 where it says "$miserableid = 8;" (replace the 8 with your id number). PHP Code:
Done! Note: this Hack will come in an HTL* package once the HTL is finished. Toning Down The Pain: 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: Toning down the page load delay: This line: PHP Code:
Toning down the % chance disabling of the Search engine: This line: PHP Code:
Toning down the chance of a Server Too Busy error: This line: PHP Code:
Toning down the chance of a blank page: This line: PHP Code:
Increasing the chance of getting a normal page: This line: PHP Code:
Toning down the chance of a refresh to Forum home: This section: PHP Code:
Hope you guys enjoy this update of the excellent hack by Zzed, with the improvements I've made to it for higher maintainability (and, no file edits ). Show Your Support
|
Comments |
#122
|
||||
|
||||
I did the same thing. They don't know they're being played with so they assume my site is screwed up and go somewhere else. If they DO re-register somehow it'll be easy to spot soon enough anyways.
Only thing is that I wish I knew how to make it forward them to a random page. |
#123
|
||||
|
||||
Quote:
|
#124
|
|||
|
|||
Oh so bloody installed
[high]* Boback rubs his hands together![/high] |
#125
|
|||
|
|||
what if you wanted to do this for more than one user group?
|
#126
|
|||
|
|||
Why you would want that?
Independent on the usergroups a member has, you can give them the secondary membergroup of the miserable userhack |
#127
|
|||
|
|||
First:
Thank You for the hack. Now will it work with Vbulletine 3.05? Thank again |
#128
|
|||
|
|||
Here's a modified version of the template. The delay is wildly variable from 1 to 20 seconds, and there's an additional 20 second delay if it decides to display a blank page. Half of the time, there's a 2-4 minute refresh to the prior page, regardless of whether it's the vbulletin forum or elsewhere. You can go further back in the browser history by using -2 or lower instead of -1 in the javascript.
Code:
// Miserable Hack for vB3 // Ported by KuraFire to vB3, original vB2 version by Zzed // ############################################# // Put the id of your Miserable Usergroup here: $miserableid = 10; // Check to see if the user is a Miserable User if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $miserableid)) { $vboptions['floodchecktime'] *= 10; $glitch = rand(0, 100); // disable searching? if($glitch < 70) { $vboptions['enablesearches'] = 0; } sleep(rand(1,20)); $glitch = rand(0, 100); // blank page glitch if ($glitch < 20) { echo ' '; sleep(20); exit; } // refresh glitch - 50% chance independent of the blank page glitch if ($glitch > 50) { $refdelay = rand(110, 245); // orig URL=$vboptions[forumhome].php $templatecache['headinclude'] = '<META HTTP-EQUIV=\"refresh\" CONTENT=\"' . $refdelay . '; URL=javascript:history.go(-1)\" />' . $templatecache['headinclude']; } } unset($ids, $glitch, $miserableid, $refdelay, $x); // End of Miserable Users Hack |
#129
|
|||
|
|||
Not working for me on 3.0.5. Unless my test user is REALLY lucky. I have the right group ID and the user is in there with that as his secondary group. No difference in his ability to access the board.
Can anyone confirm it works on 3.0.5? |
#130
|
|||
|
|||
/me installed, thx!
|
#131
|
||||
|
||||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|