|Posted: Monday Dec 10th, 2012 at 8:51 pm #34190|
I’m using a paypal button to add a custom capability to a user’s profile which works great.
However, the pages that I want to give that customer access to needs to include the custom capability code in the meta box on the page. This is fine when there is only one custom capability in that box, if I had another, it doesn’t seem to work. So, if for example the user had purchased the capability ‘music’ and i put just that in the meta box it works and they buy access and it’s all good. But they can’t access ‘games’..
So I have a second button, that gives access to ‘games’ and that’s all good.
But what if I want to give access the person that bought ‘games’ to the ‘music’ page as well?
If I type more than one ccapability into the page meta box it doesn’t seem to work.
So, I’m presuming it’s because I need to give the user both capabilities and that there is only one capability per page?
IF so, how do I use a button to give a user multiple capabilities at the same time?
Do I comma delimit them in the buy button?
Am I right in saying you can only add one custom capability per page?
thanks I really hope that made sense!
- s2Member® Products