Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 1,704
CTM
Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Modification Name: Half-Censor

Author(s): CTM

Description: When a censored word is used on UBB, the whole word is replaced with stars. This mod only censors the middle letters in the word, leaving the first and last letters intact. This helps the community to stay clean from foul language, but at the same time does not make posts lose their context.

Demo: http://www.iphq.net/site/ubb/hackdemos/half_censor.gif

Requirements: UBB.classic 6.6+, will probably work on 6.5 and below

Download Link: http://www.iphq.net/site/ubb/hacks/6.7/half_censor.txt

Credits: Your name here - $5 wink

I've noticed on several communities that I regularly visit that UBB's censor can be somewhat overbearing at times. Sometimes words are wrongly censored, which can lead to confusion for visitors or makes posts lose their context. This mod helps communities avoid these problems while still enforcing the rules of the censor to keep everything suitable for both younger and older participants.

I'm classing this mod as final, since it doesn't have any bugs (it only involves editing one very small and simple sub). It just needs features adding onto it. I could probably fit in a CP interface to allow handling of the censor slightly easier, but the only thing I'm concerned about with this release is just getting the basics out as early as possible.

If anyone could test this on 6.4/6.5 to see if it works on those versions too, I'd appreciate it very much. smile

Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Nicely done chris; I'll have it installed over at UGN shortly wink ...

I may install a 6.4 release just to test it for you, but i'm waiting on PostNuke to install on one of my test sites (the joys of working for a webhost).

Umm, you should take my sugguestion from the admin forum... Have censor replacements... where f__k could be translated into another word or set of words all together :x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2001
Posts: 1,704
CTM
Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
I'll be on that one next, but it'd be more of a completely different mod than an addition to this one... They both involve the same basic subroutine though.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Lol sweet :x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)