Quote:
Originally Posted by Apophis
This does work with 3.0.7 with one minor modification.
Open
/includes/functions_subscriptions.php
Find
Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userid)
{
global $vboptions,$DB_site;
Replace With
Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userinfo)
{
global $vboptions,$DB_site;
It's a simple variable change from $userid to $userinfo
|
Confirmed...works just fine in 3.0.7
The only thing I saw there Apophis that was different in the function construct_payment from the original code was the addition of $DB_site;
My original mistake was putting too much info in the Find bit so it couldn't find the doggone statement. As soon as I just used the keyword "payment" it took me right there. That's why I was freaked out earlier! hehe I thought the original statements for that paragraph may have changed....it didn't...I just couldn't find the bugger! lol
Oh...also... I tried changing from $userid to $userinfo and back again, and it seemed to make no difference. It was that $DB that made the difference.
Overall...I am very pleased that with just this, the SMTP hack, and "How many posts since last visit" one, our boards have all the features and functionality that we used to have to apply 10 or more hacks to achieve! This leaves room for the "would be nice ...but not critical" enhancements if I so choose. *Hats off to dem dere VB developers man*