Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Disable swear censor per forum (configurable) Details »
Disable swear censor per forum (configurable)
Mod Version: 1.00, by boozehound (Member) boozehound is offline
Developer Last Online: Sep 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (1 vote - 5.00 average) Installs: 5
Released: 22 Feb 2005 Last Update: Never Downloads: 0
Not Supported DB Changes  

http://www.vbulletin.org/forum/showthread.php?t=45238 is great but for vb 2 and http://www.vbulletin.org/forum/showthread.php?t=65343 doesn't give you the option of configuring the per forum settings through admincp, so here is a hack similar to the vb2 version but for vb3. Tested on 3.0.3 through 3.0.7.

Update 2nd March 2005: See this post to stop sigs bypassing the filter globally.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Disable Swear Censor Per Forum ImportPassion vBulletin 3.5 Add-ons 42 29 Nov 2012 19:05
Disable swear censor per forum ImportPassion vBulletin 3.0 Full Releases 20 13 Oct 2005 02:14

Comments
  #2  
Old 22 Feb 2005, 23:26
dndog dndog is offline
 
Join Date: Apr 2004
Screenshots?

Thanks.
Reply With Quote
  #3  
Old 22 Feb 2005, 23:31
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Originally Posted by dndog
Screenshots?

Thanks.
There isn't much to see, just a new option in the forum manager. For the forums you don't want to be censored, set this option to 'no'. It is 'yes' by default.
Attached Images
File Type: jpg censor-by-forum.jpg (57.6 KB, 116 views)
Reply With Quote
  #4  
Old 23 Feb 2005, 05:50
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Is there a way to allow Admins to not be censored no matter what it is set at in a certain forum?
Reply With Quote
  #5  
Old 23 Feb 2005, 20:13
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Ok this is creepy I was thinking about something like this. BUT I was looking for soemthing that lets Private messages not be screened. ever by usergroup.
but public stuff stays the same...

i mean it would be nice if there was a switch in the control pannel that had allow swearing... block swearing.


that way if people are offended it is blocked. almost how google has safe filter.

can this mod be... um... modded to do such a thing?
__________________
http://www.t3media.com (Ideas at the speed of thought.)
http://www.sprnch.com social networking!
http://hunterex.com (cellphones super cheap!)
Reply With Quote
  #6  
Old 23 Feb 2005, 20:44
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Originally Posted by Boofo
Is there a way to allow Admins to not be censored no matter what it is set at in a certain forum?
Not with this hack as it is but it's certainly possible; I'm working on a 'img tags per usergroup per forum' hack at the moment which involves a new table mapping forum ids to usergroup ids with a permissions column, this could be extended for censoring too. In fact with censoring this is quite easy as you just have to find calls to fetch_censored_text in posting-based scripts (i.e. newreply, newthread, editpost) and put a conditional around the call based on the settings.
Reply With Quote
  #7  
Old 23 Feb 2005, 20:46
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Originally Posted by T3MEDIA
Ok this is creepy I was thinking about something like this. BUT I was looking for soemthing that lets Private messages not be screened. ever by usergroup.
but public stuff stays the same...

i mean it would be nice if there was a switch in the control pannel that had allow swearing... block swearing.


that way if people are offended it is blocked. almost how google has safe filter.

can this mod be... um... modded to do such a thing?
For PMs you'd just need to put conditionals around the calls to fetch_censored_text in the PM scripts (just private.php off the top of my head). For it to be a user selectable option just add a new user option mapping to a field in the user table (or use a custom profile field if you're lazy) and base the conditional on that.
Reply With Quote
  #8  
Old 02 Mar 2005, 01:19
jlaine jlaine is offline
 
Join Date: Nov 2001
Real name: Josh Laine
Seems to allow signatures to bypass the censor globally - whether or not the forum is set to yes doesn't effect it.
__________________
CarStereos.org
Reply With Quote
  #9  
Old 02 Mar 2005, 01:54
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Originally Posted by jlaine
Seems to allow signatures to bypass the censor globally - whether or not the forum is set to yes doesn't effect it.
In includes/functions_bbcodeparse find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will censor sigs globally.
Reply With Quote
  #10  
Old 02 Mar 2005, 03:41
jlaine jlaine is offline
 
Join Date: Nov 2001
Real name: Josh Laine
Originally Posted by boozehound
In includes/functions_bbcodeparse find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will censor sigs globally.
Gotcha, will apply sir.

Is there a reason it is not applying the censor to non-checked forums?

I'd be fine with it if it was staying active in forums that had mandatory censoring, but once I installed this, globally all signatures were bypassing the censor rules.

Thanks for the help,

Josh
__________________
CarStereos.org
Reply With Quote
  #11  
Old 02 Mar 2005, 03:48
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Originally Posted by jlaine
Gotcha, will apply sir.

Is there a reason it is not applying the censor to non-checked forums?

I'd be fine with it if it was staying active in forums that had mandatory censoring, but once I installed this, globally all signatures were bypassing the censor rules.

Thanks for the help,

Josh
It was an oversight on my part; I was just checking for a flag mapped to a forum id when deciding whether or not to apply the filter, but not checking for the case where there was no forum id which is the case when sigs are parsed.

The way this hack works it would be a bit more work to allow sigs to bypass the filter per forum. But at some point I hope to release a new version of this hack that allows the filter to apply per usergroup per forum, and I'll include the sig stuff in that.
Reply With Quote
  #12  
Old 02 Mar 2005, 12:50
jlaine jlaine is offline
 
Join Date: Nov 2001
Real name: Josh Laine
Originally Posted by boozehound
It was an oversight on my part; I was just checking for a flag mapped to a forum id when deciding whether or not to apply the filter, but not checking for the case where there was no forum id which is the case when sigs are parsed.

The way this hack works it would be a bit more work to allow sigs to bypass the filter per forum. But at some point I hope to release a new version of this hack that allows the filter to apply per usergroup per forum, and I'll include the sig stuff in that.
I applied that change - but it appears that disables checking of any forum on regular posts - as the censor is working on the forum I chose to disable it in - users posts are coming back censored now.

I don't mind the exclusion of the signature, so long as it's always globally censored - kinda freaked me out when something ended up visible in the general areas.
__________________
CarStereos.org
Reply With Quote
  #13  
Old 02 Mar 2005, 23:57
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Originally Posted by jlaine
I applied that change - but it appears that disables checking of any forum on regular posts - as the censor is working on the forum I chose to disable it in - users posts are coming back censored now.

I don't mind the exclusion of the signature, so long as it's always globally censored - kinda freaked me out when something ended up visible in the general areas.
Hmm I see what you mean. Well, he's a kind of fix, it'll censor sigs when they are edited (by a user, not through modcp or admincp but the code for that is the same just in a difference place), so it'll be impossible for users to put censored words in their sigs.

profile.php
find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

add after that:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #14  
Old 03 Mar 2005, 01:13
jlaine jlaine is offline
 
Join Date: Nov 2001
Real name: Josh Laine
Originally Posted by boozehound
Hmm I see what you mean. Well, he's a kind of fix, it'll censor sigs when they are edited (by a user, not through modcp or admincp but the code for that is the same just in a difference place), so it'll be impossible for users to put censored words in their sigs.

profile.php
find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

add after that:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Gotcha - along with that I'll revert the other changes and see what takes place.

Thanks again for the assistance, I'll let you know if anything arises from this.

Josh
__________________
CarStereos.org
Reply With Quote
  #15  
Old 22 Jun 2005, 05:01
rinkrat's Avatar
rinkrat rinkrat is offline
 
Join Date: Jan 2002
My shoutbox is now uncensored. How can I change it back to being censored? Is there a way to disable it globally till I get it right?
__________________
Los Angeles Kings Fan Page

Last edited by rinkrat; 22 Jun 2005 at 05:03.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

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

Layout Options | Width: Wide Color: