hide topics and replies and last post only to the second category
2 posters
Page 1 of 1
hide topics and replies and last post only to the second category
hello, You helped me earlier with hiding the latest posts from one category only. Well, I made some major changes to the forum and now it works codes given to you. If you can help me fix the problem.
just want to hide the second category last post and topics and replies
other code:
CSS:
JS:
My forum: www.facegame.forumz.ro/forum
just want to hide the second category last post and topics and replies
- Code:
#pun-visit + table .main-head:nth-child(3) + .forumbitBoxLeft .tcr, #pun-visit + table .main-head:nth-child(3) + .forumbitBoxLeft .tc2 { display:none; }
other code:
CSS:
- Code:
#1 .tcr, #1 .tc2 { display:none !important; }
JS:
- Code:
jQuery(document).ready(function () { jQuery('#1 .tcr, #1 .tc2').remove() });
My forum: www.facegame.forumz.ro/forum
narcotiq- New Member
- Posts : 20
Reputation : 1
Language : Romanian
Re: hide topics and replies and last post only to the second category
Hello,
Since you removed the category ID, it will become more difficult to do this. You will now instead have to use the string of text from your main head of the second category to achieve this. If you change those texts you will have to change them in the script also.
Replace your last script with the following one :
Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management
As I said you'll have to change these texts if you change the title of that category :
Since you removed the category ID, it will become more difficult to do this. You will now instead have to use the string of text from your main head of the second category to achieve this. If you change those texts you will have to change them in the script also.
Replace your last script with the following one :
Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management
- Code:
jQuery(document).ready(function () { jQuery('.main-head:contains(Servere publice / Cereri / Activitate) + .forumbitBoxLeft .tc2, .main-head:contains(Servere publice / Cereri / Activitate) + .forumbitBoxLeft .tcr').remove() });
As I said you'll have to change these texts if you change the title of that category :
- Code:
:contains(Servere publice / Cereri / Activitate)
![-](https://2img.net/i/empty.gif)
» Moderators can't post topics/replies
» How to Hide a Category and containing Topics
» Forum Users Unable to Post Replies or Topics
» Change colour of category name,'topics', 'post' and 'last post' text
» hide posts/topics/last post
» How to Hide a Category and containing Topics
» Forum Users Unable to Post Replies or Topics
» Change colour of category name,'topics', 'post' and 'last post' text
» hide posts/topics/last post
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum