![]() |
Addon has been completed, tested, and now works! Someone send me e-mails saying that the $bbuserinfo var holds all the information in the User table for the current user.... I tried adding another un-needed query... :p
Anyways, here's the addon, just replace the PHP and the template, and run this SQL query:[sql]ALTER TABLE `user` ADD `referrals_sent` SMALLINT UNSIGNED DEFAULT '0' NOT NULL ;[/sql] Once this addon is installed, you can show the current number of sent referrals on any vB page with $bbuserinfo[referrals_sent] Enjoy! |
Oh, and Mist, you might wanna get rid of that attachment too.... I think it's kinda screwed on the "Sending Mail" line... :smoke:
|
My members are still having errors - see quote below:
Quote:
|
This changed script only counts the number of actual verified/registered referred members for your users. It will also only show registered and verified referred members in the refer page (status page). You can edit it how you like, but I'm new to php coding, so please reply with any comments.
I got tired of it counting referred members that wouldn't actually be registered and verified... This fixed that. Also thanks to unixman - all the referred members are now clickable to their profile. Attached are the new revised files. |
thank you works great !!!
|
Looks great!
does this work with 2.3.0? |
Yes... It works great for version, 2.3.0. I ran it on mine for over 4 months before stepping up to version 3
Good luck hope it helps you. :) |
Thanks for the confirmation Gspot!
Since moving to vb3, have you found many of the hacks you had on your vb2 board were automaticallly built into vb3??? Or are you running it with much less hacks? |
actually, I'm not installing very many hacks in my vb3 until the gold is released. There are many hacks that are being upgraded to work in vb3, such as the refer friends hack, but everytime you upgrade, you are required to over-right the files you have hacked, so kind of pointless to me at this time until gold is out..
|
do your members miss any of the old hacks???
I personally only started to hack now, over a year after i got vB, so now the hacks are pretty much rock solid. Thats my reason for not going to vb3 just yet. |
All times are GMT. The time now is 08:06 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|