Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (isaac, Gizmo), 85 guests, and 291 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
usrbingeek
usrbingeek
Burlington, VT
Posts: 115
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 23
Morgan 12
Ruben 8
SteveS 6
isaac 5
JAISP 2
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
Censor List #261805
11/08/18 02:53 PM
11/08/18 02:53 PM
L
Larry Miller  Offline OP
Member
Joined: Sep 2006
Posts: 162
Long Island, NY
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
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Censor List [Re: Larry Miller] #261806
11/08/18 03:04 PM
11/08/18 03:04 PM
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 17,002
Portland, OR; USA
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 03:18 PM
11/08/18 03:18 PM
L
Larry Miller  Offline OP
Member
Joined: Sep 2006
Posts: 162
Long Island, NY
PERFECT....thank you so much for your prompt reply


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Reddy Kilowatt
by SteveS. 11/20/18 08:30 AM
testar
by Morgan. 11/18/18 02:33 PM
Phishing SCAM emails
by Morgan. 11/16/18 01:28 PM
Repliers can change thread title
by Baldeagle. 11/12/18 08:49 PM
Tabs In Header
by AstroCat. 11/11/18 08:33 AM
Forum Statistics
Forums36
Topics35,168
Posts191,613
Members12,114
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2