Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Reputation Displayed As Numbers Details »»
Reputation Displayed As Numbers
Version: 1.21, by X1C3W5 X1C3W5 is offline
Developer Last Online: Jan 2008 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.7 Rating:
Released: 02-24-2007 Last Update: Never Installs: 73
Template Edits
 
No support by the author.

This is an updated and improved version of this thread (which was made on my old account).

Made this thread to give support and share simplified version of the modification.

This modification does the following on the postbit display:

Before modification:

Rep: XXXXXXXXX

After modification:

Reputation: 1046
XXXXXXXXX

Real and live examples can be found on my own community (look on the left side at user information):

Graphite Skin
iSkin Skin
Default Style Skin

Update Log
------------

1.2 -> 1.21

- Fixed issue where reputation amount in numbers would still be displayed if user would have disabled reputation display through user control panel. (Thanks to airborneCAL for noticing this)

1.1 -> 1.2

- Replaced the string "Reputation" with $vbphrase[reputation]. (Thanks to Icy for noticing this)

In "postbit" (horizontal style) and/or "postbit_legacy" (vertical style) template find:

PHP Code:
$post[reputationdisplay

REPLACE WITH:

PHP Code:
<if condition="$post['showreputation']">$vbphrase[reputation]: $post[reputation]<br /></if>$post[reputationdisplay

Please note that you might have to modify it to make it appear perfect on your skin. On my community's Graphite and iSkin styles I didn't have to do anything more special, but on Default Style style I had to place a <br /> in front of the REPLACE WITH code to make it appear on a new line.

If you have trouble with anything, I'll try my best to help you out.

Show Your Support

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

Comments
  #22  
Old 03-10-2007, 04:13 AM
Ronak's Avatar
Ronak Ronak is offline
 
Join Date: Sep 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Liked it 5 starz
Reply With Quote
  #23  
Old 03-12-2007, 03:31 PM
mcqwert mcqwert is offline
 
Join Date: Mar 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone please help me out... I've been trying to get this to work, it just isn't showing up. This is the code I currently have.

Code:
<if condition="$show['reputation']"><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]">Reputation: $post[reputation]<br />$post[reputationdisplay]</span></div></if>
Reply With Quote
  #24  
Old 03-12-2007, 03:36 PM
Mudvayne's Avatar
Mudvayne Mudvayne is offline
 
Join Date: Dec 2005
Location: /dev/null/
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mcqwert View Post
Can someone please help me out... I've been trying to get this to work, it just isn't showing up. This is the code I currently have.
If you want it to show on horizontal postbit then you will have to edit postbit template not the postbit_legacy template.
Reply With Quote
  #25  
Old 03-12-2007, 03:52 PM
mcqwert mcqwert is offline
 
Join Date: Mar 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oooh.... Much appreciated. Thanks.
Reply With Quote
  #26  
Old 03-13-2007, 04:27 PM
X1C3W5 X1C3W5 is offline
 
Join Date: Feb 2007
Location: Belgium
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I modified the first thread to include postbit change (instead of mentioning postbit_legacy alone) and updated the modification to change the string "Reputation" to the variable $vbphrase[reputation] (Thanks to Icy for reporting).
Reply With Quote
  #27  
Old 03-13-2007, 06:59 PM
Pacman15 Pacman15 is offline
 
Join Date: Aug 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks... I've been looking for this.
Reply With Quote
  #28  
Old 03-14-2007, 07:21 AM
ninjamaster's Avatar
ninjamaster ninjamaster is offline
 
Join Date: Oct 2006
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks nice work
Reply With Quote
  #29  
Old 03-23-2007, 10:53 PM
PassLab.net's Avatar
PassLab.net PassLab.net is offline
 
Join Date: Aug 2006
Location: LonDoN
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, thanks
Reply With Quote
  #30  
Old 03-25-2007, 07:18 PM
WAHMama WAHMama is offline
 
Join Date: Jun 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very kewl
Reply With Quote
  #31  
Old 03-26-2007, 09:46 AM
Fulla Fulla is offline
 
Join Date: Nov 2006
Location: Essex, England
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hiyas

This is what I found in postbit for reputation:

<img class="inlineimg" src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" alt="$post[username] $post[level]" border="0" />

Not sure what to do?
Help Please
Reply With Quote
Reply

Thread Tools

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 09:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04872 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (2)bbcode_php
  • (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
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete