• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
TPU: Show Warning when bumping Old Threads

TPU: Show Warning when bumping Old Threads 1.0.2

No permission to download

Deriel

Well-known member
#2
Nice one! Installed!

But it's possible to change the hard coded phrases? I need to translate to Portuguese and have some words in Listener and DiscussionMessagePost hardcoded in english (for now, I changed the source)
 

Xon

Well-known member
#3
@W1zzard In _checkMessageValidity, there is no call to the parent version.

Also, there is a theming issue on dark themes due to the lack of colour on the text next to the checkbox.

Major issue is the use of template hooks and regex to detect & insert the template. This is causing some timeout of sufficiently long threads.
 
Last edited:

AndreaMarucci

Well-known member
#6
Hello, it seems that a phrase is hard coded maybe. Look here

Schermata 2015-12-31 alle 14.31.57.png

As you can see the word years remain in english. Where can I translate it? Tried to search for it with not results...
 
#8
I have the option set to 30 days, but it appears that it does not calculate it correctly.

"This thread is more than 3 years old"

1.PNG
 

Xon

Well-known member
#9
It is showing that the thread itself is over 3 years old, not showing how many days is considered a thread bump.
 

Xon

Well-known member
#14
I've got this addon installed under XF 1.4.7, and it is working as expected. Is the warning banner below the reply-box showing up?

Also, how old is the last post and what setting do you have the warning configured to trigger at.
 
#16
Despite the big warning notice, we still get new members necro-ing old (3+ years!) threads :(

Would it be possible to prevent new members from posting to old threads at all?

i.e. deny the ability to reply to the thread if they are a member of a particular group / only allow members of particular groups to reply to old threads?

Thanks.