Version: 1.00, by Unknown553
Developer Last Online: Aug 2007
Version: 2.2.x
Rating:
Released: 06-26-2002
Last Update: Never
Installs: 66
No support by the author.
First off, I need to thank c-pr0mpt's template driven pages hack for helping me with the online bit and template help.
Second, I must add a disclaimer. I am NOT fluent in PHP and this is my first publicly released hack. This may not be perfectly coded or the most efficient, but I have tested this numerous times on fresh vB's as well as hacked vB's and installation went smoothly every time, so I hope it works for you. I tried my best to make this hack as compatible as possible but I am sure I could have messed up somewhere. This is mostly an addon but optional integration is also supplied in the hack. If installation gets messed up it's not hard to revert, but it never hurts to backup your database first.
Now onto the details of the hack. This hack creates a new page for members that will send out emails to people of their choice with their referral links in them. It's a great way to get your members to promote your site. You could also start a referral contest and grant special prizes, like a custom title or avatar, to whomever gets the most referrals. You do not have to have referrals on, but it would help if you wanted to keep track of who has referred the most members.
Features:
1) Only registered members can use the referral page, guests will get an error page.
2) An error will also occur if a required field is left blank
3) Users can refer 3 friends at a time
4) Users can edit the title and message of their outgoing referral email
5) The user's referral link is in the email message by default (index.php?s=&referrerid=xxx)
6) Default title and message can be edited in the refer.php page
7) "Referring Friends" link appears in the who's online page when a member is referring people
Only 1 file edit (optional)
Only 1 template edit (optional)
3 new templates
1 new PHP file
4 screenshots in my next posts.
Support will be given, but as I said before, I am not fluent in PHP or MySQL, so I can't guarantee that I can make every addon or fix every error.
UPDATE: If you get a bug that sends you straight to the error page, install version 2.0. If the hack is already working for you, do not install version 2.0. This is just a bug fix, a patch, and is only needed if you can't get the original hack to work properly.
Enjoy.
-Marcus
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Hmm, I got the new one on... and it gives me a blank page when I click on the refer friends in the footer. I better go ask this question in the other thread.
Hmm, I got the new one on... and it gives me a blank page when I click on the refer friends in the footer. I better go ask this question in the other thread.
Ya, try after the second replacement in sendmessage.php to add an } at the end of the replacement.. That should do it.. I noticed the guy forgot that in his modification instructions.. Let me know.
**I just edited this, wrong filename I had listed before.. sorry