logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
fpeacock  
#1 Posted : Friday, June 7, 2019 4:51:06 PM(UTC)
fpeacock

Rank: Newbie

Groups: Registered
Joined: 6/7/2019(UTC)
Posts: 0
United States
Location: Magna

How do I add a security roll to a user based on the product that is bought, as in buy item one add roll membership. item 2 add roll 30day. Item 3 add roll student?
leedavi  
#2 Posted : Friday, June 7, 2019 5:21:51 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 322
United Kingdom
Location: France

Was thanked: 28 time(s) in 28 post(s)
You'll need to build a plugin that uses the Event Interface and is triggered by the order change status. You can then put the logic in that to add the DNN role to the user.

https://github.com/opens...luginSingleInterface.pdf


Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.053 seconds.