vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Show Reputation title only? (https://vborg.vbsupport.ru/showthread.php?t=72200)

MiakaShi 11-26-2004 05:31 AM

Show Reputation title only?
 
Hello,

I would like to show only the reputation title on the postbit. Not the rep power points, or the actual number, or a bar with the little blips. I tried just using $post[reputationdisplay] and the name will show up, but after about 500 posts it starts repeating things so it'll say: Username the GreatUsername the GreatUsername the Great, etc. I'm pretty sure this is just because of how reputation was meant to be used.

So, my question is, can someone tell me/show me how to show just the title a person should have?

Brad 11-26-2004 05:56 AM

Edit the postbit_reputation template, find:

HTML Code:

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

$post[username] $post[level]
You might have to play with some mark up to get it to display the way you want it to tho.

MiakaShi 11-26-2004 10:51 AM

Hi,

Thank you for your timely answer, I appreciate it :)

I tried that suggestion already, but the text starts repeating itself after 500 posts or so.

I've looked into the reputation PHP file and I think what I was seeing was the code to calculate how many green squares should show up normally, which is why when I edited the the thing to $post username $post level the text started repeating. I just want the title listed.

All I need is the variable to show just the title, if such a thing exists, or the code I have to edit in the reputation php file to create something that just shows a reputation's title.

Any help would be really appreciated.


All times are GMT. The time now is 02:42 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.01031 seconds
  • Memory Usage 1,711KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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