Why You Need a Profane Blocker
When I tackled my first website, I decided to play it conservatively. I was trying to survive Coding Dojo, a rough boot camp dedicated to web development, and I wanted to stay within my skill level. A few other students knocked out some excellent websites, while others began something big and drowned in code. I did not want to be the latter, but I knew I couldn’t compete with the former. I was somewhere in the middle.
So, I went to my bread-and-butter, and that’s golf. I have been golfing for several years and thought this might make an excellent subject for a website. The question was, what can I do based on golf and my lack of skill level? I’ve played on a dozen or so courses in Northern California but didn’t feel qualified to rate the best courses in our region. And, god forbid, I am not qualified to give tips. I only took one lesson, which shows in my game.
Still, I wanted to do something golf related. Then I thought, why does this have to be serious? So I devised the idea to show bad golfers they could play on good golf courses. I took my best advice and turned it into a website, telling golfers to focus on keeping the ball on the fairway and, when (not if) something goes wrong, punch it back on the fairway and move on. Who cares about your score? If you have to eat a stroke or two, so be it.
Essentially, leave the instructional websites to the experts.
As far as coding, I used HTML, CSS, Java, Django, and Python. Pretty much my go-to for building websites. Also, I seem to be getting pretty good at using code from other sources. Thanks to those who contributed to my cause (and you didn’t know you were contributing).
My Website Was Vulnerable to Attack
The idea for this website was essential, and my goal was to get it to function and worry about other things later. The plan was to do an introductory video on the home page along with a login/registration form. That took users to the second page, where I created a list of golf courses users can be challenged with but still have a good time. It contained a short write-up of each course with links to each course.
From there, users were directed to a wall where they could leave messages and make comments. This page was a make-or-break for my site. My purpose was to involve users on the site and hear their opinions. I thought this was a fantastic way to include users. So I put everything together, but I thought, what if some jerk got on the site and started spilling nasty words on the wall? Don’t you think that wouldn’t happen? Think again. I was like, this significant element (the wall) could destroy my website. I was too deep to give up.
There are profanity blockers, but I had trouble finding the correct code to fit. I started to get discouraged, but I wouldn’t give up. With the help of a teacher’s assistant at Coding Dojo, we found an element called profanity.censor that would adapt to Python from geeks-for-geeks. In my views section of the website, the profanity.censor code was put into the post_message and post_comment areas, as demonstrated in the lead image.
If someone tries to write some profanity, stars will appear. Some words have all stars on them. I was hoping that when someone sees that, it would discourage them from other vulgarity.
If you plan to invite discussion among users, I suggest using a profanity blocker. It beats monitoring the website 24/7 to ensure everything is clean and you have peace of mind.
Related Posts
About The Author
Steve Dempsey
Steve Dempsey has worked for a variety of news organizations for nearly 40 years. The majority of Steve's work came in sports, including covering the NFL, Major League Baseball, NBA, golf, and motorsports. Steve also wrote editorials in Opinion along with hosting a live-stream online show covering many topics. Steve is also an experienced web designer and CMS operator. He recently completed a web development boot camp named Coding Dojo.
Hello there! Do you know if they make any plugins to safeguard against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any tips?
Try Jetpack. It seems to work for me.
Hello would you mind letting me know which web host you’re working with? I’ve loaded your blog in 3 completely different internet browsers and I must say this blog loads a lot quicker then most. Can you recommend a good internet hosting provider at a honest price? Many thanks, I appreciate it!
I use Host Gator and I’ve been with them for over 5 yrs.
Holy cow! I’m in awe of the author’s writing skills and talent to convey intricate concepts in a clear and clear manner. This article is a true gem that deserves all the applause it can get. Thank you so much, author, for providing your knowledge and giving us with such a precious asset. I’m truly thankful!
Heya i?m for the first time here. I found this board and I find It really useful & it helped me out much. I hope to give something back and help others like you aided me.
Great items from you, man. I have consider your stuff previous to and you’re just extremely fantastic. I actually like what you have acquired right here, really like what you’re stating and the best way in which you say it. You make it entertaining and you continue to take care of to stay it wise. I can’t wait to learn far more from you. This is really a tremendous website.
Right now it looks like WordPress is the preferred blogging platform out there right now. (from what I’ve read) Is that what you’re using on your blog?
Yes. It’s very easy to use and quite versatile, too.
Thanks on your marvelous posting! I actually enjoyed reading it, you are a great author.I will make certain to bookmark your blog and may come back sometime soon. I want to encourage you to continue your great posts, have a nice morning!
It?s really a great and helpful piece of information. I am glad that you shared this helpful information with us. Please keep us informed like this. Thanks for sharing.
I just added this site to my rss reader, excellent stuff. Cannot get enough!
Wonderful website. Plenty of useful info here. I am sending it to some buddies ans also sharing in delicious. And obviously, thank you on your sweat!
Your style is unique in comparison to other folks I’ve read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I’ll just book mark this blog.
I’m impressed, I have to admit. Rarely do I come across a blog that’s both educative and amusing, and let me tell you, you’ve hit the nail on the head. The issue is an issue that not enough people are speaking intelligently about. I’m very happy I found this during my search for something regarding this.
I was more than happy to find this web site. I need to to thank you for your time for this particularly wonderful read!! I definitely liked every part of it and I have you book-marked to look at new things on your web site.
I have to thank you for the efforts you have put in writing this website. I’m hoping to check out the same high-grade blog posts from you later on as well. In truth, your creative writing abilities has motivated me to get my very own website now 😉
Aw, this was an incredibly nice post. Taking the time and actual effort to create a good article… but what can I say… I hesitate a lot and don’t manage to get nearly anything done.
Good site you have here.. It’s difficult to find good quality writing like yours these days. I really appreciate individuals like you! Take care!!