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 - 1,726 through 1,750 (of 2,703 total)
Author Replies
Author Replies
Posted: Thursday Mar 21st, 2013 at 2:59 am #45299
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

My data is parsed in the file this way:

,aarnold,xxx(hidden for public view by me),Adrienne ,Arnold,aarnold,paypal,7/31/2012,level1,xxxxxxxxxx@gmail.com

The error seems to be in the format of your file. You must put the fields in the order that they are in the header of the CSV file. Also, the data you had for User Role was incorrect. level1 needs to be s2member_level1.

I can confirm that the following CSV File would import correctly:

"ID","Username","Password","First Name","Last Name","Display Name","Email","Website","Role"
,"aarnold","thispassword","Adrienne","Arnold","aarnold","xxxxxxxxxx@gmail.com","","s2member_level1"

In the future, I would recommend first exporting your current Users, then importing them with your new entries so you have an example of the layout that you need to following to import members.

Posted: Thursday Mar 21st, 2013 at 2:55 am #45298
Bruce
Username: Bruce
Staff Member

Well…you may not need to reply…yet.
Spoke to the host…and after a few “rounds”…they think that the certificate wasn’t installed properly.
Let’s wait to hear from them…

I checked your checkout page, and it looks like you’ve got it working now. Glad to hear you fixed your issue.

Let us know if problems persist. :-)

Posted: Thursday Mar 21st, 2013 at 2:53 am #45297
Bruce
Username: Bruce
Staff Member

The last week ive been having problems with saving post/pages. In my sql-loog i found this:

It looks to me like a conflict with SQL syntax based on your log entry. I can confirm that this error does not occur in a normal installation of WordPress 3.5.1 and s2Member + s2Member Pro v130221.

I would suggest contacting your hosting provider regarding this error. They should be able to give you a better idea of what’s going on here.

Posted: Thursday Mar 21st, 2013 at 2:46 am #45295
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’ll send this in as a feature request. In the meantime, I believe some Users have been using this Plugin to acccomplish this functionality with s2Member:

http://wordpress.org/extend/plugins/wp-email-login/

Posted: Thursday Mar 21st, 2013 at 2:44 am #45294
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

The best way to find what s2Member uses for deciding if a User can see a Post would be to look in this file:

/s2member/includes/classes/posts-sp.inc.php

I can tell you that s2Member does store the info for the required Custom Capabilities in a serialized array in the post meta field s2member_ccaps_req, which you have set up in in your example. This is set up the same way in this file (line 118):

/s2member/includes/classes/meta-box-saves.inc.php

If you continue to have problems, I would recommend first checking that the Post Meta field is being populated correctly when you call on the update_post_meta() function.

Posted: Thursday Mar 21st, 2013 at 2:27 am #45293
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

You can pull the current User’s username with PHP within a Shortcode, but not with another shortcode.
You might do something like this:

