vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Remove post count in threads (https://vborg.vbsupport.ru/showthread.php?t=316088)

John Diver 12-17-2014 09:14 PM

Remove post count in threads
 
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

Quote:

Originally Posted by John Diver (Post 2527756)
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:

Code:

<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.

Code:

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

<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. :)


All times are GMT. The time now is 06:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00986 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete