Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Glitch alert: Invalid warning being attached to threads

#1
C C Offline
There's a spurious "Caution: Old Thread" warning that is being attached to new topics. It requires multiple edits of playing around with the Prefix labels to finally get rid of it.

EDIT: Hah! I see this very thread is currently sporting it, so the problem is self-evident. I'm leaving it as evidence.

2nd EDIT: Apparently it's only temporary. Returning to the posts later, the advisory disappears.
Reply
#2
C C Offline
I still notice it intermittently appearing again on threads that others start. Sometimes it's there initially, then you reload or return later and it's gone.
Reply
#3
stryder Offline
(Feb 23, 2024 09:34 PM)C C Wrote: I still notice it intermittently appearing again on threads that others start. Sometimes it's there initially, then you reload or return later and it's gone.

The original usage for this was down to how the site was setup.

I originally wanted to lock all threads after a year from being added to, however some of the members mentioned that sometimes they like to interact with an old thread rather than starting a new one. So instead of automatically locking them, I dropped a Javascript addition into the thread based upon the thread posters date. Unfortunately the javascript code used isn't particular brilliant it could of been tidied and tightened further. So it does behave odd with some threads. It shouldn't effect the threads too much although it can always be removed.

It's likely due to changes in security of browser practices that I haven't currently caught up with.
Reply
#4
stryder Offline
(Feb 24, 2024 03:12 AM)stryder Wrote:
(Feb 23, 2024 09:34 PM)C C Wrote: I still notice it intermittently appearing again on threads that others start. Sometimes it's there initially, then you reload or return later and it's gone.

The original usage for this was down to how the site was setup.

I originally wanted to lock all threads after a year from being added to, however some of the members mentioned that sometimes they like to interact with an old thread rather than starting a new one.  So instead of automatically locking them, I dropped a Javascript addition into the thread based upon the thread posters date.  Unfortunately the javascript code used isn't particular brilliant it could of been tidied and tightened further.  So it does behave odd with some threads.  It shouldn't effect the threads too much although it can always be removed.

It's likely due to changes in security of browser practices that I haven't currently caught up with.
Okay did think I had a fix, seems to not be the case I'll removed the offending bit of code.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trivial glitch C C 3 256 Aug 23, 2023 01:15 AM
Last Post: confused2
  Does anyone mind the bumping of old threads? Leigha 7 710 Sep 2, 2019 07:18 PM
Last Post: Leigha
  Why Are Older Threads Locked? Yazata 2 395 Dec 18, 2016 10:34 AM
Last Post: stryder
  Warning level? Magical Realist 5 1,611 Oct 7, 2014 09:13 AM
Last Post: Mr Doodlebug



Users browsing this thread: 1 Guest(s)