vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Rep points (https://vborg.vbsupport.ru/showthread.php?t=212799)

fireboxssl 05-03-2009 10:18 PM

Rep points
 
I currently have the rep power showing but not the rep points ( the green bars do show )

Is it possible to show rep points ?

Thanks

fireboxssl 08-21-2010 05:57 AM

Any help on this would be great :)

DataHero 08-21-2010 06:50 PM

In vBulletin Options, go to Thread Display Options (showthread). Near the bottom, enable the checkbox which displays 'Display Reputation Power'. Save the changes, and that should do the job for you.

BirdOPrey5 08-21-2010 07:05 PM

To show rep points edit your postbit template, find an appropriate place, and add the following:

Reputation Points: $post[reputation]

That should display the number/value of their rep.

DataHero 08-21-2010 11:53 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2087489)
To show rep points edit your postbit template, find an appropriate place, and add the following:

Reputation Points: $post[reputation]

That should display the number/value of their rep.

Reputation Power should be in the templates by default already, no?

BirdOPrey5 08-22-2010 12:03 AM

He said he already has rep power showing but wants to show rep points...

Rep power will be shown if you enable the option, you need not do anything else.

Rep points don't usually show in postbit, just the graphical representation- the actual number doesn't show unless you do what I mentioned.

fireboxssl 08-22-2010 12:10 AM

Thanks guys, yea I have the rep power showing but not the rep points. I been looking at postbit template but no luck ( I am a noob ) is there maybe a mod I could use for this?

Ps. I am using a template.

Thanks

BirdOPrey5 08-22-2010 01:34 AM

OK... for the first change you said nothing happened, but what you did there was change the alt text of an image... if you mouse over the reputation bars the 'tool tip' that pops up should now show the Username and the Reputation Points, you removed the word or phrase that would otherwise be there such as "Username is on a distinguished path" - you now have something like "Username 15"

Now as for your postbit template, number one, are you using postbit or postbit_legacy? postbit_legacy is what is used here on vBulletin.org where the username and avatar are to the side of the post... regular postbit is where the username and avatar are above the post.

in the postbit template you posted (or in postbit_legacy) look for the line:

<span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span>

Immediately after the </span> tag and before the </div> tag add:
Code:

<br />Reputation: <span id="reppoints_$post[postid]_$post[userid]">$post[reputation]</span>
and you'll be good.

fireboxssl 08-22-2010 02:00 AM

Sweet thanks man :) it works. :up:

DataHero 08-22-2010 01:26 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2087580)
He said he already has rep power showing but wants to show rep points...

Rep power will be shown if you enable the option, you need not do anything else.

Rep points don't usually show in postbit, just the graphical representation- the actual number doesn't show unless you do what I mentioned.

Alright, awesome. Seems we learn things every day. Thanks for the information!


All times are GMT. The time now is 07:23 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.00977 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete