Miserable Users for vB3
This modification is in the archives.
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 by Zzed
This vB3 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.
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:
// Miserable Hack for vB3
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:
$glitch = rand(60, 120);
Toning down the % chance disabling of the Search engine: This line: PHP Code:
if($glitch < 90)
Toning down the chance of a Server Too Busy error: This line: PHP Code:
if ($glitch < 75)
Toning down the chance of a blank page: This line: PHP Code:
if ($glitch < 50)
Increasing the chance of getting a normal page: This line: PHP Code:
if ($glitch < 80)
Toning down the chance of a refresh to Forum home: This section: PHP Code:
$glitch = rand(0, 100);
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 ). Download No files for download. |
Similar Mods
Miserable Users | Modification Graveyard |
Administrative and Maintenance Tools Miserable users | Modification Graveyard |
Administrative and Maintenance Tools Miserable Users. | Modification Graveyard |