Customizing SMF > SMF Coding Discussion

2.0.2 add a member to group

<< < (2/6) > >>

Arantor:
Why can't the paid subscriptions system that's built into SMF do this for you, exactly?

repxl:

--- Quote from: Arantor on June 30, 2012, 07:50:36 AM ---Why can't the paid subscriptions system that's built into SMF do this for you, exactly?

--- End quote ---
it isnt build into smf i just use this ->


--- Code: --- //add member to membergroup "Premium Member"
require_once('../forum/SSI.php');
require_once($sourcedir.'/Subs-Membergroups.php');
addMembersToGroup(array($member_id), 10);
--- End code ---

Arantor:
Um, paid subscriptions IS built into 2.0.x...

repxl:

--- Quote from: Arantor on June 30, 2012, 05:45:10 PM ---Um, paid subscriptions IS built into 2.0.x...

--- End quote ---

hmmm sorry bro i dont understand you there are extra functions for paid subscriptions or i can use the add / remove function without admin login ...

plz tell me more cuz im out :/

Arantor:
SMF already has a complete paid subscriptions feature built in that is quite happy to add people to groups when they buy a subscription, and remove them automatically when the subscription ends. It's all built in and working and doesn't require any custom coding whatsoever to do any of this.

I'm trying to understand why you're trying to do this manually when it's all built in and literally just needs to be turned in Admin > Configuration > Core Features.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version