Originally Posted by jorb
Originally Posted by id242
Its possible and simple to do.

In templates/default/showflat.tpl

at line 8 and line 222, FIND:
Code
{if $closed != 1 && $reply == "on"}

REPLACE WITH:
Code
{if $closed != 1}

done smile

Now, when someone who is not logged in clicks the reply button, they will be brought to a "UBB Message" page that says they dont have access to reply here, and that they need to log in. Once logged in from there, they will be brought back to that post.

Will this same code change also work on UBB.threadsâ„¢ PHP Forum Software 7.5.9
It work for 7.5.8
I'm testing it now.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 8.0.0
Release 20240826
Server OS Linux
Server Load 0.11
Web Server Apache/2.4.37
PHP Version 8.3.11
MYSQL Version 8.0.39
Database Size 1.82 GB