vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Display ban message for Infractions (https://vborg.vbsupport.ru/showthread.php?t=124247)

Freddie Bingham 08-16-2006 10:00 PM

Display ban message for Infractions
 
Here is the first modification I've done for the Infraction system. Figure it best to release them here and allow you to test them out. This is potential code to go into 3.6.1

This will display a ban message for users that have been banned via infractions. Banned via infractions means that they have an infraction group that is set as a banned group. I'll post other modifications that I make if they are not too involved.

Neal-UK 08-17-2006 10:58 PM

Will they also show up in the Banned Users list in the Admin CP? Would be great if they also got added to coventry automatically too so you don't have to delete all their posts.

Freddie Bingham 08-17-2006 11:02 PM

No, I haven't got to that section yet and I doubt I would post those changes.

cavyspirit 08-18-2006 12:09 AM

It would be nice to have this for any usergroup they get moved into.

"You have been demoted due to..."

or

"You have been caged due to..." (our site is about cages).

With the message configurable by user group.

Our demoted user groups place a member on moderation prior to banning them. We do this more often than banning.

Thanks.

Snake 08-19-2006 10:11 AM

Thanks!

flamewalker 08-19-2006 06:06 PM

Thanks! I was wishing there was a way to do something like this... simple enough :)

tuanvic 08-20-2006 02:53 AM

do u have some screenshot for this mod thanks

Zelos 08-25-2006 05:49 PM

Smart idea for a mod, though I have one question. If someone gets a warning that expires in a month, but he's banned because of it, will the ban error tell him he that the ban expires in a month?

chinch 08-25-2006 08:50 PM

i followed the instructions but got this error when testing the account that is now banned/suspended....any ideas?

Could not find phrase 'nopermission_banned_infractions'

craiovaforum 08-26-2006 12:09 AM

Quote:

Originally Posted by chinch
i followed the instructions but got this error when testing the account that is now banned/suspended....any ideas?

Could not find phrase 'nopermission_banned_infractions'

that happened to me too. you need to select the "Front-end Error Messages" type when you create the phrase, not the default GLOBAL.
I think this should be added in the install guide file.


All times are GMT. The time now is 11:56 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.01062 seconds
  • Memory Usage 1,724KB
  • 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_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
  • (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