View Full Version : Remove Threads/Posts
TheAdminMarket
10-28-2014, 06:45 AM
Hello,
I want to remove the titles "Threads/Posts" and "Last Post" from forumhead. Just the title not the column content. Is there anyway like using: display:none or I need to edit the template(s)?
Thank you
Muhammad Rahman
10-28-2014, 07:57 AM
try add this on additional.css
.forumthreadpost,
.forumlastpost {display: none}
TheAdminMarket
10-28-2014, 10:11 AM
Thank you but unfortunately it does not works. I've also tried something similar from a stylevar that I found in the templates:
#forumthreadpost {
display:none;
}
but didn't worked eighter.
squidsk
10-28-2014, 02:40 PM
Edit the template and put <vb:comment></vb:comment> around the phrases and then after the </vb:comment> but in to make sure the element has something in it.
i.e. change {vb:rawphrase lastpost} to <vb:comment>{vb:rawphrase lastpost}</vb:comment>
TheAdminMarket
10-28-2014, 05:01 PM
Edit the template and put <vb:comment></vb:comment> around the phrases and then after the </vb:comment> but in to make sure the element has something in it.
i.e. change {vb:rawphrase lastpost} to <vb:comment>{vb:rawphrase lastpost}</vb:comment>
Thank you for your time. I know this way but I prefer (if possible) to avoid template edits.
ozzy47
10-28-2014, 05:30 PM
Couldn't you just edit the phrase?
TheAdminMarket
10-28-2014, 06:07 PM
Couldn't you just edit the phrase?
Thank you. I also tried it but it's used elsewhere where I want it to appear. Anyway seems that there is no way to use display:none, so I'll go with template edit.
Thank you all.
Muhammad Rahman
10-28-2014, 11:07 PM
i try in localhost for vBulletin 4.2.2 work fine ..
Seven Skins
10-29-2014, 07:37 PM
This should work.
.forumbit_nopost .forumhead .forumtitle, .forumbit_nopost .forumhead span, .forumbit_nopost .forumhead .collapse, .forumbit_post .forumhead h2 span {
font-size: 0;
}
TheAdminMarket
10-30-2014, 04:44 AM
This should work.
.forumbit_nopost .forumhead .forumtitle, .forumbit_nopost .forumhead span, .forumbit_nopost .forumhead .collapse, .forumbit_post .forumhead h2 span {
font-size: 0;
}
Works fine thank you. Just expected to work also in forumdisplay.php. Does that page uses different stylevars?
Seven Skins
10-30-2014, 01:27 PM
yes it uses different css, try this.
.forumbit_nopost .forumhead .forumtitle, .forumbit_nopost .forumhead span, .forumbit_nopost .forumhead .collapse, .forumbit_post .forumhead h2 span, .forumbits .forumhead h2 span.forumthreadpost, .forumbits .forumhead h2 span.forumlastpost {
font-size: 0px;
}
TheAdminMarket
10-30-2014, 06:49 PM
yes it uses different css, try this.
It's shame of me, but does forumdisplay.php having 2 types of lists? The subforums updated by removing the titles, but the thread listing still shows them.
Sorry, but can't like your post again.
Seven Skins
10-30-2014, 09:06 PM
Hello,
I want to remove the titles "Threads/Posts" and "Last Post" from forumhead. Just the title not the column content. Is there anyway like using: display:none or I need to edit the template(s)?
Thank you
It's shame of me, but does forumdisplay.php having 2 types of lists? The subforums updated by removing the titles, but the thread listing still shows them.
Sorry, but can't like your post again.
There is no mention of thread listing to be edited in your 1st post hence the code was not posted.
TheAdminMarket
10-31-2014, 04:56 AM
There is no mention of thread listing to be edited in your 1st post hence the code was not posted.
Reading again my message I foung that maybe that "Sorry I can't like your post again" maybe sounds with different sense than the one that I had in mind. Actually appears like "I'll not like your post again as your reply was not what I expected".
I do appreciate a lot the time that each user spents to reply. That's why, after your post I tried to "Like it" but I got message "You can't like again this member if you don't like someone else before".
As for your comment, yes it's true, but I'm not designer so I don't know how the system works. I just seen the filename (forumdisplay.php) and I thought that changing it, will corrects all listings.
Thank you
Seven Skins
10-31-2014, 03:55 PM
OK no worries .. try this code.
.forumbit_nopost .forumhead .forumtitle, .forumbit_nopost .forumhead span, .forumbit_nopost .forumhead .collapse, .forumbit_post .forumhead h2 span, .forumbits .forumhead h2 span.forumthreadpost, .forumbits .forumhead h2 span.forumlastpost, .threadlisthead span.threadstats, .threadlisthead span.threadlastpost { font-size: 0px;}
.threadlisthead a img {display: none; }
TheAdminMarket
11-01-2014, 09:21 AM
Works fine. THANK YOU :)
keyla31
11-08-2014, 02:07 AM
what template did you add this too?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.