Comments censorship

Milouze

  • Newbie
  • Posts: 14
  • Trades: 9
Comments censorship
«  »
https://lestrades.com/offer/11039/

I understand the user is new to trading. I was wondering what level of visibility a non logged-user had, or a user not concerned with the actual offer, I got my response the hard way here :)

It would be nice to prevent Steam keys stand formats to be added to comments, thanks to some sort of censorship.
Or maybe a warning when detecting such string that would instruct the user into sending PMs instead ?

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,155
  • Trades: 185
Re: Comments censorship
« Reply #1,  »
Lol yeah... Comments are visible to everyone.
Although LT not being very popular, I'm guessing only a few select search engines are seeing it. (I'm not seeing particular bot activity in my access logs anyway.) So it's not surprising it didn't get stolen.

It's custom code you're asking for, but it makes sense. I'll look into it.
Re: Comments censorship
« Reply #2,  »
Check your thread.
Note that it'll only fix comments as they're entered. Not retroactively, which wouldn't be too helpful anyway.
Also-- only tests for Steam keys. Represents the major of use cases anyway...
It also doesn't take into account some weird Steam key formats that I've only seen used a couple times on HB. No biggie.

Drebian

  • Jr. Member
  • Stubbornly Optimistic Hufflepuff
  • Posts: 93
  • Trades: 17
Re: Comments censorship
« Reply #3,  »
This is why I love Lestrade's, it's great to see an owner who takes such detailed responsibility for his site.

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,155
  • Trades: 185
Re: Comments censorship
« Reply #4,  »
Thanks ;)

In this case it only took a minute to 'fix', I just went to my portion of the code which auto-added the Redeem button, copied the Steam key recognition code from it, then simply moved it to the portion of the code that inserts new comments, and replaced the key with a warning instead of the key + redeem button. :)

It probably took me longer to write this post. :lol: