PDA

View Full Version : require refered members to make x posts before increasing referal #


jroy
08-09-2005, 11:48 PM
Hi, I am looking for a hack that requires refered members to make atleast x amount of posts before the person who refered them gets forum points and before their referal number gets increased. I am trying to stop people from referring members who wont post in order to earn forum points.

Logikos
08-10-2005, 03:52 AM
Hmmm, this is a pretty good idea.

Notes for me: The way this could be done is to create a new row in the user table 'int(5)'. upon registering if a user enters a referer, then it will query the database with '1' in the new user row. A cron can check all users that have been refered to see there postcount. If there post count is '=< X': Run Query.

Sorry thats some notes of how this can be done. If I have some time tomorrow I can see about doing this.

vBintense
08-10-2005, 05:35 AM
Could add it to nightly cron job, or hourly depends how fast it really matters if it shows.

But I like the idea as well.

jroy
08-10-2005, 09:10 AM
glad you guys like it

EricaJoy
08-10-2005, 12:21 PM
i would say check out the referral statistics hack as well to see if that could somehow be used to help in this as it SORT OF does this already.

https://vborg.vbsupport.ru/showthread.php?t=64469