PDA

View Full Version : using referral Id cookie when landing on non vb page


Daggerzz
06-08-2009, 02:52 PM
I am trying to get my members to be able to use their referral link and have that link land on a non vb page. I think that when they use the cookie as it is set up when they land on a VB page some script writes the cookie to their computer. Is there a way that I could make it so that I can still save the cookie when they prospective new member lands on a non vb page?

Dismounted
06-09-2009, 07:11 AM
You can attach "?referrerid=X" to any vBulletin-based page (i.e. any page that includes global.php).

In other words, including global.php in any page will also create a referrerid cookie, as long as the ID has been supplied in the URL.

Daggerzz
06-09-2009, 07:40 AM
require_once('http://www.getastake.com/forum/global.php'); ok I got this to run without errors but the cookie still gets lost when I click the register link. I know the cookie can work because if I go to my forum first then to my non vb page and back to the forum to register the referrer is listed when I register.

I use this as my referal link

http://www.getastake.com/?referrerid=1 this does not go to forum and does not work

http://www.getastake.com/forum/?referrerid=1 goes through vb forum and does work.

Daggerzz
06-15-2009, 01:38 PM
Anybody??????????