DaveP Posted July 17, 2012 Share Posted July 17, 2012 Just a quick heads up about a gotcha that had me going for a few minutes this morning (and a note to Ryan). One of my sites was getting battered with comment spam this morning, so I searched the forum for Ryan's description of spam proofing the comments module, so I used the search and found the thread and copied the code and it didn't work, at least the javascript that Robert Zelnick posted didn't seem to. It turns out that the highlighting of search results seems to have munged the code - Whereas it should look like this - Note that one instance of #CommentForm has been un-PascalCased to #Commentform and Robert's code was perfectly good. (I have said before that I didn't care for search term highlighting and now it looks like I have a got a good reason other than personal preference. ) 1 Link to comment Share on other sites More sharing options...
ryan Posted July 17, 2012 Share Posted July 17, 2012 Thanks for pointing that out. What's really strange is that it only seems to munge the last one: Hopefully the next IP.Board update will fix this. I'll check with Pete on if we can submit a bug report to them. Link to comment Share on other sites More sharing options...
Pete Posted July 17, 2012 Share Posted July 17, 2012 I'll look at it when I'm back at home (after the weekend). Technically on my hols but have sloooow Internet on my phone that I don't mind using for checking the forums Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now