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.

chinch 08-28-2006 01:58 PM

thanks... working now :)

hopefully the install instructions can be updated :)

Freddie Bingham 08-28-2006 02:26 PM

:shrug: It says to add an error message and "Error Messages" is where error messages go.

chinch 08-30-2006 04:42 AM

not to nitpick, but if you search alphabetically you don't see "ERROR MESSAGES" in the dropbox. There are dozens and dozens of choices, and why guess?

change the instructions or not... that is up to you. i thank you for the mod but please realize two of us posting in this thread (12 posts) made this mistake.

craiovaforum 09-03-2006 09:39 AM

is there any way that you guys would consider to move the users to an usergroup not only to evaluate the permissions?

Because, for example, I have a special forum witch only banned users can view and post and the permissions are set to no for reg users. When an user is banned the permissions for that usergroup are set to yes (view, posting, etc.) but if an user is banned after receving multiple warnings the avaluations of permissions gives out the NO permission result witch is not a valid solution for me because I want banned users to see that forum...

craiovaforum 09-09-2006 01:57 PM

any news on this? ^^^

Zelos 09-15-2006 05:21 AM

Is this mod still nessesary with 3.6.1?

bigmonay2k 09-15-2006 12:44 PM

screenshot please??

Freddie Bingham 09-15-2006 12:57 PM

Quote:

Originally Posted by Zelos
Is this mod still nessesary with 3.6.1?

No..

Borden 10-10-2007 03:41 PM

Quote:

Originally Posted by chinch (Post 1060516)
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'

I couldn't either find 'nopermission_banned_infractions'. Can someone tell me where it is?


All times are GMT. The time now is 06:16 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.01143 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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