vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   OK dumb question- where do you enable display of Reputation Power? (https://vborg.vbsupport.ru/showthread.php?t=244556)

BirdOPrey5 06-13-2010 10:48 PM

OK dumb question- where do you enable display of Reputation Power?
 
After looking at my postbit template code I see there is an "if" statement to display reputation power if rep power display is enabled... The question is, where do I enable it? I've been though all my settings dozens of times in the 2 years I've been an admin and never seen this option... I specifically checked user reputation options and style options and nothing about rep power display anywhere. Obviously I could enable this by changing the template code- but what is the 'right way' to do it? Or did vB forget to put this setting in which I find doubtful too.
3.8.4 PL2 currently, bit started with 3.7.x.

ChopSuey 06-14-2010 03:46 PM

AdminCP > vBulletin Options > vBulletin Options > Thread Display Options

Scroll to : Post Elements Check "Display Reputation Power"

BirdOPrey5 06-14-2010 03:58 PM

Many Thanks!
I see it says there may be some performance decrease due to calculating the value but from what I saw in the template it looked like the value is calculated anyway and it was just an "if" statement to display it- do you have any idea on if this really increases overhead any?

ChopSuey 06-14-2010 04:39 PM

No idk click the (?) Button on the right side of the setting.

BirdOPrey5 06-14-2010 04:46 PM

Quote:

Keep in mind that these post elements add processing time to thread pages. For example, to get a user's age vBulletin needs to do some math on the user's birth date and the current date in order to get an age out of it. This calculation is done for each post being displayed on a thread page. The additional overhead is small but is there nonetheless. If you are wanting to optimize your forum for speed then you should disable these post elements.
I was just wondering if someone could confirm, I know it says it will need to calculate for each post if enabled but from my admittedly limited experience in php and vb it seemed like the variable for rep power is calculated anyway and the only option here is to display it or not, not actually do the calculation- unless it changes things elsewhere. I guess I could do the template edit to display the rep power and if it displays even with the setting off it's probably doing the calculation in the background regardless.

ChopSuey 06-14-2010 04:59 PM

Of with the setting off, it still would count it...


All times are GMT. The time now is 01:12 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.01032 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete