PDA

View Full Version : Remove post count in threads


John Diver
12-17-2014, 09:14 PM
Hey,

I have done this for a long time but I don't know what exactly to remove in vb 4.2 - Been searching for a while but everything I find doesnt work

Thanks :)

HM666
12-17-2014, 10:34 PM
Hey,

I have done this for a long time but I don't know what exactly to remove in vb 4.2 - Been searching for a while but everything I find doesnt work

Thanks :)

Do you mean on the FORUMHOME page? There is no post count in the threads. Or do you mean remove Replies: or Views: instead. If you want to remove it from the home page do the following. If not let me know where you want to remove it from.

Open the forumhome_forumbit_level2_post template and find:

<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>

Delete that line of code and save.

John Diver
12-17-2014, 10:58 PM
Thanks for the reply :)

I mean in the actual postbit itself in all posts / threads.

I was also wanting to do the same as you posted so thanks for that! It was the same in previous versions, I'm just not sure what the code is for the postbit now.

ozzy47
12-17-2014, 11:11 PM
Screenshots of where it is you are referring to?

John Diver
12-17-2014, 11:33 PM
Hey ozzy,

I don't even have a program here for a screenshot, but in vb4 on the right of the default template it shows "Join Date" and below that, "Posts" - I just want to remove the Posts

Thanks :)

ozzy47
12-17-2014, 11:40 PM
Find this in the postbit_legacy or postbit template.

<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>

Change it to this.
<vb:comment><dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd></vb:comment>

John Diver
12-17-2014, 11:50 PM
Thanks ozzy - I was actually doing that but I always used legacy before and didn't realise it was the normal postbit after upgrading :)

Thanks

ozzy47
12-17-2014, 11:52 PM
S you are using the regular postbit, instead of the legacy style?

John Diver
12-18-2014, 12:15 AM
Yeah, I was, I just changed it though :) It's working now anyway, thanks again ozzy!

ozzy47
12-18-2014, 12:16 AM
Not a problem, glad to help. :)

HM666
12-18-2014, 12:18 AM
Thanks for the reply :)

I mean in the actual postbit itself in all posts / threads.

I was also wanting to do the same as you posted so thanks for that! It was the same in previous versions, I'm just not sure what the code is for the postbit now.

Ah ok glad you needed that code as well, we just killed 2 birdies with one stone in this thread! :)

John Diver
12-18-2014, 12:20 AM
Thanks to you also Len!

Appreciate the help :)