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™

Button problem

s2Member Plugin. A Membership plugin for WordPress®.

Button problem

Postby formula » April 27th, 2011, 3:40 am

Hi,

when I use the long option for a button to insert into my post I have these:
<input type="hidden" name="on0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>" />
<input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" />

the problem is that the page doesn't render the php although I am using execphp plugin

any idea how to solve this?
User avatar
formula
Registered User
Registered User
 
Posts: 3
Joined: April 20, 2011

Re: Button problem

Postby Cristián Lávaque » April 27th, 2011, 4:08 pm

Are you using the HTML editor? It won't work with the Visual one.
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: Button problem

Postby formula » April 28th, 2011, 12:01 am

yes I do
User avatar
formula
Registered User
Registered User
 
Posts: 3
Joined: April 20, 2011

Re: Button problem

Postby Cristián Lávaque » April 28th, 2011, 12:49 am

OK. Could you post the HTML that results from that code?

Just curious, why do you prefer to not use the shortcode for the button?
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 0 guests

cron