vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Referrals in Postbit (https://vborg.vbsupport.ru/showthread.php?t=53146)

filburt1 05-19-2003 10:00 PM

Referrals in Postbit
 
This hack displays the number of users each user has referred (via the referral system) in the postbit.

filburt1 05-19-2003 10:55 PM

Screenshot:

Alien 05-19-2003 11:08 PM

Nice job!

So this adds 1 query to the postbit page?

Talisman 05-20-2003 03:49 AM

[high]* Talisman installed, but is really bummed!
[/high]

:(

It didn't work. There's no number there and I've checked the insert before - insert after - and everything.

What's missing?

Dean C 05-20-2003 10:53 AM

A lot of people have wanted this for a longgg time ;)

- miSt

Boofo 05-20-2003 11:10 AM

Talisman is right. This hack isn't working.

Corleone 05-20-2003 12:48 PM

I'm getting.... Referred: users

No number is appearing

Any advice would be greatly appreciated, thanks.

Michael

partang2 05-20-2003 02:40 PM

No, this does not work here eighter! Please fix it because this would be great to have!

filburt1 05-20-2003 03:08 PM

Well, I'm out of ideas. What's wrong with it (code-wise!)?

Chris M 05-20-2003 03:35 PM

Shouldn't it be:

Code:

In postbit, find:

Posts: $post[posts]

Replace with:

Posts: $post[posts]<br>
$user[referredcount] users

??

:)

Satan


All times are GMT. The time now is 01:55 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.01110 seconds
  • Memory Usage 1,724KB
  • 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
  • (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