Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show Reputation Count on User public profile Details »»
Show Reputation Count on User public profile
Version: 1.00, by doa24uk doa24uk is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.x Rating:
Released: 05-24-2009 Last Update: Never Installs: 8
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

This will show the number of rep points on the users public profile.

I have it set to show in the mini statistics box but you can use it anywhere!

The dt class & dd class are just text formatting to make it fit in with the site.

FIND in memberinfo_block_ministats

Code:
				<dd>$prepared[posts]</dd>
Add Below

Code:
<dt class="shade">Reputation Count: </dt><dd>$userinfo[reputation]</dd>

Enjoy!

DEMO HERE

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-26-2009, 06:09 PM
doa24uk doa24uk is offline
 
Join Date: Feb 2008
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated - fixed variable so it shows rep / karma count for the user who's profile page you're viewing.

It will now work so guests can see users rep points
Reply With Quote
  #3  
Old 05-27-2009, 07:13 AM
lm3a.net's Avatar
lm3a.net lm3a.net is offline
 
Join Date: May 2009
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank u man
Reply With Quote
  #4  
Old 05-27-2009, 08:30 AM
AeonGamer AeonGamer is offline
 
Join Date: Dec 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Very helpful

Just wondering. How would I do the same in the postbit legacy template? I tried using the same functions as your code but it looks like it revolves around a different code I think for the postbit templates.

My current Rep code in the postbit template. Which is just for the blobs. I want to have blobs and then the number underneath of it.

Code:
<if condition="$show['reputation']"><tr bgcolor="#ececec"><td align="center" style="border:1px;border-color:#d4d4d4;border-style:double;width:160px;">
It also has this underneath of it. Not sure if its relevant to the blobs though:

Code:
<div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></tr></td></if>
Thanks for any help you may give
Reply With Quote
  #5  
Old 05-27-2009, 09:30 AM
doa24uk doa24uk is offline
 
Join Date: Feb 2008
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AeonGamer View Post
Thanks. Very helpful

Just wondering. How would I do the same in the postbit legacy template? I tried using the same functions as your code but it looks like it revolves around a different code I think for the postbit templates.

My current Rep code in the postbit template. Which is just for the blobs. I want to have blobs and then the number underneath of it.

Code:
<if condition="$show['reputation']"><tr bgcolor="#ececec"><td align="center" style="border:1px;border-color:#d4d4d4;border-style:double;width:160px;">
It also has this underneath of it. Not sure if its relevant to the blobs though:

Code:
<div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></tr></td></if>
Thanks for any help you may give

In Postbit FIND


Code:
					<div>
						$vbphrase[posts]: $post[posts]
					</div>
ADD BELOW

Code:
<div>
Rep: $post[reputation]
</div>

IN postbit_legacy FIND

Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
ADD BELOW

Code:
<div>
Rep: $post[reputation]
</div>

This variable - $post[reputation] can be used anywhere in the postbit / postbit_legacy template so feel free to alter the layout to suit your needs.

DEMO HERE
Reply With Quote
  #6  
Old 05-27-2009, 11:03 AM
ARABESPIRIT ARABESPIRIT is offline
 
Join Date: Mar 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great work man
Reply With Quote
  #7  
Old 07-18-2009, 07:04 AM
Mahar Mahar is offline
 
Join Date: Aug 2004
Location: Wisconsin
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, what exactly do I have to edit if I want those pips to instead say Reputation: x,xxx?
Reply With Quote
  #8  
Old 07-21-2009, 03:41 AM
zombietom's Avatar
zombietom zombietom is offline
 
Join Date: May 2008
Location: ky
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice --Thanks
Reply With Quote
  #9  
Old 08-04-2009, 05:29 AM
Hendrickson Hendrickson is offline
 
Join Date: Aug 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I need some help, I do the edit in 3.8.3 and nothing hows up. Do I need to clear a cache or something? Maybe it does work with 3.8.3?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:33 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.11041 seconds
  • Memory Usage 2,282KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (10)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete