vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Hide banned user's post (https://vborg.vbsupport.ru/showthread.php?t=279394)

02-29-2012 11:00 PM

Hide banned user's post
 
1 Attachment(s)
Removed

faisaly.com 03-01-2012 04:57 PM

Works great using vb4.1.3... I changed the message a little for more my own reasons using an image i made specifically for one of my sites...

http://i633.photobucket.com/albums/u...-01_131245.jpg

Very simple:

Code:

$my_banned_ids = array(8);/* Banned usergroup ids */
if (THIS_SCRIPT == 'showthread') {
    if (isset($post['usergroupid']) && in_array($post['usergroupid'], $my_banned_ids)) {
        $post['title'] = 'User is banned';
        $post['message'] = '<img src="/images/Your image Here">';
    }
}

Upload your image to forum root and put the location of image where its marked red above...

jluerken 03-02-2012 09:37 AM

vBulletin has an option to delete all users threads after you banned him so why an extra addon? What can the addon do what cannot be done with vbulletin already?

faisaly.com 03-03-2012 06:17 PM

Must have missed that option... tell us where it is... and also I used this so I could add an image... Banned users love to see an image LOL...

One Touch Ban & Clean-up will do this but its a mod not an option built into vBulletin...


All times are GMT. The time now is 02:47 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.01065 seconds
  • Memory Usage 1,713KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete