View Full Version : Help with referrer link?
ajcbarrett
08-18-2008, 02:37 PM
I want a link thats a persons referrer link.
Just like www.FORUMNAME.com/DIRECTORY/register.php?referrerid=USERID
How can I do this? I understand the basics but not really sure how to use these variable names
cheat-master30
08-18-2008, 02:50 PM
Might be something like:
register.php?referrerid=$prepared[userid]
as the link location.
ajcbarrett
08-18-2008, 02:54 PM
That just gives the exact text as it is.. doesn't make it into a user ID
cheat-master30
08-18-2008, 02:59 PM
It depends on what page you use it though, the member profile, the postbit, various other pages...
ajcbarrett
08-18-2008, 03:00 PM
I want to use it wherever it will be best placed/easiest to do. Either a post, UserCP?
cheat-master30
08-18-2008, 03:01 PM
Try using $bbuserinfo[userid] for the user id.
ajcbarrett
08-18-2008, 03:11 PM
Sorry I think im missing something. Should this be surrounded by some kind of tag or something? Ive never used codes such as $bbuserinfo[userid] before.
cheat-master30
08-18-2008, 05:38 PM
Just place the link given in a <a> tag like any other link.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.