Jump to content

Forum Bug


DaveP
 Share

Recommended Posts

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 -

post-378-0-88747900-1342522773_thumb.png

Whereas it should look like this -

post-378-0-41689000-1342522774_thumb.png

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. :biggrin: )

  • Like 1
Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...