latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Home Forums Bruce

Bruce

Staff Member

My Latest Replies (From Various Topics)

Viewing 25 replies - 2,276 through 2,300 (of 2,703 total)
Author Replies
Author Replies
Posted: Wednesday Dec 19th, 2012 at 2:42 am #35001
Bruce
Username: Bruce
Staff Member

Hi Leo,

Can you please send us a copy of the shortcode you’re using, and also ensure that your Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration and Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration is set up correctly?

Thanks.

Posted: Wednesday Dec 19th, 2012 at 2:40 am #35000
Bruce
Username: Bruce
Staff Member

Hi David,

It looks like the problem is that you’re putting files into subdirectories in s2member-files, and you didn’t put the subdomain into your call to s2member_file_download_key();.

Try this instead:

<?php
echo s2member_file_download_key('merryandbright/merry_ebook.pdf'); ?>

Posted: Wednesday Dec 19th, 2012 at 2:38 am #34999
Bruce
Username: Bruce
Staff Member

Hi Alex,

This sounds like it may be a theme conflict, or the side-effect of some custom code you have in place. Can you try reverting your theme to default 2011 and see if users are redirected correctly then?

Posted: Wednesday Dec 19th, 2012 at 2:37 am #34998
Bruce
Username: Bruce
Staff Member

Hi Alex,

Things such as this are usually caused by an improper setup of PayPal IPN. Can you double-check that everything is set up as stated in Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration?

Posted: Wednesday Dec 19th, 2012 at 2:35 am #34997
Bruce
Username: Bruce
Staff Member

Hi there,

Pro Forms currently don’t support this functionality. However, you could populate certain fields with JavaScript. You’ll want to make sure that you call an onblur for the fields that you populate so that s2Member knows that each field has been populated, however.

Posted: Wednesday Dec 19th, 2012 at 2:33 am #34996
Bruce
Username: Bruce
Staff Member

Hi John,

That should be succes="/update-my-membership-details/"

Posted: Wednesday Dec 19th, 2012 at 2:32 am #34995
Bruce
Username: Bruce
Staff Member

Hi Paul,

That code should work. However, s2Member will not set an EOT date for users that are on a subscription until the user has canceled subscription. If you’d like to know when the user’s going to be charged again, you should be able to use get_user_field('s2member_last_payment_time');

Posted: Wednesday Dec 19th, 2012 at 2:30 am #34994
Bruce
Username: Bruce
Staff Member

Hi Brian,

It appears that something’s being changed in the Pro Form by your theme’s .css file. Looking at your site under Google Chrome’s f12 feature it appears s2Member’s CSS rules are being overwritten in your theme. Try looking in your theme’s style.css file for any instances of !important

Posted: Wednesday Dec 19th, 2012 at 2:25 am #34993
Bruce
Username: Bruce
Staff Member

Hi Susan,

This is not something s2Member supports by default, but you may be able to run a WP_Cron process for this. You can check out info on WP_Cron here:

http://codex.wordpress.org/Function_Reference/wp_cron

Posted: Wednesday Dec 19th, 2012 at 2:23 am #34992
Bruce
Username: Bruce
Staff Member

Hi there,

This is a safe workaround, as you have the Pro Forms separated into other pages. Therefore the IDs are separated into different JavaScript documents, which will keep errors from happening.

Posted: Tuesday Dec 18th, 2012 at 2:03 pm #34960
Bruce
Username: Bruce
Staff Member

Loading the text-translations before the user logs in makes no sense to me.

The translation functionality needs to be fired before the text is created in the workspace. In other words, if WordPress includes the file that is creating the translation after the text is created, it won’t change it.

Posted: Tuesday Dec 18th, 2012 at 1:53 pm #34958
Bruce
Username: Bruce
Staff Member

Hi there,

Try adding the following to your theme’s style.css file:

div#headbar-wrapper {
	z-index: -1 !important;
}
  • This reply was modified 4 years ago by  Bruce.
Posted: Tuesday Dec 18th, 2012 at 1:53 pm #34957
Bruce
Username: Bruce
Staff Member

Hi there,

Try adding the following to your theme’s style.css file:

div#headbar-wrapper {
display: none !important;
}

Posted: Monday Dec 17th, 2012 at 11:18 pm #34877
Bruce
Username: Bruce
Staff Member

Hi Beth

Sorry for the delayed response.

I notice that the username field can (at least now) be seen, however the styling is slightly off. Have you edited the Pro Form template to work with your theme in any way?

Posted: Monday Dec 17th, 2012 at 7:59 pm #34873
Bruce
Username: Bruce
Staff Member

Hi Rhomeo,

Yes, with PayPal Pro your customer should never have to leave the site.

Posted: Monday Dec 17th, 2012 at 7:57 pm #34872
Bruce
Username: Bruce
Staff Member

Hi Andy,

Sorry about the delay.

Can you post the entire code snippet that you’re using?

Posted: Friday Dec 14th, 2012 at 3:29 pm #34706
Bruce
Username: Bruce
Staff Member

Hi JD,

I’m unsure how you handled your form. Did you not do it with s2Member?

If not, you should probably just allow your users to upgrade once their six months free is up, right?

Posted: Friday Dec 14th, 2012 at 3:09 pm #34703
Bruce
Username: Bruce
Staff Member

Hi Rob,

You may want to raise the permissions in these folders to 775 to prevent errors like this happening again. Or, if you’re rather not provide all of that access, 664 should work.

Posted: Friday Dec 14th, 2012 at 3:06 pm #34701
Bruce
Username: Bruce
Staff Member

Hi Kim,

You can check out the s2Member® » Pro » Videos section for info on how to work with Pro Forms. You can also check out Dashboard -› s2Member® -› Authorize.Net® Pro Forms -› Shortcode Attributes (Explained) for info on what each part of the Pro Forms do.

And a question, if I want to offer my members the choice of using PayPal or AUthorizeNet, can that be done on one form or do I have to create two different forms?

You can create an Authorize.net Pro Form, and a PayPal button. Or, two forms. Remember not to put them both on the same page, as that will cause errors.

Posted: Friday Dec 14th, 2012 at 3:04 pm #34700
Bruce
Username: Bruce
Staff Member

What is the difference between EOT and renewal dates? Isn’t it the same thing?

s2Member’s processes save the EOT date ONLY when the user will be revoked access. Therefore, if the user is scheduled to still send payments to your site to keep access, an EOT date is not set.

Using the code above I could create a My Account page and list on there Renewal Date: (insert that code there) and that would indicate when they are renewing based on when they registered. Is that correct?

That’s correct. You can use s2member_paid_registration_time ();, and do a little math to see how long they’ve been registered. You can also use get_user_field(“s2member_last_payment_time”); to get their last payment date.

Posted: Friday Dec 14th, 2012 at 2:58 pm #34697
Bruce
Username: Bruce
Staff Member

s2Member currently doesn’t have a EOT column. However there is a hack for this:

Knowledge Base » Adding A Sortable EOT User Column

Posted: Friday Dec 14th, 2012 at 2:57 pm #34696
Bruce
Username: Bruce
Staff Member

Hi Shane,

You said that you are able to restrict access based on if the user is logged in or not?

If so, can you use get_current_user_id()?

Posted: Friday Dec 14th, 2012 at 2:55 pm #34695
Bruce
Username: Bruce
Staff Member

Hi JD,

You should not need to have your users sign back up with s2Member, as s2Member uses the default WordPress User Roles and Capabilities functionality.

You should be able to allow them to log in with their old logins, and allow them to start paying through PayPal with Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms.

Posted: Friday Dec 14th, 2012 at 2:53 pm #34694
Bruce
Username: Bruce
Staff Member

Hi Brian,

I’m unaware of any problems with the Pro Login Widget currently. However, this may be a theme conflict.

Could you try reverting to the default WordPress theme, and see if that causes the Login Form to work?

Also, could you post a link to the page that your login form is on?

Posted: Friday Dec 14th, 2012 at 2:50 pm #34693
Bruce
Username: Bruce
Staff Member

Hi Mark,

A simple shortcut way to do this would be to set up code on your Login Welcome Page (install a PHP Execution plugin) like this:

if(current_user_can('access_s2member_level1')) // User is a paid member
	update_user_meta( get_current_user_id(), 's2_is_paid_member', true);

Now, you can do the following below this:

if(!current_user_can('access_s2member_level1') && get_user_meta(get_current_user_id(), 's2_is_paid_member', true)) // User is not a paid member
	wp_redirect('http://mysite/correct/page');
	exit();

We need your help with the api. If for some reason you cannot create the api for us please refer me to someone who can.

If you’re uncomfortable working with code w/ s2Member, we recommend posting your job on http://jobs.wordpress.net/, and/or http://elance.com/

Viewing 25 replies - 2,276 through 2,300 (of 2,703 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.