vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - Reputation Displayed As Numbers (https://vborg.vbsupport.ru/showthread.php?t=140415)

X1C3W5 02-24-2007 10:00 PM

Reputation Displayed As Numbers
 
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.

Mudvayne 02-26-2007 04:37 AM

Cool.

X1C3W5 02-26-2007 04:36 PM

Quote:

Originally Posted by Icy (Post 1190900)
Cool.

It's nothing big, but can be effective and cool looking ^^.

I'm not a web coder or designer (yet ;P), but I know how to change certain stuff and Google helps out a lot as well in this.

Just sharing since it's not available anywhere, hope people enjoy it.

fpattberg 02-27-2007 03:42 PM

Hi.

Has anyone tried this for the horizontal display.

I made the change in postbit but nothing changed.

Thanks.

Fabian

X1C3W5 02-28-2007 10:14 AM

I will very soon have my community in both vertical and horizontal, I'll update this thread and send out email for the update if anything special needs to be changed.

If not, I'll post it as well.

ShayOUU 03-04-2007 12:23 AM

Once your reputation reaches the point at which more than one green pip would be displayed, you'll have mutiple instances of "Repuation Number"

BOLT 03-04-2007 02:04 AM

I cannot find that code ANYWHERE in there. I am using the rogue skin. Know what the problem might be?

joopss 03-04-2007 03:00 AM

Thanks.

X1C3W5 03-05-2007 03:37 PM

Quote:

Originally Posted by BOLT (Post 1195210)
I cannot find that code ANYWHERE in there. I am using the rogue skin. Know what the problem might be?

Is the reputation even being displayed on that skin =/?

Tarvim 03-06-2007 04:59 AM

After giving a reputation in a post, the number disappear.
I need to do a refresh
Is it normal?


All times are GMT. The time now is 09:32 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.01130 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete