PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Auto Custom Capabilities

s2Member Plugin. A Membership plugin for WordPress®.

Auto Custom Capabilities

Postby meiguoacademies » September 29th, 2011, 3:28 am

From the Dashboard menu: s2Member >>> PayPal Buttons >>> PayPal Buttons for Level #1 Access (or for any other level of access), my question is: Is it possible to use "%%current_user_login%%" in the "Custom Capabilities" entry box, so that when a user purchases and registers their username, they automatically are given custom access to a page made up of their username? Thanks!
User avatar
meiguoacademies
Registered User
Registered User
 
Posts: 25
Joined: September 5, 2011

Re: Auto Custom Capabilities

Postby Cristián Lávaque » October 1st, 2011, 3:48 am

It needs a little custom coding to achieve since s2Member doesn't do it by default.

If you search the forum for my hack to login automatically after registration, you'll find the code you could use for this, just add a line that gives the user the custom capability. viewtopic.php?f=4&t=14211#p31548
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron