View Full Version : refer a friend question
simple_john
08-12-2006, 01:21 AM
i have this as my refer a friend link:
<a href="sendmessage.php?do=sendtofriend&refer=1
">Refer to Friend</a>
this sends user #1 as the referrer.. what do i need to change '&refer=1' to so that the actual referrer is the person, user, actually sending the link?
The Chief
08-12-2006, 02:04 AM
i have this as my refer a friend link:
<a href="sendmessage.php?do=sendtofriend&refer=1
">Refer to Friend</a>
this sends user #1 as the referrer.. what do i need to change '&refer=1' to so that the actual referrer is the person, user, actually sending the link?
Use this if the member is clicking on the link at the place of the number:
$bbuserinfo[userid]
simple_john
08-12-2006, 10:02 AM
<a href="sendmessage.php?do=sendtofriend&refer=1
">Refer to Friend</a>
so instead of that, it would be:
<a href="sendmessage.php?do=sendtofriend&refer=$bbuserinfo[userid]">Refer to Friend</a>
thanks...
**************************
Tried it out and works fine!! Thanks for the help!!!!!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.