Posted in site bugs
2274
5:15 am, February 10, 2021
 

so i guess i will have to re-think my comments strategy

so i wrote a quick and well not that spam free (apparently) comment system for this site.

while i was adding it inbetween test comments i found there was already spam being added, before i had even finished the code!

I had already added google recapcha to it, but i did not do the call back to check if the recap was successfull, so the bots must be bypassing it using another method. 

No actual real comments have yet been added. 

I might have to just disable it until i figure out how to stop the spam. 

I have noticed the same kind of comment spamming happening on wordpress sites as well so its not just me. 

Are people really that desperate for spammy back links?

I will try adding a spam score function, to check the comments for dodgy keywords, as i get more spam, i can add to the filter to make it more accurate. 

i have added that function to the comments add page, it seems to work quite well, if it finds 2 of the words in the array, it just returns the spam score rather than actually adding the comment. 

Now ill just monitor it and see if any new spam comments get throught the filter. 

View Statistics
This Week
74
This Month
338
This Year
750

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Articles
Search Articles by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
You want to be the best, you MUST put the long yards in! Nothing comes easy in life so stop wishing and start DOING! So many people would rather bitch and moan than help themselves. Dont be one of those negative drainers, start today, make a small change and keep going forwards with this attitude!
Unknown
Random CSS Property

align-self

The align-self CSS property overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis.
align-self css reference