To use PHP in Post/Pages, you need a PHP Execution plugin installed.
Try the ezPHP Plugin for WordPress®
[s2Stream player="jwplayer-v6-rtmp-only" player_path="/jwplayer/jwplayer.js" file_download="/"<?php echo S2MEMBER_CURRENT_USER_DISPLAY_NAME ?>/video.mp4"/]
Posted: Thursday Mar 21st, 2013 at 2:22 am #45292
Bruce
Username: Bruce
Staff Member

thanks for the updated code. Unfortunately it seems to have no effect on where my users are redirected to after sining in. When having the edit_posts role permission enabled for users with role “access_s2member_level0″ they all seem to be redirected to http://www.website.com/blog/wp-admin/

I can confirm that the code that I posted works on in a normal installation. However I can note that this will NOT force a redirect if the redirect_to variable in the URL is set.

Please check the URL that you are trying to log in with. Make sure that is like this:

http://yoursite.com/wp-login.php

and does not have a redirect_to variable like the below:

http://yoursite.com/wp-login.php/?redirect_to=/wp-admin/
Posted: Thursday Mar 21st, 2013 at 2:17 am #45290
Bruce
Username: Bruce
Staff Member

I went back to WP-admin dashboard > s2 General Options. There WERE Custom Registration Fields. I can create/edit them. No longer warning.

Is it possible that you have a process caching your mySQL calls? Try flushing your caches, and see if your options are back.

I am unaware of any reason upgrading WordPress would cause any problem with losing data, since your database and the files for WordPress are totally separate.

Posted: Thursday Mar 21st, 2013 at 2:15 am #45288
Bruce
Username: Bruce
Staff Member

Well…I canceled the previous recurring payment, but it gave an automatic EOT, which I would think it shouldn’t have if it had connected the modified annual payment to her profile. But I changed the EOT to reflect the annual payment and hope that will be enough since it said in the guide that s2member “will obey” what I put in there?

This is intended behavior, assuming that you still have the account’s Paid Subscription ID filled in with the Transaction ID from the original subscription. You should first remove this from your User so s2Member will not be able to link the User with the transaction. Once this is done, s2Member can simply ignore the cancellation.

Not really. Because of the Paypal messes and because I will soon be raising the price, I want to easily offer only my current members a new annual payment. I plan to announce it this week. So I wonder where to send them to find the subscriber modification button to allow the change. I wouldn’t want it on the public membership page.

If that’s the case, I would recommend a little creativity here. Try creating your Pro Form with the new price with a Custom Capability as well, such as “price_1”. Then you can use Shortcode Conditionals on the page where you have your Modification form, and change the price based on whether they have this new Custom Capability or not. Users without the Custom Capability would be your older subscribers, and therefore would get the lower price.

See: Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals

Posted: Thursday Mar 21st, 2013 at 1:24 am #45285
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We are very sorry for the delay in response.

However, do I need to then create a separate welcome page for every number of logins possible:
http://MYSITE/0-new-members-welcome/
http://MYSITE/1-new-members-welcome/
http://MYSITE/2-new-members-welcome/
http://MYSITE/3-new-members-welcome/
etc?

If you use the replacement code this way, then yes. However, you could also just have 1 central Login Welcome Page, and pass the variable via GET variable to the page, and grab the number of times a User has logged in with PHP.

You’d do something like this under Dashboard -› s2Member® -› General Options -› Login Welcome Page:

http://yoursite.com/login-welcome-page/?num_of_logins=%%current_user_logins%%

Then, in your Login Welcome Page , with a PHP Execution Plugin installed, you could do the following
(See: Knowledge Base » ezPHP Plugin for WordPress®):

<?php echo $_GET&#91;'num_of_logins'&#93;; /* This would display the num_of_logins variable we passed */ ?>

Does that make sense?

Posted: Thursday Mar 21st, 2013 at 1:16 am #45282
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We are sorry for the delay in response.

We have a new IT Association and we need to have a very comprehensive list of questions answered in
the member application/registration/sign up. Can S2 member pro accomplish this?

The fields would need to be searchable by the public, such as “How long have you been in business”, and the abilty to

s2Member is definitely capable of requiring Users to fill out Registration Forms as they sign up. However, your requirement of being able to search through these fields is not yet supported by s2Member. This functionality would require custom code on your part.

The reason for this is the way that s2Member stores its data for Profile/Registration Fields. All of the values are stored in a serialized array in your database, and therefore are not searchable through normal WordPress functionality. This is something we’re addressing in the next major version of s2Member.

Posted: Tuesday Mar 19th, 2013 at 1:47 am #45141
Bruce
Username: Bruce
Staff Member

Glad to hear you fixed your issue. :-)

Closing thread.
Posted: Tuesday Mar 19th, 2013 at 1:43 am #45140
Bruce
Username: Bruce
Staff Member

Glad to hear you fixed your issue. :-)

Closing thread.
Posted: Tuesday Mar 19th, 2013 at 1:42 am #45139
Bruce
Username: Bruce
Staff Member

Thank you for your suggestion!

