vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Hide PostCount (https://vborg.vbsupport.ru/showthread.php?t=101656)

Hellspire 11-26-2005 10:00 PM

Hide PostCount
 
Someone asked me to write this up and I figured I might as well share it with everyone. This is an EXTREMELY simple hack that hides the post count on postbit, and member profile.

Recently modified, see this post: https://vborg.vbsupport.ru/showpost....6&postcount=12

0 file edits, 2 plugin edits (very quick), 0 template edits.

Nination 11-27-2005 03:13 AM

It's awesome, but it maybe would be better if the selected user could determine if they would like the post count hidden?

Hellspire 11-27-2005 04:32 AM

Quote:

Originally Posted by Nination
It's awesome, but it maybe would be better if the selected user could determine if they would like the post count hidden?

Would be but that'd involve adding bitfields to the usergroup permissions as well as phrases, and all that all stuff that simply goes beyond the scope of why I wrote this hack. Also that sort of defeats the purpose... if a member has the ability to choose whether or not he/she can view their and other's post count then the one use (if not only, as I can't think of others for this hack) of discouraging an outlet of spam (to gain the highest post count) would be defeated eh? Sorry mate, no time, and other projects to work with.

Nination 11-27-2005 04:35 AM

No problem. I understand.

Snake 11-27-2005 10:49 AM

Great work!

FleaBag 11-27-2005 12:08 PM

You could actually do the user selectable on/off using a custom user profile field.

COBRAws 11-27-2005 09:40 PM

no more template edits when upgrading! greeeeat!

Hellspire 11-27-2005 09:44 PM

Quote:

Originally Posted by FleaBag
You could actually do the user selectable on/off using a custom user profile field.

Naturally but then again these are options and that's a profile field... so the only reason why I didn't was because it would be improper to place it there.

Quote:

Originally Posted by COBRAws
no more template edits when upgrading! greeeeat!

Glad it was of use... was this done in 3.0.x by someone else, just curious?

Lea Verou 11-27-2005 10:03 PM

You could do that via template changes without the need of a plugin :)

Hellspire 11-27-2005 10:06 PM

Quote:

Originally Posted by Michelle
You could do that via template changes without the need of a plugin :)

Obviously... so let's go back and now have our long laborous IF conditions, not to mention the fact that you have to do it for every style you have (smiles). So I think this is MUCH simpler =p.


All times are GMT. The time now is 01:29 AM.

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.01975 seconds
  • Memory Usage 1,732KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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