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 - 676 through 700 (of 2,703 total)
Author Replies
Author Replies
Posted: Friday May 31st, 2013 at 8:04 am #51030
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

1. User logs in via WP
2. User is forward to a custom form that is NOT a wp page.
3. User completes form, goes back to a WP page.
4. User selects to pay for document
5. User is taken to checkout page where I can implement coupons, and sent to PayPal
6. If payment is successful, user is sent to a page where they can now download document
7. IF user is unsuccessful, they are presented with an error.

This seems possible. You can use s2Member’s success attribute to send Users back to the page to download their full file. There will need to be some custom code written here, however, to work with the back-and-forth between s2Member and your external website that we can’t help with really. You’ll need a developer that can help you with this.

Posted: Friday May 31st, 2013 at 8:01 am #51029
Bruce
Username: Bruce
Staff Member

How do I give my existing users (who now show -No role for these forums- the Participant role? Without having to do it manually?

You can add the bbPress participant capability to your s2Member Levels with the button here:

Dashboard -› s2Member® -› Other Integrations -› bbPress®

This updates your roles to work with bbPress. Have you already done this?

Posted: Friday May 31st, 2013 at 7:19 am #51026
Bruce
Username: Bruce
Staff Member

Sorry, but what do you mean by decoding?

The URL that s2Member returns from this parameter is URL encoded, so you can’t actually redirect to this URL directly. You’ll have to have a process that decodes this value to redirect to it. However like Cristian mentioned, we can’t tell for sure if this is a problem with the redirection, or this fact.

By a different url you mean a different success url?

Yes, it wold be great if you could change your success URL and run a test transaction to see if the redirect itself is working correctly.

Posted: Friday May 31st, 2013 at 7:10 am #51025
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

You’re saying that you’re having trouble only with an RSS file on your S3 Bucket?

Also you said here:

Below is what’s my crossdomain.xml on s3..

The data you posted doesn’t look like an XML file, it’s a PHP parse error.

Could you please clarify what the problem is exactly? I understand you’re getting an error, could you copy and paste the exact error you’re getting, and give us the exact method that you’re trying to access your file with? If you’re using s2Member’s Shortcodes, please give us the Shortcode you’re using to get the file.

Posted: Friday May 31st, 2013 at 7:05 am #51024
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’m thinking of making all of the invoice clients “level 2″, but I don’t want to require a credit card for them to get access — in essence, make it a free level, but hidden or maybe require a coupon?

It sounds like Access Restriction URLs would work for you here:

Dashboard -› s2Member® -› Authorize.Net® Pro Forms -› Registration Access Links

You can give Users that pay through an outside source one of these values, with a custom Subscription ID (that won’t be linked to Authorize.Net), and have them sign up normally.

So that takes care of these two:

  • Not require credit card
  • Only allow the right people access to that level
  • Ideally control the number of individuals who could redeem coupon for their subscription
    If this is a monthly invoice, I probably also will have a grace period issue where I need to accomodate them paying late, like i’m sure some of them will.

As far as sending the User an invoice, that’s something you’ll have to do outside of s2Member.

Posted: Thursday May 30th, 2013 at 7:08 am #50943
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

No, you won’t have to set s2Member back up when you install the Pro Module. s2Member Pro only extends s2Member, not overwrite it, so you can use your current setup exactly how it is, even with s2Member Pro installed.

Posted: Thursday May 30th, 2013 at 7:06 am #50941
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I used the short code for the login

I’m assuming you’re talking about the PHP Pro Login Widget, correct? s2Member does not have a shortcode for creating a login form.

This function is documented here:

http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_s2member_pro_login_widget()

Posted: Thursday May 30th, 2013 at 7:04 am #50939
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

Using your license on a temporary development environment is perfectly okay. Just make sure that your Primary Domain, as set up here at s2Member.com is changed to your site when you go live. :-)

Posted: Thursday May 30th, 2013 at 7:03 am #50938
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’m not experienced with Evergreen, but I can tell you that you can have s2Member give you a URL instead of a button by changing your output attribute to url.

See: Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes (Explained)