s2Member tries to allow the least room for error possible by using the WordPress default Forgot Your Password process. The area in which this takes place is fully customizable with s2Member, as well. You can find info on this here:

Dashboard -› s2Member® -› General Options -› Login Registration Design

Would you please consider allowing a page shortcut for this action, it would therefore match a website theme.

I’ll take this as a feature request.

Posted: Tuesday Mar 19th, 2013 at 1:20 am #45138
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I did a test and got this to my test user.

[Name of WordPress] Your username and password email that is sent after a member pays.

It sounds like you’re looking for the edit panel for the New User Email Configuration. That’s located here:

Dashboard -› s2Member® -› General Options -› Email Configuration

Posted: Tuesday Mar 19th, 2013 at 1:17 am #45136
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

Has the functionality to link using custom capabilities been added (I found this article where it was mentioned in July 2012 http://www.s2member.com/forums/topic/mailchimp-lists-and-custom-capabilities/)?

No, unfortunately we have not yet added this functionality to s2Member yet. I will send another request in to our development team to see if it’s possible for the future.

In the meantime, the easiest way I could see of accomplishing this would be to set up an API Notifications handler, and handle the back-and-forth with MailChimp manually with your API Notifications handler. This will take quite a bit of custom code to accomplish, however.

See: Knowledge Base » Building An API Notification Handler

Posted: Tuesday Mar 19th, 2013 at 1:13 am #45135
Bruce
Username: Bruce
Staff Member

Thank-you for the information.

Closing thread.
Posted: Tuesday Mar 19th, 2013 at 1:12 am #45134
Bruce
Username: Bruce
Staff Member

I’m not sure what you mean by test transactions and how to set that up to make it easy for you to test.

We would simply set up a $0.01 Pro Form to test the transaction process on your site to see if we can recreate the issue ourself.

I do not see a Private Contact Form submission from you. Could you please update us on when you do send us this info?

Thank-you.

Posted: Tuesday Mar 19th, 2013 at 1:09 am #45133
Bruce
Username: Bruce
Staff Member

Thanks for the kudos! We’re very happy to help. :-)

Posted: Tuesday Mar 19th, 2013 at 1:08 am #45131
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We are very sorry for the delay in response.

I have a paypal business account and a s2member pro account.
How can I make customers pay with their credit card without a paypal account?

Of course, the best way to allow your Users to check out without a PayPal account would be to sign up for PayPal Pro, and use s2Member’s Pro Forms. This would allow your Users to sign up all on-site with credit cards, via s2Member Pro Forms.

Note that if you’re using subscriptions, you’ll need to have Direct Payment Recurring Payments (aka DPRP) enabled on your PayPal Pro account to process recurring profiles.

See: https://www.paypal.com/cgi-bin/webscr?cmd=xpt/cps/general/DPRPLaunch


Alternatively you can do this without PayPal Pro, assuming you are not signing your members up for subscriptions. The way you’d do this would be to use s2Member’s PayPal Pro Forms, and change your accept_via_paypal=”” attribute from just paypal, to paypal,visa,maestro… (i.e. all of the credit cards you’d like your Users to be able to check out with within PayPal).

From the docs
(Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained)):

accept_via_paypal=”paypal” Accepted Billing via PayPal®. A comma-delimited list of Billing Methods you want to accept through PayPal®, as opposed to processing them on-site. Due to a PayPal® policy, you may NOT exclude PayPal® from this list; s2Member won’t let you. Tip: If you don’t have a PayPal® Pro account, you can set accept=”paypal”, or set accept_via_paypal=”paypal,visa,mastercard,amex,discover,maestro,solo”. With one or both of these configurations, all you need is a PayPal® Standard account with Express Checkout (which is free). Not valid when cancel=”1″.

This method is available with a PayPal Express Checkout (which I believe you are using currently). However, this will not work correctly with recurring subscriptions.

For more information, see: Knowledge Base » PayPal® Compatibility (Account Types)

Posted: Tuesday Mar 19th, 2013 at 1:03 am #45129
Bruce
Username: Bruce
Staff Member

