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.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
  #32  
Old 03-26-2007, 10:37 AM
X1C3W5 X1C3W5 is offline
 
Join Date: Feb 2007
Location: Belgium
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you give me a link to the skin on your community?
Reply With Quote
  #33  
Old 03-26-2007, 11:13 AM
Fulla Fulla is offline
 
Join Date: Nov 2006
Location: Essex, England
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.clancbs.com/board" target="_blank">www.clancbs.com/board</a>
Just vbulletin default style.
Reply With Quote
  #34  
Old 03-26-2007, 11:17 AM
X1C3W5 X1C3W5 is offline
 
Join Date: Feb 2007
Location: Belgium
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should be able to find the "$post[reputationdisplay]".

Make sure you don't include spaces in there like "$post[reputationdisplay] ".
Reply With Quote
  #35  
Old 03-30-2007, 05:47 PM
airborneCAL airborneCAL is offline
 
Join Date: Feb 2007
Location: Texas
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The numbers still show up for users that have the reputation disabled. How can you fix that?
Reply With Quote
  #36  
Old 03-30-2007, 09:36 PM
X1C3W5 X1C3W5 is offline
 
Join Date: Feb 2007
Location: Belgium
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by airborneCAL View Post
The numbers still show up for users that have the reputation disabled. How can you fix that?

Thank you for reporting this.

I will have it fixed and an update sent out within an hour.
Reply With Quote
  #37  
Old 03-30-2007, 10:29 PM
X1C3W5 X1C3W5 is offline
 
Join Date: Feb 2007
Location: Belgium
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShayOUU View Post
Once your reputation reaches the point at which more than one green pip would be displayed, you'll have mutiple instances of "Repuation Number"

I can't seem to reproduce this. With more gems, it still displays just once.

Quote:
Originally Posted by Tarvim View Post
After giving a reputation in a post, the number disappear.
I need to do a refresh
Is it normal?

This is very strange, I will look further into it and have an update released when I get this fixed.

Thanks for reporting.

I'm guessing it auto updates this on the fly, with AJAX or something, while this code is only in the postbit template.
Reply With Quote
  #38  
Old 03-31-2007, 04:19 PM
DiSpy's Avatar
DiSpy DiSpy is offline
 
Join Date: Feb 2007
Location: South Florida!!
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by X1C3W5 View Post
Thank you for reporting this.

I will have it fixed and an update sent out within an hour.
Can you tell me what exactly you changed?

I modified the code a bit to show different images, and am not sure what I did the first time I installed your mod, and what I added when I changed the images (using a different mod).

THANKS!
Reply With Quote
  #39  
Old 03-31-2007, 05:34 PM
X1C3W5 X1C3W5 is offline
 
Join Date: Feb 2007
Location: Belgium
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From 1.2 to 1.21

Change:

PHP Code:
$vbphrase[reputation]: $post[reputation]<br />$post[reputationdisplay

Into:

PHP Code:
<if condition="$post['showreputation']">$vbphrase[reputation]: $post[reputation]<br /></if>$post[reputationdisplay
Reply With Quote
  #40  
Old 05-17-2007, 10:05 AM
X1C3W5 X1C3W5 is offline
 
Join Date: Feb 2007
Location: Belgium
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested and confirmed working with version 3.6.7, updated version number on thread.
Reply With Quote
  #41  
Old 08-19-2007, 05:58 PM
Ba$im Ba$im is offline
 
Join Date: Apr 2007
Location: Saudi Arabia
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks fred it’s work gr8 with 3.6.8
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 01:26 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.05929 seconds
  • Memory Usage 2,318KB
  • 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
  • (4)bbcode_php
  • (4)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
  • (3)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