PDA

View Full Version : Boot User from specific Forum immediately


Overgrow
04 Feb 2003, 10:18
BOOT USER v.1.01

Goal: Remove any user from any specific forum, immediately. For admins and/or moderators, all posts will have a red X underneath them. Click the X once to ban that user from the specific forum and automatically send them a PM notifying of their banning. Click the X again to restore access and send a PM.

Usefuleness: Good for quick and immediate action. Changes access masks and sends an automatic PM each time so you don't have to mess with an explanation.


Requirements:

-Access masks turned on
-Annoying users that need a boot in the arse


Installation:

-Create and upload one file to mod
-Make one addition in functions.php
-Upload one gif
-Make one addition to the postbit template


Difficulty: Easy

Speed: Very Quick

Release: 1.01-- Feb 05, 2003

Dancing banana: :banana:

Updated: Feb 05, added moderator-use instructions
Updated: 7:19 pm, removed pmunread bug


p.s. CLICK INSTALL if you use it!

Graphics
04 Feb 2003, 17:28
NICE IDEA :D
i like it *install*

Dean C
04 Feb 2003, 18:11
Nice hack buddy :)

- miSt

Logik
04 Feb 2003, 18:37
Very nice. I was going to create this. Glad you did. :)

zajako
04 Feb 2003, 19:46
sounds cool and useful however i don't have a problem with members misbehaveing as of now, but not a bad idea for the future, if i do run into these problems.

MarkB
04 Feb 2003, 20:14
This sounds awesome!

ModshackUK
04 Feb 2003, 21:03
Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: UPDATE LOW_PRIORITY user SET pmunread=1 WHERE userid=1857
mysql error: Unknown column 'pmunread' in 'field list'

mysql error number: 1054

I get the above errror when running this ?

ModshackUK
04 Feb 2003, 21:04
Can I just add that it does alter the access mask but the script gives the error above.

HM

Overgrow
05 Feb 2003, 02:21
:rolleyes: Sorry, bug.. just remove these lines from bootuser.php

if ($noshutdownfunc) {
$DB_site->query("UPDATE user SET pmunread=1 WHERE userid=$userid");
} else {
$shutdownqueries[]="UPDATE LOW_PRIORITY user SET pmunread=1 WHERE userid=$userid";
}


The zip is fixed now. Thanks!

Link14716
05 Feb 2003, 02:34
Nice hack.

I will ibstall this later. :)

kmfdm_kid2000
05 Feb 2003, 03:37
Originally posted by zajako
sounds cool and useful however i don't have a problem with members misbehaveing as of now, but not a bad idea for the future, if i do run into these problems.

You know I sure do...

NuclioN
05 Feb 2003, 03:49
It does not work, however that does not mean that it doesn't work for others as well. I've banned a moderator, registered user and...myself as admin. Pm alright but...full access with all banned users when i log in as user.

I had difficulties with the recent hack 'private messages' from Slynderdale to, so i realy wonder if there's something wrong with our forum permissions. I've got no idea how to find a solution for it if this is the case, the forum has a lot of modifications.

Overgrow
05 Feb 2003, 11:37
You do have access masks turned on, right? I guess I should've included that as one of the requirements.

This really is a dead simple hack. That little bug above was just an annoyance, so hacked or not, it should work easily on most any board.

Under each post, next to my "X" for banning, I also keep an admin profile link that puts me directly to a user's profile in the Cpanel for quick modification... Gotta love admin time savers.

NuclioN
05 Feb 2003, 12:43
That was the problem, the access mask. Working now, tnx. ;)

ModshackUK
05 Feb 2003, 12:46
Removed it as asked but I still get

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: UPDATE LOW_PRIORITY user SET pmunread=1 WHERE userid=5725
mysql error: Unknown column 'pmunread' in 'field list'

mysql error number: 1054

ModshackUK
05 Feb 2003, 12:53
Ooops sorry was my fault all fixed now and working spot on and perfectly :)

Install button clicked and I am very very happy

Ta dude and BTW yours is the best forum on the net, even before this great hack :)

HM

ModshackUK
05 Feb 2003, 13:07
OK found a small bug with this

I altered the hack so my mods could ban but when the click on the red x it takes them to the admin panel which they dont have access too.

Any work around for this ?

HM

NuclioN
05 Feb 2003, 13:18
Yep, i've uploaded bootuser.php to the mod dir and changed the line admin/bootuser.php in functions.php to mod/bootuser.php and that worked.

ModshackUK
05 Feb 2003, 13:20
yeah I just did the same to see if it worked and it did :)

Thanks for the help everyone this saves a LOT of effort banning the idiots from the forums, and when they desearve access back its just a matter of one click and voila :)

Ta

HM

Velocd
05 Feb 2003, 17:07
Looks awesome, I'll defiantly be considering this installation. :)

Overgrow
05 Feb 2003, 17:19
Hmm I'll add instructions for the mod-installation as well.

Thanks :D

Logik
05 Feb 2003, 17:22
This is a nice hack. I may use this. :)

Overgrow
05 Feb 2003, 17:33
It's cool to use this hack, ya know :banana:

I can make a button for your site that says "1337 h@x0rs by 0\/3rGr0w" ! Sweet.

http://www.overgrow.com/edge/custom_avatars/avatar887_28.gif David Hasslehoff approved.

Logik
05 Feb 2003, 17:41
Lol. Baywatch lover?

Overgrow
05 Feb 2003, 17:51
https://www.vbulletin.org/forum/
Yikes No!
https://www.vbulletin.org/forum/

ModshackUK
05 Feb 2003, 20:29
/me jumps in Karr and turboboosts over to Edge Forums and steals the nice Karma hack :)

Seriously this is the best and easiest hack I have come across ina long time and it is by far my favourite at the moment.

/me uninstalls "Mods can alter access masks" hack.

HM

Boofo
22 Feb 2003, 16:05
Is there supposed to be a gif file in this zip?

msimplay
26 Feb 2003, 01:31
one question wheres the gif thats supposed to be in the zip :confused:

msimplay
26 Feb 2003, 01:32
one question wheres the gif thats supposed to be in the file :confused:

sorry i pressed back and it submitted twice :p

N!ck
02 Mar 2003, 05:50
i'm definitely installing this soon :)

Overgrow
02 Mar 2003, 15:34
Sorry, here's the gif :D

Boofo
02 Mar 2003, 23:08
Excellent hack! ;)

Just a couple of small problems.

First, how can I make it so they cannot ban the Admin of Supermods or Mods from a forum? I just banned myself and had to go in and change it back manually.

Second, when it sends the email, there is no name in the message body of the email. All I got was a comma where the name should be.

Is there also a way to have the words "Banned from this forum" or something like that so the Mods can know if someone has already been banned so they don't accidentally un-ban someone?

And a redirect might be nicer than opening a whole window just for the few lines to show what has been done. ;)

Almax
28 Mar 2003, 23:16
good call boofo

Boofo
29 Mar 2003, 00:22
Overgrow, are you still supporting this hack?

Frozen Dreams
01 May 2003, 17:01
03-03-03 at 02:08 AM Boofo said this in Post #32 (http://www.vbulletin.org/forum/showthread.php?postid=360337#post360337)
First, how can I make it so they cannot ban the Admin of Supermods or Mods from a forum? I just banned myself and had to go in and change it back manually.
[...]
Is there also a way to have the words "Banned from this forum" or something like that so the Mods can know if someone has already been banned so they don't accidentally un-ban someone?

And a redirect might be nicer than opening a whole window just for the few lines to show what has been done. ;)


I'd be interested in those add-ons too ... maybe another hacker could do it?!
The hack is great - and those addons would make it even greater :D

DPoole
01 May 2003, 18:05
will wait for addons as they seem to be needed after reading all this thread

Bison
01 May 2003, 18:09
Good Hack ... can't wait for the fixes! :)

Frozen Dreams
02 May 2003, 13:43
I want the bootuser button as test link - but cant seem to able to accomplish that ... can someone give me a hand there, plz

eXtremeTim
14 Jun 2003, 21:42
Im making some modifications to this hack. Im working on making it so that mods and admins can not kick admins mods or supermods.

eXtremeTim
14 Jun 2003, 23:51
Alright I have this hack so that you can ban users and other user groups but not ban a staff member. A staff member being a mod, admin, or supermod. If anybody is still interested in this please let me know. I will be glad to help you out.

SiGmA_X
15 Jun 2003, 11:40
Great hack!

futuredood
06 Jul 2003, 20:03
why everytime i boot someone off, they can still post?

MetroSports82
06 Jul 2003, 22:26
futuredood, be sure you have "Enable Access Masks", to yes in your vBulletin Options...

Holidazed
15 Oct 2003, 19:43
eXtremeTim, I am absolutely interested in this. However, I would like it if instead of a staff member, I can specify which usergroup number or numbers is/are exempt.

Also, how about an "Are you sure" option.
In addition, can it be set so Admins can bypass the "exempt" rule.
How about a popup that says it is done rather than opening a whole new page.

If you cannot do this or do not want to can you please post what you HAVE done?

TIA

BladeZ
17 Oct 2003, 04:14
Cool hack.
I wonder if it would be possible to get the banned people listed somewhere?

SilverBoy
11 Mar 2005, 17:06
is there a vesion run good with vb3?