Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
7 registered members (isaac, Gizmo, Slaz, Ruben, SD, Morgan, Kayjey), 67 guests, and 160 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 1,803
Joined: December 2003
Show All Member Profiles 
Top Posters(30 Days)
isaac 37
Gizmo 22
Morgan 20
Ruben 15
Zarzal 14
DennyP 12
SteveS 7
JAISP 4
Slaz 3
Latest Photos
Big stuff
Test
Testing to drag photos
Comfortable Cats
Test
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: 143
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: 15,729
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: 143
Long Island, NY
PERFECT....thank you so much for your prompt reply


ShoutChat Box
Today's Birthdays
No Birthdays
Recent Topics
UBB.threads 7.7.0 - Released
by isaac. 01/22/19 02:31 PM
forum emails are being rejected
by Morgan. 01/22/19 02:23 AM
7.7.0 Changelog Discussion
by isaac. 01/21/19 07:55 PM
cloudflare
by Morgan. 01/21/19 03:53 PM
active text placeholder?
by Zarzal. 01/21/19 06:37 AM
Forum Statistics
Forums35
Topics35,204
Posts191,846
Members12,132
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.7.0