The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
I have been coding a ton I have not had time to implement my hack.
But I think there is an easier way to do this. Thru the email phrase for the subscription Any Affiliate script works by a user clicking the ad at your affiliate partner site. That link makes a cookie and sends the user to your product page. If the buy something you need 1. Order ID 2. Affiliate ID 3. Amount 4. If the transaction is ok or not. All the variables needed are used in both the Phrases email body?s bellow. So all you have to do is to make a custom email link because you are the only person who sees this email not the client. When you get a sale that is thru an affiliate you click the link in your email client approving the sale via the custom link added to the email body this would act like the trigger to give credit to the affiliate. // Admin CP look for the Languages & Phrases > Phrase Manager Inside the phrase ?email body ? 1. payment_ received 2. payment_ reversed // approve the Affiliate transaction 1. payment_ received The Var?s needed $userid Username : $username Subscription : $subscription Amount: $amount Processor: $processor Transaction ID: $transactionid // affiliate snippet code {Add your affiliate script link http://www.localhost123.com?var1& var2&var3} // If it?s a charge back take back the credit from the Affiliate. payment_ reversed The Var?s needed $userid Username : $username Subscription : $subscription Amount: $amount Processor: $processor Transaction ID: $transactionid // affiliate snippet code {Add your affiliate script link http://www.localhost123.com?var1& var2&var3} I have not tested it but it should work I?m going to use it soon. I?m give back to this site because it helped me with my Vbulletin Custom code to get an Idea of what was what. Thanks vbulletin.org and it members! Cheers, Brian Diaz Media 65 P.S Guys don?t steal my credit. bada_bing => Say hello to ?Joey Scoppetta? Hey |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|