View Full Version : New Posting Features - Censor List Replacing
alexgeek
12-23-2007, 10:00 PM
My first product! This product will take a list of words and replace the first with the second in an easy to manage way.
This can be enabled and disabled and whilst disabled all words changed will reverse back to the original.
Also, whilst editing posts the original words will still be there as they are replaced at runtime.
This should be very simple to install just import the XML file and add words to your list via the admincp.
Howto add words to be replaced.
If you wanted to replace cat with dog and fish with spoon it would look like this:
cat,dog;fish,spoon
Enjoy guys and please mark as installed!
Updated
- You can now show users that can moderate the word that has been replaced.
alexgeek
12-23-2007, 11:55 PM
Reserved.
Thanks,
Install with 3.6.7
YmY
.
silver surfer
12-24-2007, 12:32 AM
Thnx !!!
Installed*
edit :
dont work 4 me...product installed, enabled and ur example words dont changed.cat was at in the post i made.
*uninstalled
aycan555
12-24-2007, 12:37 AM
thanxs verri much can we use this for the links is wel??
alexgeek
12-24-2007, 12:42 AM
thanxs verri much can we use this for the links is wel??
Do you mean can you use it to replace URLs? If so, I don't see why not but I will check on my dev server now :)
alexgeek
12-24-2007, 12:46 AM
Is this working correctly for everyone?
alexgeek
12-24-2007, 12:50 AM
Thnx !!!
Installed*
edit :
dont work 4 me...product installed, enabled and ur example words dont changed.cat was at in the post i made.
*uninstalled
Could you check if the plugin is enabled?
Bflat5
12-24-2007, 01:00 AM
Too cool! I came here specifically to see if I could find something just like this and it was the first post here! :)
Installed and works. Seems to be a lag in the way it works though. When you post a message it shows the words you want changed, but a page refresh shows the words you want them changed to. Not a big deal though.
alexgeek
12-24-2007, 01:13 AM
Update with an improved version.
Updates:
- Carriage return after a semi-colon will not affect results and semi-colon after the last entry does not make a difference.
e.g. Both of the following will work:
cat,dog;fish,spoon
cat,dog;
fish,spoon;
- People who it didn't work for - it should work now.
alexgeek
12-24-2007, 01:14 AM
Too cool! I came here specifically to see if I could find something just like this and it was the first post here! :)
Installed and works. Seems to be a lag in the way it works though. When you post a message it shows the words you want changed, but a page refresh shows the words you want them changed to. Not a big deal though.
Glad I could help! This is my first mod so it won't be perfect.
I'll have a see on how I can improve that then!
Bflat5
12-24-2007, 03:53 AM
Good job on your first mod. I have always wondered why this wasn't the way the word censor work anyway.
Thanks again. :)
alexgeek
12-24-2007, 08:35 AM
You're welcome, thanks for the kind words :)
Hornstar
12-24-2007, 09:52 AM
Thanks, if this will work on links, then that will be awesome! Thanks.
Just wondering tho, how heavy is this hack on the server? (on a very large and busy site)
Marco van Herwaarden
12-24-2007, 09:54 AM
Good job on your first mod. I have always wondered why this wasn't the way the word censor work anyway.
Thanks again. :)
Because it is a censor. To replace words with a different word with only default vBulletin, you should use Replacement variables.
alexgeek
12-24-2007, 10:18 AM
Because it is a censor. To replace words with a different word with only default vBulletin, you should use Replacement variables.
I created this as a faster method than replacement variables (They take ages to put up multiple replacements).
cheech47
12-26-2007, 07:34 PM
Where in the admincp do you edit the list, looked under censorship options but cant see where im meant to edit the lists
Cheers
alexgeek
12-27-2007, 09:50 PM
Should be towards the bottom of the options list, "Censor Replacement List".
s3nt3nc3d
01-06-2008, 12:59 AM
I will be installing this later tonight on my test forum...was just curious, is it possible to replace multiple words when used together? I'd like to use this for replacing racial slurs and such.
For example:
"porch" and "monkey" alone are two harmless words and do not need replaced, however, I would like to replace "porch monkey" with something that won't spark a huge fight.
Thanks! If this works out well, I think it'll be a very popular mod.
bp323
01-08-2008, 05:06 AM
attempted install & failed to have it work... the original replacement variables still overrode my input.
testebr
01-13-2008, 08:30 PM
Can you avoid url's to replacing?
AcidX
01-13-2008, 09:21 PM
Installed it on 3.6.3 - doesn't work.
Product and censoring is enabled.
Damn I need this mod.
z0diac
01-13-2008, 09:49 PM
Does this work only with "FULL" words. eg: will it check for spaces on each side of the word or will it replace partial parts? eg: if I enter cat,dog and someone types the word "catch", I don't want it changed to "dogch"
The reason I ask is that in my forum people use acronyms a lot when talking about other forum members (my name is alphadog and many people just say "AD" so I'd like this to auto-change to the full name). Just want to make sure it will change only full words with spaces before/after the string, and not start changing partial text inside words.
z0diac
01-13-2008, 09:55 PM
Tested on 3.6.8 - not working.
I have in my replacement list:
IGT,ItsGameTime;
AD,AlphaDog;
GDG;GoDogsGo;
WDF;WellandDogsFan;
IDA;IceDogArmy;
when I enter IGT, AD, etc... in a message - it appears just as I entered it.
AcidX
01-14-2008, 11:54 AM
I would be most thankful if someone can get this mod to work on 3.6.3 :(
But it seems it's not working on any vBulletin version... Help anyone?
kiril_cvetkov
01-14-2008, 02:39 PM
it's working good :)
bp323
01-14-2008, 04:49 PM
help x2
alexgeek
01-14-2008, 06:42 PM
Does this work only with "FULL" words. eg: will it check for spaces on each side of the word or will it replace partial parts? eg: if I enter cat,dog and someone types the word "catch", I don't want it changed to "dogch"
The reason I ask is that in my forum people use acronyms a lot when talking about other forum members (my name is alphadog and many people just say "AD" so I'd like this to auto-change to the full name). Just want to make sure it will change only full words with spaces before/after the string, and not start changing partial text inside words.
yes it will replace catch with dogch.
Tested on 3.6.8 - not working.
I have in my replacement list:
IGT,ItsGameTime;
AD,AlphaDog;
GDG;GoDogsGo;
WDF;WellandDogsFan;
IDA;IceDogArmy;
when I enter IGT, AD, etc... in a message - it appears just as I entered it.
I would be most thankful if someone can get this mod to work on 3.6.3 :(
But it seems it's not working on any vBulletin version... Help anyone?
To both: Please try debugging by using the "show replacements to moderators" option.
AcidX
01-14-2008, 09:06 PM
To both: Please try debugging by using the "show replacements to moderators" option.I tried it now, doesn't seem to work :( Any other ideas?
I desperately need to get this great mod working. :erm:
alexgeek
01-15-2008, 04:00 PM
Post your censor list please. And the contents a post you have used to test it.
katan
01-19-2008, 12:55 AM
thanks you!!!
HT | Clark [HG]
10-24-2008, 08:38 PM
Is this compatible with 3.7?
donald200
10-31-2008, 10:13 AM
working for 3.7.3
speakeasy media
11-07-2008, 01:29 AM
Works in 3.7.1 PL2! Loads of fun!
Anyoldname
01-17-2009, 11:47 AM
Anyone know if this will work with 3.8.0?
Also, is it possible that the replacement can also be a link? For example, can I do this?:
Censor List Replacing,<a href="https://vborg.vbsupport.ru/showthread.php?t=166011">Censor List Replacing</a>;
Pokerbanter
01-22-2009, 08:13 AM
I would like to know if it will censor "u" or "b" or "n" on their own or if they will screw up a number of words/HTML.
For example if I have u,you; b,be Will it change youtube to yoyoutyoubee???
Alfa1
01-22-2009, 01:44 PM
I would like to know if it will censor "u" or "b" or "n" on their own or if they will screw up a number of words/HTML.
For example if I have u,you; b,be Will it change youtube to yoyoutyoubee???
It replaces letters, while ignoring spaces. This means that it would change 'youtube' to 'yoyoutyoubee'. Even if you would add spaces and define the replacement as ' u , you;'. It ignores the spaces. It does not ignore words that have replacements in them.
I tried it on my board and it completely screws up my board, because of this.
Pokerbanter
01-23-2009, 08:47 PM
It replaces letters, while ignoring spaces. This means that it would change 'youtube' to 'yoyoutyoubee'. Even if you would add spaces and define the replacement as ' u , you;'. It ignores the spaces. It does not ignore words that have replacements in them.
I tried it on my board and it completely screws up my board, because of this.
Yes I tested it myself and you are right. Disabled it for now. Doubt this feature will ever be available and it is kinda essential to my board. At the moment we are having to moderate manually :(
Alfa1
01-24-2009, 12:37 AM
vb4 will have SEO functionality and James has requested to get suggestions for SEO, so I requested this functionality here:Global replacements (http://www.vbulletin.com/forum/showthread.php?t=297595)
Aadil
01-29-2009, 07:20 AM
anyone can confirm this works with 3.8
Miller85
01-29-2009, 11:04 PM
It's working here in 3.7.3 but it didn't work by default. I pushed and prodded it for a while to no avail but for some reason tried changing the "Execution Order" to 10 (it was at 5) and the product now works fine...
Many thanks
crzylee
04-06-2009, 09:40 PM
Doesn't seem to work in 3.8.0 Might have worked first off, but then the censored list took over. Now I can't get this to work.
Kahuna900
07-23-2009, 08:50 PM
Works in 3.8.3, but not always. Rather than have each search and replacement definition on one line, I had to create a single line to get them to work. It seems it works on recent posts but for some reason it doesn't work on older posts. Cache maybe? I haven't figured it out yet.
archey
08-27-2009, 07:30 PM
Thanks, just what I was looking for.
jddphd
12-03-2009, 01:50 PM
make sure you rebuild the post cache (MAINTENANCE) -- that's what it took for me.
vijayninel
01-12-2010, 10:11 AM
It messed up my board 3.8 real bad...even when it was partially working, sometimes it worked and other times it didn't.
Gamertype
03-24-2010, 02:04 AM
Will this work on vB 4?
sulasno
03-25-2010, 01:27 AM
will this work on vB 4.02?
Naijasite
10-07-2012, 01:10 PM
works well on 4.2.0
Protonus
05-30-2014, 02:57 PM
Tried this on 4.2.2 PL1 - could not get it to work even after rebuilding post cache :-(
@alexgeek - I would love to see an update for this.
Paul M
06-07-2014, 02:35 PM
@alexgeek - I would love to see an update for this.
The developer of this hasnt logged in for almost 6 years.
Mod Version: 1.2, by alexgeek (Contributor)
Developer Last Online: Sep 2008
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.