![]() |
Great! Glad you like it. :D
|
Unknown ... can you tell me how to include a bcc of each referal to myself? I'd like to monitor it since the fields can be edited and used for any purpose.
Thanks, Destee |
Edited...Fixed code in my next reply.
|
Thanks Unknown ... I rec'd the following:
Parse error: parse error in ... /forums/refer_send.php on line 25 |
I'm sorry, scrap that whole idea.
Just change this PHP Code:
PHP Code:
|
Unknown ... you are Da Man !!! ... if you're male ... hehehe :)
Thank you very much !!! This worked !!! Simply Loving Your Hack! Destee |
Great, glad you like it! :)
And yes, I am a male. ;) |
Hi Unknown ... it's me again ... :) ... All of my referals are including my userid (1) and username in the email body ... and not the actual user's id/name ... I tested it with a few other usernames/id's ... can you tell me what code I need to change to correct this (so that it picks up the actual user's id)?
FYI ... this is what I have in refer.php ... PHP Code:
Destee ps ... I promise, this will probably be the last time I bother you ... for this particular hack ... :) |
Make sure you have require('./global.php'); at the top of the file. Also maybe try changing $bbuserinfo[userid] to $bbuserinfo['userid'].
|
Unknown ... thank you for responding. I'm sure folk like me make folk like you think twice about sharing a hack.
The reason I was experiencing the above was because I had hard coded the text in the refer template (including my userid and everything). My Bad. I promise ... no more questions from me ... and who knows, now that you've spent countless moments with me regarding this hack ... I may be able to help someone else. :) All is well. Destee |
No problem. I am aware that support comes along with releasing hacks. Just glad it finally works 100% for you. :)
|
works great, thx!
|
Great Hack!
One Question.. how would I go about adding the # of referals to part of a users stats within their posts? For instance adding "Referrals: " under the registered date, location, and posts? I think this would make it a bit more "competitive" and enitice people to refer more. Thanks Greg |
huh? Can't open firefly's referrallist page.
|
this is a great hack! I hope to get some new members this way by offering a prize to the first person to refer 10 members. Thanks!
|
Excellent, very nice hack, without flaw. :)
|
Quote:
I think you have to create your own link in the navbar. e.g. www.yoursite.com/refer.php. clicks install! nice one M8! |
its not sending emails
|
Is there any way to allow non members to also refer friends?
Thanks a lot! |
All of my members still get the error page when clicking on refer a friend link. Any ideas. I have installed version 2.0
Quote:
|
Thankyou Unknown553,
Installation with the original zip seems to be running perfectly ok, though currently it has only been tested with staff and not members. I'm sure I'll soon get told if it isn't working correctly ;) Great modification, and finally an incentive to get my members referring their friends (I have custom status' turned off which my members HATE, the idea of winning one will cause a frenzy). [high]* Oblivion Knight clicks install.[/high] |
Installed on bornamerican.com
Many thanks. Cool hack. |
Looks great, will it work on 2.2.9?
|
Seems quite useless to me. Does people use the option?
|
Seems to work well on my 2.2.9...
BTW - any way of adding a disclaimer on the bottom of the e-mail message; stating that the message is sent by MEMBERNAME and replies should be sent to MEMBEREMAIL, and abuse should be reported to WEBMASTEREMAIL? I've added this manually, however users will be able to alter or completely remove this... In the similar function "email this page", this additional disclaimer text cannot be altered, and is not shown to the user prior to sending the message. Regards, TMM |
Ok, I have a problem, when someone refers someone else, where can you tell that each member has sent how many referals? Or is this counted when someone actually signs-up to the board from the link in the referal email? I can't find it anywhere where the referals are actually counted and displayed per user? Does this script actually do this?
|
It only counts the number of people that sign up and say $username referred me... It could keep track of how many referrals were sent with a bit of editing. It wouldn't be too hard to do, it would just require a query to be run.
EDIT -- I decided to make this. I'll be done right away, just testing. |
Man, that would be awesome.. Thanks.
|
Damnit.... Something's wrong with my code. Anyone willing to take a look at it, here it is.
For some reason when I complete the refer process, the databas has 30 total refers in it, no matter how many have been completed. |
Try this :)
|
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 06:12 PM. |
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:
|