Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

Pay referrer not referral?
#1

I saw a thread about this already but the code seems to have changed since then. These are the instructions from the thread I saw:
Quote:Find:
PHP Code:
newpoints_addpoints(trim($mybb->input['referrername']), $mybb->settings['newpoints_income_referral'], 1, 1, true);

Replace that with:
PHP Code:
newpoints_addpoints($mybb->user['uid'], $mybb->settings['newpoints_income_referral']);

That, in file hooks.php

This is what I find when I look in the file:
Quote:newpoints_addpoints($user['uid'], $mybb->settings['newpoints_income_referral'], 1, $grouprules['rate']);
[Image: EcL1n.png]
#2

The other line should still be there though IIRC
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.




Users browsing this thread: 1 Guest(s)