This link that is generated can be linked anywhere, unless you’re forcing s2Member to encode its Buttons/URLs with the option here: Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Enable Button Encryption?

Posted: Thursday May 30th, 2013 at 6:59 am #50937
Bruce
Username: Bruce
Staff Member

Currently our site is considered home and I need to migrate home site to a subsite. Do I export the users from the current home and import them into the subsite? Will that keep everything intact with just a different blog id # ?

You can export your Users with s2Member, using the information provided here:

Dashboard -› s2Member® -› Import/Export -› User/Member Exportation

However, due to the way that WordPress stores passwords, there is no way to export the User’s passwords, so you can’t import these Users into a new site. If you want to move your Users over, you’ll have to do this by copying your SQL database tables for WordPress Users and move that to your subsite.

Posted: Thursday May 30th, 2013 at 6:56 am #50936
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I want a SIMPLE POP UP that appears on the home page of my website, and then FORCES users to enroll in a 30-day FREE membership, after 30 days paying $9.99 a month by Paypal.

This is not how s2Member restricts access to content. If you’d like to have your User presented with Pop-up, you can do this with another plugin, such as this one:

http://wordpress.org/plugins/wordpress-popup/

Posted: Thursday May 30th, 2013 at 6:54 am #50935
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

For all the users that have an expired EOT do I have to loop back through the database and change their subscription from Level 1 to Level 0? Or, is there a cron process that does that automatically? What actually happens when eot expires and there is no payment provider since it came over from another system?

s2Member runs a CRON job to check only for the End of Term date. What happens when this Cron Job runs and finds a User to demote depends on what you set up here:

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

If these Users have a set End of Term date, then s2Member will demote them when this time is met or past.

Posted: Thursday May 30th, 2013 at 6:52 am #50934
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

Could you please check to ensure that the following file exists?

/wp-content/plugins/s2member-pro/pro-module.php

If this file exists in this specific directory, and s2Member Pro is still not showing up in your Dashboard, please send us a Dashboard and FTP login here so we can take a look:

s2Member® » Private Contact Form

Let us know if/when you do that.

Posted: Thursday May 30th, 2013 at 6:50 am #50933
Bruce
Username: Bruce
Staff Member

I am having an issue when I am on the same local network as the server hosting the S2Member installation. I am getting access denied testing with the basic download option below.
http://myservername.com/?s2member_file_download=sample.mp4

When you say you’re on the same local network as the server hosting, do you mean you’re running something like WAMP on your computer and having issues connection to Amazon S3 that way?

Posted: Thursday May 30th, 2013 at 6:49 am #50932
Bruce
Username: Bruce
Staff Member

Yes I do have logging enabled. In the Description for paypal-rtn.log, it says “Not used in s2Member® Pro Form integrations however”. I’m using s2member Pro form.

Ah yes, sorry for the confusion here.

I just took a look at your Dashboard using the information that you provided previously through Private Contact Form. I’m going to say the issue is related to what Cristian mentioned in his previous reply:

You can use the %%sp_access_url%% replacement code in your success attribute, but that’s encoded, so you’d need to decode it before redirecting the user to it. Dashboard -› s2Member® -› PayPal® Pro Forms -› Custom Return URLs Upon Success -> Specific Post/Page -> %%sp_access_url%%

Would you mind trying a test transaction with a different URL other than this, and see if the redirect itself is wrong?

Posted: Thursday May 30th, 2013 at 6:33 am #50931
Bruce
Username: Bruce
Staff Member

Just to be sure, are you running your subsites with WordPress Multisite?

If you’re not then that’s the problem here. WordPress encrypts logins with keys that are automatically generated when the site is set up (you can find them in your wp-config.php file). If these values are different for your subsites and you’re setting a cookie domain to work with all your subsites, then you will lose the ability to log in to your subsites at all, because WordPress cannot validate the cookies.

I was under the impression you were using WordPress Multisite I’m sorry for the confusion if that’s not the case.

Posted: Thursday May 30th, 2013 at 6:31 am #50930
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’m forwarding this to our billing department. Thanks for your patience.

Posted: Thursday May 30th, 2013 at 6:28 am #50928
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

The first thing you’re going to want to do is make sure you’ve got Alternative View Protection OFF here:

Dashboard -› s2Member® -› Restriction Options -› Alternative View Protection

When you do this you’ll be relying on your theme to only show content above the MORE tags. After this is done, s2Member’s core functionality should be all you need to protect access to the Post, and tell a User to log in if they attempt to access the Post/Page without necessary access. If you want to get really fancy and give the User information about the specific needs for a particular Post/Page when they are redirected, you can make use of s2Member’s Membership Options Variables.

See: Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)

Posted: Thursday May 30th, 2013 at 6:24 am #50927
Bruce
Username: Bruce
Staff Member

So basically, the requirement would be to have the member PUT, from the start, on a specific list, NOT move it or move it to a different list before it is sent to MC lists. Is that what that API would do?

Oh, I see what you mean now. Sorry for the confusion. If that’s the case then you could easily set up multiple free levels using the Free Registration Forms with s2Member Pro.

See: Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms

You can grant access to any level for free using these forms, and the User will be added to the corresponding MailChimp list. You can use Free Registration Forms to sign Users up to different MailChimp lists that way, and assuming you’re only restricting content at Level 0 or higher, this won’t cause any issues since everything on your site would be free, right?

Posted: Thursday May 30th, 2013 at 6:20 am #50926
Bruce
Username: Bruce
Staff Member

Thanks for the info.

This wouldn’t be an option that they would be able to “click” on. So, what I would like to see is that there could be an option that says “Please enter mutually agreed upon amount” during their signup and they could enter the amount that we agreed upon instead of clicking a button with a pre-defined amount.

If you’re using PayPal Buttons, this is simpler. You can use the information provided here to allow Users to specify the amount they’d like to pay for access. This is a very old forum post but it will still work here:

http://www.primothemes.com/forums/viewtopic.php?f=4&t=16566&p=59040#p59040

As for creating different plans, such as you lined out here:

Standard: $105/mth
Military/Police/Fire: $80/mth

Each additional member would be half price. So, first member would be $105/mth. Spouse would be $50/mth.

Because there are so many possibilities you will need to have an external method of changing your price based on what the User wants. A developer could set up a system to handle this using the information provided here:

Knowledge Base » Using Variables In A Shortcode

Posted: Wednesday May 29th, 2013 at 8:52 am #50829
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’m trying to convert an existing DAP membership system to S2 for my client. They already have a separate table in the database that has a registration and an expiration date tied to their WP_user table. Is there a way to run a db query to update the expiration date for these users without having to export using S2 and then manually try to merge two different files?

You can do that like this:

<?php
update_user_option ($user_id, 's2member_auto_eot_time', $eot);
Posted: Wednesday May 29th, 2013 at 8:49 am #50828
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

That code looks like it wasn’t meant to be used out-of-box and may have an issue. I can tell you that ws_plugin__s2member_during_handle_profile_modifications is the correct hook to use here.

See: Knowledge Base » Hacking s2Member® Via Hooks/Filters

I would take a look at how the wp_mail() function is being used.

See: http://codex.wordpress.org/Function_Reference/wp_mail

That’s about as far as we can go with custom code. If you need further assistance, we recommend http://jobs.wordpress.net, or another freelance web site where WordPress® experts are offering their expertise through a bid on your project.
Posted: Wednesday May 29th, 2013 at 8:47 am #50827
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

Can I write some php to strip out the 1% and then do a substr or something to remove to characters from the front? Will that format always be consistent like that? Basically 4 characters needing to be removed all the time? Or is there an easier way?

I believe you’re looking for urldecode.

See: http://php.net/manual/en/function.urldecode.php

Posted: Wednesday May 29th, 2013 at 8:42 am #50825
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

Currently we have no timeline for the next major release of s2Member. There have been numerous changes with the ClickBank, Google Checkout and PayPal APIs as of late and it’s caused many setbacks in the development of the next major version which we’re hoping to have support of Stripe in.

I would not wait for the next version to begin your project.

Posted: Wednesday May 29th, 2013 at 8:40 am #50824
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

I’m going to have the development team look into this and we’ll get back to you ASAP.

Viewing 25 replies - 676 through 700 (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.