Is there away to stop is from updating Groups? Or make it update a secondary Group? Its removing my admins from groups to the VIP Group lmao
Does this plugin add the user to a sub group so they keep their original group(s) or does this replace the group(s) that the user currently has if they purchase a package?
Guys, is there a way to make this work with Clickbank IPN?
I believe I installed everything correctly but when I go to "misc.php?action=payments" I get this:
From all I have seen, this plugin leaves much to be used! Anything that has to do with payment should not mess up this way!
Not sure if anyone has pointed this out already, but there's an issue with usergroups. File inc/plugins/mysubs.php, line 580:
if($sub['accepted_gids'] != 'all')
{
$gids = explode(',', $user['additionalgroups']);
$gids[] = $user['usergroup'];
$matched = array_intersect($gids, explode(',', $sub['accepted_gids']));
if(empty($matched)) $accepted_gid = false;
}
This does not work as the $sub variable hasn't been initialized. Instead, you should use $item which is loaded with the actual subscription.
if($item['accepted_gids'] != 'all')
{
$gids = explode(',', $user['additionalgroups']);
$gids[] = $user['usergroup'];
$matched = array_intersect($gids, explode(',', $item['accepted_gids']));
if(empty($matched)) $accepted_gid = false;
}
Without this correction, if one of the subscriptions has a blank field as allowed usergroups the whole process will fail.
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1364 - Field 'order' doesn't have a default value
Query:
INSERT INTO mybbrm_mysubs (name
,admin_desc
,description
,recurring
,price
,currency
,new_group
,active
,accepted_gids
,item_name
,item_number
) VALUES ('Loyalist','Loyalist','Loyalist',0,'N;','EUR',8,1,'all','Loyalist','sub_{$sid}')
Please contact the MyBB Group for technical support.
how to fix?
Hello, how can I make that the users don't have the option to select the subscription but instead go directly to the page where is the Confirm Purchase button? I just have 1 subscription, so I don't need the users to select between different options.
Is this possible?
Thank you