Thanks for the follow-up.

So I guess there’s no way to block the access at expiration date?

s2Member does allow you to completely delete an account via the Automatic EOT functionality I mentioned above. You’d want to change the Auto EOT settings to reflect this here:

Otherwise, the best way to just “deactivate” User accounts is to restrict your content at s2Member Level 1+. This way they are unable to access any of your content if they are s2Member Level 0 (aka a Subscriber).

Posted: Tuesday Mar 19th, 2013 at 12:52 am #45124
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We are very sorry for the delay in response.

In addition to adding that string to the Registration section would I also want to include it in the EOT deletion notifications? Would I need to make any modification or use it as is?

I’m not familiar with GetResponse, so I would recommend checking what is required to denote a cancellation for GetResponse’s handler. I doubt that the URL that you’re currently using would work correctly. If you’d like to post the URL that should be sent the information, I’d be happy to point you in the right direction here.

Also, can I still have different lists for each level using the API notification?

I have Level 0 and Level 1 with several custom capabilities. I know I can’t have different lists for custom capabilities but a different list for Level 1 would be good.

I believe you could probably distinguish different level Users either by passing s2Member’s %%item_number%% variable to GetResponse.

From the docs
(Dashboard -› s2Member® -› API / Notifications -› Payment Notifications):

%%item_number%% = The Item Number (colon separated level:custom_capabilities:fixed term) that the payment is for. [ ? ]

Posted: Tuesday Mar 19th, 2013 at 12:46 am #45123
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We are very sorry for the delay in reponse.

To enable SSL on a specific Post/Page, with s2Member, you will need to have an SSL Certificate for your site. You can then add the following to the Custom Fields area in your WordPress Add/Edit Post/Page section (you may need to enable this section in the Screen Options panel at the top right of your screen).

Posted: Tuesday Mar 19th, 2013 at 12:43 am #45122
Bruce
Username: Bruce
Staff Member

Thanks for the follow-up. We are very sorry for the delay in reply.

The only problem is that I just tested it and put the EOT time to yesterday and my test user can still log in to the web site… and can browse restricted section…

is there anything else to setup other than the EOT in the user profile?

To tell s2Member to demote a User at a specific date, this should be the only step you need to take. However, this will not trigger if you do not have Auto-EOTs enabled in your PayPal Options. Please check to ensure that s2Member’s Automatic End-Of-Term Cron Job is enabled here:

Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior

s2Member’s Automatic End of Term (EOT) processing routines are turned on installation-wide when you enable them under any of your payment gateways. So even if you’re not using PayPal you should enable EOTs if you need them.
Posted: Tuesday Mar 19th, 2013 at 12:38 am #45118
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We are very sorry for the delay in reponse.

Should I buy s2? or is there another product which offers better value for UK users?

I am aware of quite a few Users of s2Member who have sites that run s2Member with UK PayPal Pro accounts. So this is possible. However, some other payment gateways (such as Authorize.Net) may prove to be a problem for you, as they require a US-based bank account to function.

For a full list of payment gateways s2Member Pro supports, see:

What payment gateways does s2Member® support?

I basically want to turn my site into a subscription site, allowing only member access to certain pages, with a simple 1 off yearly payment option for access and registration to the site, using paypal, credit/debit cards as well as as many other payment options as practically possible. I don’t want to go messing around with the HTML, but want a simple option to get this working quickly and simply.

s2Member should be able to handle this just fine, without any customization to code, or any special setup other than just protecting your Posts/Pages, and setting up your Membership Options Page + PayPal Options. These are all steps that need to be followed by any site owner, and s2Member guides you through the process with its Quick-Start Guide, and you can find info on setting s2Member up from our numerous video tutorials here:

s2Member® » Video Tutorials

Of course, we’ll be here to answer any questions that you have regarding how to set something up with s2Member past that.

Let us know if you have any further questions/concerns. :-)

Viewing 25 replies - 1,726 through 1,750 (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.