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™

Renaming Levels in Page Level Restriction drop down

s2Member Plugin. A Membership plugin for WordPress®.

Renaming Levels in Page Level Restriction drop down

Postby s2MemberGuy » May 5th, 2011, 9:54 pm

Is there a way to rename the labels in the Page Level Restriction drop down.

Currently it says "Require Level #0 (or higher)"

My client gets confused by this and would like level#0 renamed to "Staff" and level#1 to Execs for example.

I have the S2Member General Options > Membership Levels/Labels > Force WordPress® to use your Labels? option set to YES. And I have renamed my first two levels.

However this doesn't seem to take affect.

Is this a bug?
User avatar
s2MemberGuy
Registered User
Registered User
 
Posts: 4
Joined: March 28, 2011

Re: Renaming Levels in Page Level Restriction drop down

Postby Cristián Lávaque » May 5th, 2011, 10:26 pm

That setting only affects WP's Users list.

You can look at the code for that panel in this file /s2member/includes/menu-pages/options.inc.php. This hook may help you
Code: Select all
"ws_plugin__s2member_during_options_page_during_left_sections_after_page_level_access"


I hope that helps. :)
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

Re: Renaming Levels in Page Level Restriction drop down

Postby s2MemberGuy » May 13th, 2011, 12:40 am

Cristián Lávaque wrote:That setting only affects WP's Users list.

You can look at the code for that panel in this file /s2member/includes/menu-pages/options.inc.php. This hook may help you
Code: Select all
"ws_plugin__s2member_during_options_page_during_left_sections_after_page_level_access"


I hope that helps. :)


Hi Cristian,

Thanks for your reply.

Can you elaborate on how this hook may help me to rename the levels in the options dropdown?
User avatar
s2MemberGuy
Registered User
Registered User
 
Posts: 4
Joined: March 28, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 0 guests

cron