The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
To see this in action go here.
Installation: 0. Download the attached zip file and extract it. 1. Create a new file named referrerlist.php and in it put the content of referrerlist.txt in it. Config $shownorefs. 2. Create a new template named reflist and put the content of reflist.txt in it. 3. Create a new template named reflistbit and put the content of reflistbit.txt in it. 4. Add an index to the field referredid in the table user. 5. Add a link to referrerlist.php?s=$session[sessionhash] anywhere you want. Good luck, and feedback is welcomed! Show Your Support
|
Comments |
#12
|
||||
|
||||
We should also make the referred members in the right column clickable but I'm going to bed. Maybe when I wake up someone will post the answer
|
#13
|
||||
|
||||
Thanks dwh, I appreciate your help.
|
#14
|
|||
|
|||
Here you go, clickable usernames in the last column - enjoy. Great hack ...
PHP Code:
|
#15
|
||||
|
||||
I liked this hack so much I modified it a hair (as seen on http://www.talkloud.net/referrerlist.php ) and put an install script together for the templates.
The only real difference here is it adds the challenge to the top ( User XXX has the highest referrals with XX, can you do better? ) and has a fancy schmancy install file (ala-Kier). Should you want to give it a go feel free to DL the file here. All credit goes to FireFly, and the others who modified his code |
#16
|
||||
|
||||
I haven't tried your code, but nice idea. One problem, on your site the top challenger you have listed is the second person w/ 2 referrals instead of the guy w/ 8 referrals.
|
#17
|
||||
|
||||
There are three variables in the script now:
$max=?? - This number decides how many users to display $userx=?? - Users to exclude from top referrer $userl=?? - Users to exclude from top referrer list On my board I have the admin [userid1] (me ) on the list but not on the top referrer for the board. It may look silly, but any admin worth his salt is going to have more referrals than his users I should think. If you dont like this you can set both userx and userl to 0 and it will list all. Otherwise any userids you list will be excluded. |
#18
|
|||
|
|||
Hi all,
My SQL is sooooooo bad. Instead of the number of 'clean' referrals I would like to introduce the RIP. What is this RIP. Well it is designed to give a workable indicator as to the effect of a single member's referrals within a given timeframe. How would it work ? Well .... The RIP is calculated as follows : -- you have a start date and an end date -- one RIP point is added to the RIP period total for each directly referred new member. -- add to this one half of the total RIP's for each directly referred new member. The refererid becomes a sort of child and parent. And you probably have to work backwards somehow. So no matter which time period you look at you get an accurate assessment of the members referal behaviour and referral effect. I would like to award referal prizes based on something like this instead of the 'one-on-one' hard referrals. Can anyone help on this? |
#19
|
||||
|
||||
eh, are you trying to say that you want to pro-rate the referrals so that new members who referrred a lot of people in a short time get a better ranking than old timers who had more time to get referrals in? Like a referrals/day type deal but called RIP?
|
#20
|
|||
|
|||
Hi dwh,
Thanks for the reply... but no not really that way, and certainly not with that effect. Let me try expalin it in another way. standard RIP logging - running totals in brackets period1. ===== Jack referes Jill and Simon -- Jack(2 RIP's) period2. ====== Jill refers Pete -- Jill(1 RIP) and Jack(2,5 RIP's) period3. ====== Pete referrs Paul --- Pete(1 RIP) Jill(1,5 RIP's) Jack(2,75 RIP's) If the period to be measured is 'period 3' the actual standings would be : Pete(1 RIP) Jill(0,5) Jack(0,75) a member therefor ALWAYS for any given period WILL have a RIP value if a 'child' refereree at any level were to obtain a registration. If Jack had refered 1 more member in period 3 in the current system of referals then would be a tie 1 RIP each. In the RIP system at the start of the period, depending on how large the referral tree is of a member and how deep there will ALWAYS be a RIP value ... albeit a very small one eg: --1 direct referal in period --0,5 referal once-revomed --0,25 referal twice-removed --0,125 .. --0,0625 .. --0,03125 and so on This accurately measures the effect of refferals of a user over time within a given time period. Hope this is clearer .. |
#21
|
||||
|
||||
look the hack i installed the original version and works fine for my needs
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|