vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   reputation postbit (https://vborg.vbsupport.ru/showthread.php?t=187137)

orange gold 08-03-2008 06:32 PM

reputation postbit
 
ok i think postbit is the thing that shows your posts and avatar and what not. if it isnt im talking about the thing that shows your avatar above each post and also shows username and posts and the rep boxes.

my question is how do i get it to show rep number. and rep level. like if i have 230 rep number my rep level would be 6 and it would show 2 green boxes or sumthing like that

example:

(username and avatar here)
posts: 564
rep: 230
rep lvl: 6 (image of 2 green boxes here)


how do i get it to display the info in red in the example. thanks - og

Froggy32701 08-04-2008 02:40 AM

Code:

$post[reputation]
Try adding this to your postbit. This worked for me on previous version of vb

EDIT:

In my postbit_legacy, I found
Quote:

<if condition="$show['reputation']"><div>
<br>
Under it I added

Quote:

Reputation:$post[reputation]
<br>
So it looked like this

Quote:

[<if condition="$show['reputation']"><div>
Reputation:$post[reputation]
<br>
The outcome

http://img355.imageshack.us/img355/2568/repwf0.jpg

Hope this helps.

Please not this is a custom skin, so you may need to play with it a little.


All times are GMT. The time now is 01:02 AM.

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.01496 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete