GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech Wordpress plugin to sync banned words in comments? (https://gfy.com/showthread.php?t=1165588)

Adraco 04-26-2015 01:18 PM

Wordpress plugin to sync banned words in comments?
 
Anyone have an idea or suggestion for a Wordpress plugin, service or other solution where I can have one centrally located and managed list of banned words for my Wordpress comments and that list gets pushed out/synced to every one of my blogs which has been "subscribed" to that list.

Is there a plugin or a service that does this or would it need to be a custom solution?

just a punk 04-27-2015 04:12 AM

Duno if it exists anywhere, but I can write one for $150. Send me an email to cyberseo@cyberseo.net if interested.

freecartoonporn 04-27-2015 04:40 AM

one master server where the banned words list available as txt or any other format.


all other sites , will have one php file which will run daily at specific time using cronjob.

file.php contents can be something like this

read remote badwords file.

create array of words.

execute mysqli query to
search those words in Db comment_content
if found then either remove those words / replace those words with some other words / disable comment

just a punk 04-27-2015 04:45 AM

Nope. It's better to do this way:

1) One master server where the banned words list available as txt or any other format.
2) A WordPress plugin (must installed at all sites) which checks the comment for the banned words (using the text file from the master server) every time it's (the comment) being submitted.

freecartoonporn 04-27-2015 05:15 AM

Quote:

Originally Posted by CyberSEO (Post 20459637)
Nope. It's better to do this way:

1) One master server where the banned words list available as txt or any other format.
2) A WordPress plugin (must installed at all sites) which checks the comment for the banned words (using the text file from the master server) every time it's (the comment) being submitted.

yes, this is better approach , but its only better if user doesn't have to update the plugin every-time the wp updgrades .

Paz 04-27-2015 05:26 AM

I installed a WP plugin that turned a list of stopwords into ****

I had a few problems finding one that worked for titles as well as comments and other user generated content.

When I did get a good one, the Yoast SEO plugin took the dummy URL with a list of seriously bad-ass swear words and added it to an XML sitemap .... :)

Not good but I got away with it :)

just a punk 04-27-2015 05:31 AM

Quote:

Originally Posted by freecartoonporn (Post 20459653)
yes, this is better approach , but its only better if user doesn't have to update the plugin every-time the wp updgrades .

Mine will not require any updates :pimp

Adraco 04-27-2015 05:59 AM

Thanks for the suggestions, I am not much of a programmer myself, many are both better and faster than myself.

I did however continue my search yesterday and found this:

1. A Github project with an already tried and tested blacklist:
https://github.com/splorp/wordpress-comment-blacklist/


2. An existing plugin which fetches both the above mentioned list and possibly your own additions from a central domain:
https://wordpress.org/plugins/commen...t-manager/faq/


All times are GMT -7. The time now is 03:15 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123