Version: 1.00, by amykhar
Developer Last Online: Nov 2013
Version: 3.0.7
Rating:
Released: 03-20-2005
Last Update: 03-20-2005
Installs: 9
No support by the author.
This one was done by request. It's a simple, easy to install hack that will take you less than 5 minutes to install. No screenshots because there's nothing to shoot.
If a new person registers at your board and lists an existing member as a referrer, this will automatically add the new user to the referrer's buddy list. And, the honor will be automatically reciprocated.
This is a great hack for beginners to try because it involves only one file edit and no templates, phrases, or database changes.
Enjoy
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
The problem is that it needs to be two options. The existing members need to be able to decide if they want the newbies to be on their buddy list and the new members need to decide if they want the existing member added to theirs. All easy enough to code, but I have enough trouble getting new registrants to read the registration screen without adding a new option.
couldn't you just have the user option in the existing buddies page? "add your new referrals to your buddy list"? and that be enough? alternatively you can do that and then send the new members a pm with a link to add the existing member to their buddylist?
[high]* sabret00the is just tossing around ideas [/high]
couldn't you just have the user option in the existing buddies page? "add your new referrals to your buddy list"? and that be enough? alternatively you can do that and then send the new members a pm with a link to add the existing member to their buddylist?
[high]* sabret00the is just tossing around ideas [/high]
I was thinking a very simple idea.
you add me as a referral.
You add me as a buddy. I get a pm saying you added me.
If I want to add you click here kind of thing and that is the end of it.
I was thinking a very simple idea.
you add me as a referral.
You add me as a buddy. I get a pm saying you added me.
If I want to add you click here kind of thing and that is the end of it.
Quote:
Straight forward no interface needed. Can some one put that together for me?
In other words if I get a referral they become my buddy and I become theirs.
instantly when the new guy joins up.
of course it should work with the referer link as well.
PLEASE guys its small if you can that would be nice.
Your original request said automatically and with no interface. So, that's what you've got. Feel free to tweak it to meet your specific needs if those needs have changed.
Your original request said automatically and with no interface. So, that's what you've got. Feel free to tweak it to meet your specific needs if those needs have changed.
why would you put a response like that?
What would that do.
I did ask for the hack and you responded and I am gratefull. Never said I wasnt.
I asked the second question simply becuase (should I retype all of it or use quotes?) A girl found from using the hack a ton of people was instantly (well in a day) added to her friends where she didnt want that to be the case.
SOOOOO from testing you could say I realized ok... you do need to inform a user. That isnt a interface. I dont see how you see that to be a interface.
AND I was only having a conversation. For me to tweak response I mean... I am asking here because I do not know how to tweak as you put it.
<br><input type="checkbox" name="addreferrer" value=""> Add $referrername to your buddylist?
Then from amykhar's hack,
REPLACE:
Code:
if($referrer)
{
// Put it in the database.
$DB_site->query("
UPDATE " . TABLE_PREFIX . "usertextfield
SET buddylist = '" . addslashes($testreferrerid[userid]) . "'
WHERE userid = $userid
");
}
WITH:
Code:
if ($referrer AND $_POST['addreferrer'])
{
// Put it in the database.
$DB_site->query("
UPDATE " . TABLE_PREFIX . "usertextfield
SET buddylist = '" . addslashes($testreferrerid[userid]) . "'
WHERE userid = $userid
");
}
To make adding referrer as an option at registration page.
Thanks but I dont think anyone would do that. Keeping in mind they are new.
Is there a hack (because I did not see it) that simply PM's a user (regardless if they have ignore pms on or not) that x user would like to add them as a friend? if they say yes the both are added if they say no JUST the x person gets them on the buddy list.
thats all and the hack would be flawless.
Anyone with out getting upset or offended could huck that up?
>>>amykhar How about this?
How would I go about having it done only one way then?
If I am adding a referrer it goes to my buddy list and thats that?
(Half of what this hack does) Thanks again.