vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Enable/Disable profanity filter by usergroup (https://vborg.vbsupport.ru/showthread.php?t=307736)

zoom6 01-31-2014 12:25 AM

Enable/Disable profanity filter by usergroup
 
I am looking to be able to have the profanity filter enabled site wide for all users EXCEPT for users in a certain usergroup. Does anyone know of a mod that will achieve this?

ozzy47 01-31-2014 12:53 AM

Give me a bit, I can throw one together.

zoom6 01-31-2014 01:06 AM

Quote:

Originally Posted by ozzy47 (Post 2478107)
Give me a bit, I can throw one together.

That would be great! You'd make members of a certain usergroup very happy. If it matters on your end, we are running v3.8.

ForceHSS 01-31-2014 01:07 AM

Good idea, would use it myself.

ozzy47 01-31-2014 01:35 AM

The way I have it visioned is this. ( but do remember, this will only work on new posts, as any old posts that are censored are replaced in the database by the censor. )

You can set usergroups to be excluded.
You can set forums to be excluded from the censor.

There will be another setting, that you can turn on or off, that would allow you to only allow the selected usergroups to be excluded from the censor in the forums you choose.

So you could use it like this:
Selected usergroups can post censored words anywhere and all usergroups can post censored words in the forums you choose.
OR
Only the selected usergroups can post censored words in the forums you choose.

I should be able to release this tomorrow, once I get it all together. I will release one for vB3.6 vB3.7 vB3.8 and vB4

CharlieDelta 01-31-2014 01:49 PM

Ozzy this is a great idea!

Will it be possible to have this work in conjunction with VB's stock censor or will it have to be disabled? Because the stock will censor other areas such as Blogs.

ozzy47 01-31-2014 03:17 PM

It will utilize the stock censor, not anything new.

zoom6 02-02-2014 02:49 PM

My thought was not to have people be able to post censored words and have it show publicly. Instead, I was thinking certain usergroups could view the censored words while other usergroups see the filter.

ozzy47 02-02-2014 10:29 PM

That is not what you asked in the OP, it may be doable, but would require much more time, and may just use up alot of resources.

Simon Lloyd 02-03-2014 06:13 PM

Perhaps you could ask the creator of this https://vborg.vbsupport.ru/showthread.php?t=253026 to do it for vb3 then all you have to do is add a conditional as to who can turn the filter on and off, you'd need the filter set to on for all members by default first though :)


All times are GMT. The time now is 10:05 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.01249 seconds
  • Memory Usage 1,725KB
  • 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)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete