vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Disable Swear Censor Per Forum (https://vborg.vbsupport.ru/showthread.php?t=98269)

ImportPassion 10-12-2005 10:00 PM

Disable Swear Censor Per Forum
 
Here you go. Updated for 3.5 as a plugin. First one too! :)

Change the array of forum id's to the ones you want excluded from the swear censor.

I noticed there is another hack like this after I did it, but this has no db calls.

1.01 - Ok, for some reason the var forumids was messing up the edit attachments page in profile. So I renamed it. I just add "the" in front of it. So it is now $theforumids. You just need to go into the plugin and edit that, no need to download again if you have it installed already.

1.02 - As per boofo, I forgot one of the above vars I had to edit. All good now.

Daniel 10-13-2005 12:52 AM

Wow, thanks a bunch!

dsotmoon 10-13-2005 01:31 AM

i coulda swore i installed this a week ago ? ? ?

ImportPassion 10-13-2005 03:33 AM

updated...please read the Edit if you installed this.

Boofo 10-13-2005 04:48 AM

Uh, you need to change this:

PHP Code:

 if (in_array($forumid$forumids)) { 

to this:

PHP Code:

 if (in_array($forumid$theforumids)) { 

or it's never going to work, sir. ;)

ImportPassion 10-13-2005 04:50 AM

ur right, missed that one. :o

Oblivion Knight 10-13-2005 05:02 AM

Quote:

Originally Posted by dsotmoon
i coulda swore i installed this a week ago ? ? ?

Perhaps you installed this version? ;)

I've not looked, but I dare say that the code is different.

ImportPassion 10-13-2005 05:06 AM

he prolly did. I didn't notice it till after. BUt mine has no db calls.

GamerzWorld 10-13-2005 09:05 AM

Maybe have an on/off switch for all forums per user ;)

Cyricx 10-14-2005 01:14 AM

Totally different code :)

I didn't want hard coded IDs, wanted something that I wouldn't have to go back and edit each time I made a new forum I wanted to be disabled but that would have a simple yes/no box with it :)

Both ideas work great :)


Gamerz, I haven't had any luck getting it to parse or not based on user. I've tried alot of things with no luck so far :(

beano33 10-14-2005 09:38 PM

Most advertisers prohibit excessive profanity in the site content so be careful with your usergroup permissions if you install this. Even if it's only in private forums a disgruntled member could report it and cause problems.

ImportPassion 10-14-2005 11:44 PM

I don't have UG perms on this. just forum based. Ppl can report whatever they want, in the end it is a private forum and ppl have to agree to terms anyhow. Nothing ppl can do to report some f-words being used. Weel, in north america anyway. can't speak for other contries.

DevilYellow 10-17-2005 02:12 AM

Thanks - now the moderating team can swear in peace :D They are very happy.

Zia 01-12-2006 05:17 PM

umm did it only disbale sensor for any particular forum(s)?
it could customize words for each & every forum separately?
say:
In :: Help Zone : dog -- is allowed..
In :: Gossip Zone : dog --- disallowed..

is that possible ?
maintain sensor words separately in every forum/sub-forum?

Thanks

doggy1 06-04-2006 08:50 PM

Great hack!!!!!!

Where and how do you disable the forums for this?????

Thanks.

ImportPassion 06-04-2006 09:58 PM

Quote:

Originally Posted by doggy1
Great hack!!!!!!

Where and how do you disable the forums for this?????

Thanks.

go into the plugin section of the hack and edit the forum id's

Oblivion Knight 06-05-2006 08:10 PM

Does this get affected by the "Rebuild Post Cache"?

On the other version that I posted, any uncensored posts appear as censored until they're edited after the post cache has been rebuilt. I bypassed it by excluding the non-censored forum(s) from the query, but it's kinda sloppy.

ImportPassion 06-05-2006 08:16 PM

no affects

Oblivion Knight 06-05-2006 09:07 PM

Cool.. Consider me switched! ;)

MichaelP 06-12-2006 04:03 PM

Cool, works a treat and does what it says on the packet.
Apart from i forgot to delete the other forum id's that was in there :rolleyes:

