Hide new topic button inside a topic...
3 posters
Page 1 of 1
Hide new topic button inside a topic...
As title says is it possible to hide the new topic button inside an already created topic? I only want to keep the reply button and quote.
Many members of my forum believe that they can use the new button to make a reply to the topic and the result is to have many new topics than replies.
Can you help me with a css code perhaps???
Thank you in advance.
Many members of my forum believe that they can use the new button to make a reply to the topic and the result is to have many new topics than replies.
Can you help me with a css code perhaps???
Thank you in advance.
iarmagedon- New Member
- Posts : 10
Reputation : 1
Language : Greek
Re: Hide new topic button inside a topic...
You can replace the buttons with ones that members can understand better.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Hide new topic button inside a topic...
There is no possibility to remove it with a css code?
iarmagedon- New Member
- Posts : 10
Reputation : 1
Language : Greek
Re: Hide new topic button inside a topic...
Provide the URL of the forum and then we can see.iarmagedon wrote:There is no possibility to remove it with a css code?
Re: Hide new topic button inside a topic...
Sure here it is: hellasd3.4umer.com language is Greek.
Last edited by iarmagedon on August 10th 2015, 9:53 pm; edited 1 time in total
iarmagedon- New Member
- Posts : 10
Reputation : 1
Language : Greek
Re: Hide new topic button inside a topic...
Thanks, for reference your forum version is phpbb2.
To hide the new topic buttons in the topics, go to Administration Panel > Modules > JavaScript codes management
Make sure JS codes management is enabled ( the Yes / No radio buttons ), then create a new script with the following settings.
Placement : In the topics
If you don't want this method you can also remove them via the templates. However, you must be logged into the foundation account ( user 1 ) for this method.
Display > Templates > General > viewtopic_body
Find and remove :
Find and remove :
Save and publish the template.
To hide the new topic buttons in the topics, go to Administration Panel > Modules > JavaScript codes management
Make sure JS codes management is enabled ( the Yes / No radio buttons ), then create a new script with the following settings.
Placement : In the topics
- Code:
$(function() {
var sujet_a = document.getElementById('one'),
sujet_b = document.getElementById('Newtopic');
if (sujet_a) sujet_a.parentNode.style.display = 'none';
if (sujet_b) sujet_b.parentNode.style.display = 'none';
});
If you don't want this method you can also remove them via the templates. However, you must be logged into the foundation account ( user 1 ) for this method.
Display > Templates > General > viewtopic_body
Find and remove :
- Code:
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}one" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a>
Find and remove :
- Code:
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}Newtopic" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a>
Save and publish the template.
Re: Hide new topic button inside a topic...
YOU are the man ... worked perfect ...
iarmagedon- New Member
- Posts : 10
Reputation : 1
Language : Greek
Re: Hide new topic button inside a topic...
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» can i hide the quote button from topic owner
» Background image for user's post inside a topic
» How to make show&Hide button like this
» Hide emoticons button in Cbox?
» Need help with javascript to hide button
» Background image for user's post inside a topic
» How to make show&Hide button like this
» Hide emoticons button in Cbox?
» Need help with javascript to hide button
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum