PDA

View Full Version : Boot User from specific Forum immediately


Overgrow
02-03-2003, 10:00 PM
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
02-04-2003, 04:28 PM
NICE IDEA :D
i like it *install*

Dean C
02-04-2003, 05:11 PM
Nice hack buddy :)

- miSt

Logik
02-04-2003, 05:37 PM
Very nice. I was going to create this. Glad you did. :)

zajako
02-04-2003, 06:46 PM
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
02-04-2003, 07:14 PM
This sounds awesome!

ModshackUK
02-04-2003, 08:03 PM
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
02-04-2003, 08:04 PM
Can I just add that it does alter the access mask but the script gives the error above.

HM

Overgrow
02-05-2003, 01:21 AM
: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
02-05-2003, 01:34 AM
Nice hack.

I will ibstall this later. :)

kmfdm_kid2000
02-05-2003, 02:37 AM
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
02-05-2003, 02:49 AM
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
02-05-2003, 10:37 AM
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
02-05-2003, 11:43 AM
That was the problem, the access mask. Working now, tnx. ;)

ModshackUK
02-05-2003, 11:46 AM
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
02-05-2003, 11:53 AM
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
02-05-2003, 12:07 PM
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
02-05-2003, 12:18 PM
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
02-05-2003, 12:20 PM
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
02-05-2003, 04:07 PM
Looks awesome, I'll defiantly be considering this installation. :)

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

Thanks :D

Logik
02-05-2003, 04:22 PM
This is a nice hack. I may use this. :)

Overgrow
02-05-2003, 04:33 PM
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
02-05-2003, 04:41 PM
Lol. Baywatch lover?

Overgrow
02-05-2003, 04:51 PM
https://vborg.vbsupport.ru/
Yikes No!
https://vborg.vbsupport.ru/

ModshackUK
02-05-2003, 07:29 PM
* ModshackUK 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.

* ModshackUK uninstalls "Mods can alter access masks" hack.

HM

Boofo
02-22-2003, 03:05 PM
Is there supposed to be a gif file in this zip?

msimplay
02-26-2003, 12:31 AM
one question wheres the gif thats supposed to be in the zip :confused:

msimplay
02-26-2003, 12:32 AM
one question wheres the gif thats supposed to be in the file :confused:

sorry i pressed back and it submitted twice :p

N!ck
03-02-2003, 04:50 AM
i'm definitely installing this soon :)

Overgrow
03-02-2003, 02:34 PM
Sorry, here's the gif :D

Boofo
03-02-2003, 10:08 PM
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
03-28-2003, 10:16 PM
good call boofo

Boofo
03-28-2003, 11:22 PM
Overgrow, are you still supporting this hack?

Frozen Dreams
05-01-2003, 04:01 PM
03-03-03 at 02:08 AM Boofo said this in Post #32 (https://vborg.vbsupport.ru/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
05-01-2003, 05:05 PM
will wait for addons as they seem to be needed after reading all this thread

Bison
05-01-2003, 05:09 PM
Good Hack ... can't wait for the fixes! :)

Frozen Dreams
05-02-2003, 12:43 PM
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
06-14-2003, 08:42 PM
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
06-14-2003, 10:51 PM
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
06-15-2003, 10:40 AM
Great hack!

futuredood
07-06-2003, 07:03 PM
why everytime i boot someone off, they can still post?

MetroSports82
07-06-2003, 09:26 PM
futuredood, be sure you have "Enable Access Masks", to yes in your vBulletin Options...

Holidazed
10-15-2003, 06:43 PM
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
10-17-2003, 03:14 AM
Cool hack.
I wonder if it would be possible to get the banned people listed somewhere?

SilverBoy
03-11-2005, 04:06 PM
is there a vesion run good with vb3?