Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 64 guests, and 263 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Posts: 249
Joined: October 2007
Show All Member Profiles 
Top Posters(30 Days)
isaac 13
Ruben 5
Morgan 4
M4TT 4
Gizmo 1
fidel 1
Latest Photos
Trees
Retreats
Rooms
Big stuff
Test
Previous Thread
Next Thread
Print Thread
Censor List #261805 11/08/18 03:53 PM
Joined: Sep 2006
Posts: 143
Larry Miller Offline OP
Member
How do I censor a multi-word name or short phrase where the second, and/or third word is separated by a space?

Express Hosting
Re: Censor List [Re: Larry Miller] #261806 11/08/18 04:04 PM
Joined: Jun 2006
Posts: 15,809
Gizmo Offline
UBB.threads Developer
The censor allows you to use a regex to match a bad string, so following the example of
Code
ba(.*?)word


You could censor the phrase "go f**k yourself" with:
Code
go(.*?)yourself


But keep in mind that if the user would use go and yourself in the same post it'd also match that entire post, so you could end up with something like
Code
How did the surgery go?  I hope that you're taking care of yourself.


Being flagged as:
Code
How did the surgery [censored].


Regex strings are great, and can be very confusing; you'd have to spend some time in Google to figure them out.

Honestly though, if users are unable to follow the rules you should look at taking on more moderators, or directly talking with users regarding bypassing the censor and community rules.

You could also setup a "Bad Eggs" group and setting the permissions for that group in every forum to force their posts be moderated before being made public:
Code
[+] All new posts are moderated 


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Censor List [Re: Larry Miller] #261807 11/08/18 04:18 PM
Joined: Sep 2006
Posts: 143
Larry Miller Offline OP
Member
PERFECT....thank you so much for your prompt reply


ShoutChat Box
Today's Birthdays
Charlie Heidal
Recent Topics
Geo Targeting Display of Custom Islands?
by PianoWorld - 04/15/19 01:08 PM
How-To Guides and Technical Articles
by Morgan - 04/06/19 08:46 AM
i am not a robot.
by Anonymous - 03/29/19 07:18 PM
What directory are avatar images saved in?
by CyberChild - 03/29/19 12:57 PM
EU Data Protection Notice
by M4TT - 03/27/19 09:23 PM
Forum Statistics
Forums35
Topics35,271
Posts192,337
Members12,157
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190420)