Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Reputation Displayed as Numbers Details »»
Reputation Displayed as Numbers
Version: 1.00, by UZFRED UZFRED is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 3.6.0 Rating:
Released: 09-07-2006 Last Update: Never Installs: 27
Template Edits
 
No support by the author.

Same thread but in the 3.5.x forum:
https://vborg.vbsupport.ru/showthread.php?t=118900

I was looking for this mod but I found no promising results on this community.
So I went out and try for myself and came up with the result I wanted.
So basically what this modification does is the following (X's represent the gems):

Before modification:

Rep: XXXXXXXXX

After modification:

Rep: 1046
XXXXXXXXX



For the Default template do the following:

In postbit_legacy find:

PHP Code:
</if>$post[reputationdisplay]</div></if> 
REPLACE with

PHP Code:
</if>Rep$post[reputation]<br /> $post[reputationdisplay]</div></if> 
For other templates (tested on ExtremePixels skin's Air and Fusion) do the following:

In postbit_legacy find:

PHP Code:
<if condition="$show['reputation']"><div class="info">Rep$post[reputationdisplay]</div></if> 
REPLACE with

PHP Code:
<if condition="$show['reputation']"><div class="info">Rep$post[reputation]<br /> $post[reputationdisplay]</div></if> 
If it isn't working on one of the templates you're using do the following.
Try to find the string "posts" in postbit_legacy. Below this piece of code you'll find the piece of code that displays reputation. You must find the part that displays the gems.

Before the Gem Display Code (on the Default Skin it was "$post[reputationdisplay]" (without quotes)) place:

PHP Code:
$post[reputation]<br /> 
I hope this was really useful to some people!


Screenshots

Air Skin


Fusion Skin


Default Style Skin


Show Your Support

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

Comments
  #2  
Old 09-08-2006, 09:18 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool, good idea.
Reply With Quote
  #3  
Old 09-10-2006, 12:48 AM
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my 3.6.0 skin is extremepixel iSkin and it doesnt even have the Give Rep button or anything..

I wanna make it have the Rep and the Rep Power and the rep Gems plus the button to add to reputation

I had it perfect on vB 3.5.4 it was something like this:

Points: 5849
Rep Power:232
Gems

Give Rep (add to rep button)
do you know how I can add this ?
Reply With Quote
  #4  
Old 10-10-2006, 11:45 PM
Minha Minha is offline
 
Join Date: Mar 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this modification
Reply With Quote
  #5  
Old 11-30-2006, 03:33 AM
ESADCG ESADCG is offline
 
Join Date: Mar 2005
Location: FLORIDA
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks SO much for this. Every other one I found didn't work.
Reply With Quote
  #6  
Old 11-30-2006, 06:21 PM
4yBak 4yBak is offline
 
Join Date: Apr 2004
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

may some one ask me how to change reputation display as numbers when turned on AJAX?

Example: when you add reputation through AJAX reputation value are displayed as image and not as number
Reply With Quote
  #7  
Old 01-30-2007, 03:52 AM
msibm msibm is offline
 
Join Date: Aug 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot.
Reply With Quote
  #8  
Old 01-30-2007, 12:36 PM
fpattberg fpattberg is offline
 
Join Date: Jan 2007
Location: UK
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.

I am trying to install this mod but I do not know where to replace the code. The code I have to delete is not in the template. This is the code it shows instead:

<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]">$post[reputationdisplay]</span></div></if>

Where can I replace the code in this code block above to have the Rep display?

Thanks.

Fabian
Reply With Quote
  #9  
Old 01-31-2007, 12:50 AM
rjp0615 rjp0615 is offline
 
Join Date: Dec 2006
Location: Cleveland, OH
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

appreciated.
Reply With Quote
  #10  
Old 02-25-2007, 11:11 AM
X1C3W5 X1C3W5 is offline
 
Join Date: Feb 2007
Location: Belgium
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New updated and improved version https://vborg.vbsupport.ru/showthrea...84#post1190284.

Support is now given in there.
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 09:44 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.04390 seconds
  • Memory Usage 2,297KB
  • 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
  • (5)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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