doggy1 06-18-2006 11:47 AM

Quote:

Originally Posted by 7thgenCivic.Com
go into the plugin section of the hack and edit the forum id's

Thank you!

ditangquan 06-22-2006 03:06 AM

so all this thing did when I installed it with a single forum is disable another plugin.

needs more directions. this is a little vague.

ImportPassion 06-22-2006 03:14 AM

what else do u want it to say?
Directions:
1. install plugin. if you don't know how to do that, u r in the wrong place.
2. edit the forum id's in the plugin.
3. take a nap. ur done.

WiseOne38221 10-01-2006 04:08 PM

Is this available for 3.6?

Noonster 11-02-2006 03:32 PM

Quote:

Originally Posted by WiseOne38221
Is this available for 3.6?

Anyone know??

jyajay 01-21-2007 01:24 PM

Can this be changed from "per forum" to "per usergroup"?

lostgirl815 02-24-2007 07:00 PM

I'd like to know if it's available for 3.6 too.

viper357 05-11-2007 06:33 PM

me too, will it work in 3.6.5 ?

lostgirl815 05-11-2007 06:49 PM

I'm using this or one like it in 3.6.4 but I can't figure out if I forgot to mark installed or if I marked it in the 3.6 mods. And I'll look around more thoroughly later, but meanwhile you might want to check the 3.6 mods for it.

:)

viper357 05-11-2007 07:04 PM

ok thanks, I took a chance and installed it anyway, working perfectly :D

jmurrayhead 03-22-2008 02:31 AM

I just installed this on 3.6.8 and there appears to be no problems...Excellent mod! :D

viper357 05-13-2008 10:24 AM

Anybody got this running on 3.7 gold?

Baldilocks 05-18-2008 03:58 AM

Yes, this works on 3.7.0 Gold.

TFEX 06-01-2008 03:43 PM

Quote:

Originally Posted by Oblivion Knight (Post 999489)
Does this get affected by the "Rebuild Post Cache"?

On the other version that I posted, any uncensored posts appear as censored until they're edited after the post cache has been rebuilt. I bypassed it by excluding the non-censored forum(s) from the query, but it's kinda sloppy.

Quote:

Originally Posted by ImportPassion (Post 999494)
no affects

Quote:

Originally Posted by Oblivion Knight (Post 999519)
Cool.. Consider me switched! ;)

Post cache rebuild affects this plugin in 3.7.0 gold. Censors all posts after rebuild. You can reverse it by removing the words and rebuilding the cache.

So it works if you never rebuild the post cache or, if you did, you'd have to remove the censored words first and then readd them after the cache was rebuilt, which would uncensor any words that were previously cached of course... etc etc blah blah. catch 22

If you never have to rebuild your post cache (which would be rare indeed) there is no problem using this.

Anyone still working on this plugin?

SVTCobraLTD 10-14-2008 04:36 PM

Installed on 3.6.10pl3

StevenTN 03-25-2009 02:05 AM

Anyone using it on 3.8.0 or later? Question I'm asking is I have some moderators interested in this, we get foul-mouthed in our staff only forum and would like to exempt it.

jmurrayhead 03-25-2009 10:55 AM

Quote:

Originally Posted by StevenTN (Post 1776357)
Anyone using it on 3.8.0 or later? Question I'm asking is I have some moderators interested in this, we get foul-mouthed in our staff only forum and would like to exempt it.

It still works fine for me in 3.8.1

tacampbell 09-25-2009 01:24 PM

Works in 3.8.4

BirdOPrey5 05-19-2010 09:23 PM

Installed and working in 3.8.4 PL2

Just need to go to "upload plugin" instead of "import product" as usual... then edit the array included to the forum ID's you want to disable the censor in.

zonatuning 06-24-2011 04:33 PM

It doesn't works ni vb 3.8.7

Anyone can help me? Send me MP, please.

Thanks


All times are GMT. The time now is 05:45 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.01212 seconds
  • Memory Usage 1,792KB
  • 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
  • (2)bbcode_php_printable
  • (8)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
  • (40)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