Page 1 of 1

add ccaps upon successful completion of quiz

PostPosted: October 31st, 2011, 12:34 pm
by nathardwick
I'm using a quiz plugin to run a test for students and upon successful completion of the quiz, I'd like to add a custom capability to that user to make additional content available.

Has anyone done this? Is it possible using API...?

Any help would be much appreciated.

N

Re: add ccaps upon successful completion of quiz

PostPosted: October 31st, 2011, 11:22 pm
by slyhands
Bump this topic...I have a similar situation and would love to accomplish the same thing!

Re: add ccaps upon successful completion of quiz

PostPosted: November 1st, 2011, 8:30 pm
by Cristián Lávaque
You can add a custom capability the way you'd add a WordPress capability, just prefix it with access_s2member_ccap_, if I remember correctly.