vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Boot User from specific Forum immediately (https://vborg.vbsupport.ru/showthread.php?t=48505)

Overgrow 02-03-2003 10:00 PM

Boot User from specific Forum immediately
 
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

Quote:

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_...atar887_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

[high]* ModshackUK jumps in Karr and turboboosts over to Edge Forums and steals the nice Karma hack :)
[/high]

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.

[high]* ModshackUK uninstalls "Mods can alter access masks" hack.
[/high]

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

Quote:

03-03-03 at 02:08 AM Boofo said this in Post #32
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.


All times are GMT. The time now is 04:43 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01197 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete