Hello guys.
We are building a new forum around technical issues and want visitors to be able to read everything but not post. Permissions were granted to visitors correctly, but the New Topic and Reply to Post buttons still show up normally to visitors if we don't want them to. I found a method to hack the new theme keys in this post: viewtopic.php?p=15548256#p15548256 , which works and breaks the New topic button, but I can't find a solution to break the Post reply button. Can someone help me solve this?
Thank you very much
loukas79 wrote: Fri Dec 06, 2024 3:08 pm
Hello guys.
We are building a new forum around technical issues and want visitors to be able to read everything but not post. Permissions were granted to visitors correctly, but the New Topic and Reply to Post buttons still show up normally to visitors if we don't want them to. I found a method to hack the new theme keys in this post: viewtopic.php?p=15548256#p15548256 , which works and breaks the New topic button, but I can't find a solution to break the Post reply button. Can someone help me solve this?
Thank you very much
You could use the Group Template Variables extension to remove New Topic, New Post. etc... for specific groups
viewforum_body.html (for new topic)
viewtopic_body.html (for new post)
Take note you will have to do this for every style you're using.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.
Time flies like an arrow, but fruit flies like a banana.
I solved it according to that post: viewtopic.php?p=15482406#p15482406
The mistake was mine because in my haste, i made the code changes in the prosilver files while using pyrocode. When i edited the files that the post above says in my installed theme, everything works as i want it to.
The Post Reply and New Post buttons lead to the Login page and redirect back to Posting. That way, if your registered users are in the habit of visiting without logging-in, then it takes less keystrokes to log-in to post.
Brf wrote: Fri Dec 06, 2024 6:33 pm
The Post Reply and New Post buttons lead to the Login page and redirect back to Posting. That way, if your registered users are in the habit of visiting without logging-in, then it takes less keystrokes to log-in to post.
I know that the keys are not there by chance and that they are there for a reason. But i think that if someone is on a topic and logs in, that they are automatically taken back to the page they were looking at before. Even if there's no automatic redirect, it's okay for them to make a few more clicks.