Quote:
Originally Posted by BBR-APBT
I am working on it later today to generate a Referral Link.
|
I've been trying that myself without much luck. Here's what I have but it's not working.
in OpenInviter/config.php
PHP Code:
<?php
require_once('/path/to/my/forum/global.php');
$url = "index.php?referrerid=" . $vbulletin->userinfo['userid'];
$openinviter_settings=array(
"username"=>"blah",
"private_key"=>"11111111111111111111111111111111",
"cookie_path"=>'/mycookiepath',
"message_body"=>"You are invited to blah.com! Please use the following link to visit the site: $url", // www.blah.com is the website on your account. If wrong, please update your account at OpenInviter.com
"message_subject"=>" is inviting you to www.blah.com", // www.blah.com is the website on your account. If wrong, please update your account at OpenInviter.com
"transport"=>"curl", //Replace "curl" with "wget" if you would like to use wget instead
"local_debug"=>"on_error", //Available options: on_error => log only requests containing errors; always => log all requests; false => don`t log anything
"remote_debug"=>FALSE //When set to TRUE OpenInviter sends debug information to our servers. Set it to FALSE to disable this feature
);
?>
In the invite email it will show:
but 'userid' is not getting passed
Awesome mod BTW, even with the openinvitaion quarks and issues.