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. :)


All times are GMT. The time now is 08:25 AM.

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.01135 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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