vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Reputation Power displayed in Postbit (https://vborg.vbsupport.ru/showthread.php?t=61395)

Milez 02-10-2004 09:07 AM

Reputation Power displayed in Postbit
 
Ive been trying to get this to work for a couple days so if anyone can shed some light please chime in!

I want users to see their Reputation power and points in the postbit. The Rep points was easy because the value is stored in the database and can be called from a variable. The Rep power is calculated at runtime and is a bit trickier! I found the code in /admincp/user.php that calculates Rep power.

The problem is that I cannot get it display nicely in the postbit as I have done with the rep power. Also I think you need to do another query to get the proper data to work with, which also sucks, vbb has enuf queries on most pages. Anyways I'm really lost with this one. Not sure if anyones attempted this or not.

If anyone is displaying the Rep Power anywhere on their board please let me know :)

Gary King 02-10-2004 08:06 PM

One minute I'll solve this one :p

Gary King 02-10-2004 08:09 PM

<a href="https://vborg.vbsupport.ru/showthread.php?p=475225#post475225" target="_blank">https://vborg.vbsupport.ru/showt...225#post475225</a>

Andreas 02-10-2004 08:24 PM

Gary W = Hack-O-Matic? ;)
SCNR

Gary King 02-10-2004 08:27 PM

Quite possibly :p

Cluster One 02-15-2004 06:35 AM

How do you create the Global Phrase part? Thats what confuses me, New to vB3 RC4

Gary King 02-15-2004 12:22 PM

Quote:

Originally Posted by Cluster One
How do you create the Global Phrase part? Thats what confuses me, New to vB3 RC4

You could install this hack: https://vborg.vbsupport.ru/showthrea...threadid=59819

OR for the long way: Go to Phrase Manager, at the bottom click on 'Add New Phrase' then select your phrasetype, etc. :)


All times are GMT. The time now is 07:32 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.01033 seconds
  • Memory Usage 1,719KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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