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.

Raam Dev

Staff Member

My Latest Replies (From Various Topics)

Viewing 25 replies - 476 through 500 (of 2,567 total)
Author Replies
Author Replies
Posted: Monday Oct 22nd, 2012 at 2:11 pm #29295
Raam Dev
Username: Raam
Staff Member

Dean,

I’m not sure what you mean by “it doesn’t seem to be able to take all of the above shortcode”. If you place that shortcode on a WordPress Post/Page and then display the Post/Page, WordPress will convert the shortcode into a URL that you can use as a link somewhere.

For example, in HTML you might do something like this:

<a href="[s2Member-PayPal-Button level="1" ccaps="" desc="Xero bronze accounting package" ps="paypal" lc="" cc="GBP" dg="0" ns="1" custom="www.dcaccounting.co.uk" ta="0" tp="0" tt="D" ra="59.00" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="url" /]">Click here to purchase</a>
Posted: Monday Oct 22nd, 2012 at 2:07 pm #29294
Raam Dev
Username: Raam
Staff Member

Hi Richard,

That is not currently possible with s2Member. If you’re selling a product that uses one of the Membership Levels, you can configure s2Member to add that person to your Aweber list when they register for the account on your site (see Dashboard -› s2Member® -› API / List Servers -› AWeber®).

Keep in mind if you’re selling products on a But Now basis, i.e., no account on your site is required, there is no way for s2Member to subscribe the user to your Aweber list.

Posted: Monday Oct 22nd, 2012 at 2:00 pm #29293
Raam Dev
Username: Raam
Staff Member

Hi Jennifer,

All of the s2Member Level roles are based on the WordPress Subscriber role capabilities. It sounds like the plugin you’re using requires a capability that only Author roles (and higher, probably) have access to.

If you absolutely require s2Member users this access, you’ll need to use a Role Editor plugin to manually modify the s2Member Level roles to include the capability that is required by the plugin you’re using. I recommend contacting the plugin developers to find out which capability that is, as there are lots of them.

Posted: Monday Oct 22nd, 2012 at 1:58 pm #29292
Raam Dev
Username: Raam
Staff Member

Also, what I am not clear on is the following: I just spoke to my client and they want to have a buy-now button WITH AN EXPIRY DATE of 1 year. I have 2 questions on this. First, does this mean that s2member will allow them access for a year, then demote them after that? I want to make sure that this option is possible with the Buy Now button (and not just the subscription buttons).

Yes, it means they will have access for 1 year and then their account will be demoted/deleted (what happens depends on your configuration in Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior). However, this is only relevant for scenarios where the customer actually gets an account on your site. If you’re using a Specific Post/Page Buy Now button, the customer doesn’t get an account — they only get a URL to access the post/page they bought and that link expires after the period you selected when you generated the button.

Secondly, as I said above, Paypal has the option of the dropdown for a single button (e.g. Canada- $30, USA – $40…), but when I look at the s2Member button code there are a ton of other variables — including expiration date for buy now buttons — that paypal doesn’t seem to have. Is it safer then to go with s2Member buttons, creating a separate button for each option? Or can we also set those variables in the paypal button in the Advanced variables section?

Yes, it’s safest to go with the s2Member-generated buttons. You may be able to set some of the advanced variables on PayPal’s site when generating a button on PayPal.com, but I’m not sure if you have all the options you have when generating buttons with s2Member. To learn more about using PayPal-hosted buttons, please see Using PayPal created buttons.

Finally, one more question – the client wants the expiry date set in our WordPress database. Is there a way I can achieve that?

If you sell something that is non-recurring and expires at a specific time (e.g., 1 year from now), s2Member sets the expiration date on their profile in the Automatic EOT Time field. That date is already stored in the WordPress database because s2Member is a WordPress plugin. You should be able to use the WordPress get_user_field() function to retrieve that, if it has actually been set (for accounts with recurring subscriptions, the EOT time does not get set until the payment gateway notifies s2Member that the subscription has expired):

get_user_field ("s2member_auto_eot_time", $user->ID)
Posted: Monday Oct 22nd, 2012 at 1:46 pm #29291
Raam Dev
Username: Raam
Staff Member

The first thing I recommend testing is that those URLs to the video work outside the plugin, i.e., you can visit them with your browser and they properly load the videos. If they do load the videos, then I would check to make sure the URLs are being parsed properly in the plugin, i.e. do “view source” on the page that should show the videos and confirm that the URLs parsed match those you’re expecting (and that you can visit them directly with your browser).

You might also want to try using a download key in your file URLs (see Dashboard -› s2Member® -› Download Options -› Advanced Download Restrictions) to see if that fixes the problem with JWPlayer.

Posted: Monday Oct 22nd, 2012 at 1:40 pm #29289
Raam Dev
Username: Raam
Staff Member

Hello,

Google Analytics already supports tracking of URLs that contain query string variables. This is an advanced usage of Google Analytics, so you may want to search Google for a few tutorials. This thread on StackOverflow might be a good place to start.

Posted: Monday Oct 22nd, 2012 at 1:35 pm #29287
Raam Dev
Username: Raam
Staff Member

Hi Andy,

You said,

When they come back, I want the page to recognize that they have already registered and not ask them to sign in.

As cassel explained, there is no way for a website to know who you are without logging in, or at least storing a cookie on your computer (and that’s not very secure, as anyone can steal the cookie). You can certainly show a message to the user informing them that they must login to access the page, but there really isn’t any sensible way to “recognize they have already registered”.

Posted: Monday Oct 22nd, 2012 at 1:30 pm #29284
Raam Dev
Username: Raam
Staff Member

It’s possible you locked the key to a specific IP Address and User-Agent when you tested it on the logged in browser (taken from Dashboard -› s2Member® -› Download Options -› Advanced Download Restrictions):

Each Key it produces ( at the time it is produced ), will be valid for the current day, and only for a specific IP address and User-Agent string; as detected by s2Member. This makes it possible for you to create links on your site, which provide access to protected file downloads; and without having to worry about one visitor sharing their link with another.

Did you try generating the link and then testing it the first time from a browser where you’re not logged in?

Posted: Monday Oct 22nd, 2012 at 1:25 pm #29282
Raam Dev
Username: Raam
Staff Member

That is the ‘New User Email Message’, not the ‘Signup Confirmation Email’.

The filters you probably want are ws_plugin__s2member_registration_notification_email_sbj (docs here) and ws_plugin__s2member_registration_notification_email_msg (docs here).

Posted: Monday Oct 22nd, 2012 at 1:13 pm #29281
Raam Dev
Username: Raam
Staff Member

Thank you for sharing that!

Awarded the Helpful badge.
Posted: Monday Oct 22nd, 2012 at 1:11 pm #29280
Raam Dev
Username: Raam
Staff Member

Each event has a collection of information associated with it. If you search the logs for the events related to the Subscription ID or email address in question, you can post all of those entries here (please hide any private info by Xing-out any email addresses). If you open the log files in a text editor, you can search them for the email address of the person who tried to upgrade and then copy/paste all those entries here.

Regarding the upgrade message: I’ve never heard of that before. Do you have the exact message, or perhaps a screenshot that you could show us?

Posted: Saturday Oct 20th, 2012 at 1:23 am #29111
Raam Dev
Username: Raam
Staff Member

Hi Ganaxi,

I can confirm that this is a bug. We are aware of the issue and will be including a bug fix in the next maintenance release. Until then, please see here for more details. I apologize for any inconvenience this may be causing.

Posted: Saturday Oct 20th, 2012 at 1:14 am #29110
Raam Dev
Username: Raam
Staff Member

If you’re selling a Post/Page using the Specific Post/Page Buy Now buttons, then your customer will not have an account on your site. They will only have the special link to access your download page. However, Basic Download Restrictions are dependent on the Membership Level of the person trying to download the file. Since your customer isn’t logging in when viewing the page and clicking the download link, he’s denied access (s2Member sees that the user doesn’t have any Membership Level and stops right there).

So, to get around this, you’ll need to use Dashboard -› s2Member® -› Download Options -› Advanced Download Restrictions. Here’s an example of what you could use:

[s2File download="file_name.pdf" download_key="true" /]

Every time the user accesses your download page using the special link in their email, the download link they see will be good for 1 day. If they copy that link and try to access it 2 days later, it won’t work. Since your Download Page link in the email is only good for X number of days, the file download link they can get on that page will never last longer than length of time Download Page link is good for + 1 day.

Posted: Saturday Oct 20th, 2012 at 1:01 am #29108
Raam Dev
Username: Raam
Staff Member

Hi cassel,

You can use the PHP date() function to determine the current time of the day and base your conditionals on that. Here’s an example of how the date() function can be used to determine the current time of day.

Posted: Saturday Oct 20th, 2012 at 12:57 am #29107
Raam Dev
Username: Raam
Staff Member

Hi Richard,

I believe you’ll need to use front-end translations to do that.

Posted: Saturday Oct 20th, 2012 at 12:56 am #29106
Raam Dev
Username: Raam
Staff Member

Hi Genie,

I’ve never heard of that issue before. Do you have any caching plugins installed? If so, I recommend clearing those. You might also try deactivating and reactivating the s2Member plugin (be sure to enable Deactivation Safeguards first: Dashboard -› s2Member® -› General Options -› Deactivation Safeguards).

Posted: Saturday Oct 20th, 2012 at 12:54 am #29105
Raam Dev
Username: Raam
Staff Member

Have you tried disabling s2Member to confirm that it’s actually the s2Member plugin causing the problem (make sure Deactivation Safeguards are enabled before disabling: Dashboard -› s2Member® -› General Options -› Deactivation Safeguards)? I’ve never heard of s2Member spontaneously causing a site-wide 403 lockout, so I suspect there might be something wrong on your server and if that’s the case, you should contact your web host.

Posted: Saturday Oct 20th, 2012 at 12:52 am #29104
Raam Dev
Username: Raam
Staff Member

If the customer fills out the Pro-Form and then makes a payment on PayPal’s website, the details he entered on the Pro-Form are used to create his account on your site. When he is transferred to PayPal, he is asked to login to make a payment, or, if your PayPal account has this option enabled, they can pay with a credit card on PayPal’s site without logging in (they’ll then need to enter their billing info, credit card details, etc.; it’s not transferred from the Pro-Form).

Posted: Saturday Oct 20th, 2012 at 12:47 am #29103
Raam Dev
Username: Raam
Staff Member

The lowest unit of access time you can sell a subscription/product with s2Member is 1 day. However, you could combine that with Content Dripping (Dashboard -› s2Member® -› API / Scripting -› Content Dripping) to further restrict access once the user has purchased and logged in.

Posted: Saturday Oct 20th, 2012 at 12:45 am #29102
Raam Dev
Username: Raam
Staff Member

Hi Jennifer,

Unfortunately we don’t have any other payment options.

Have you checked that you’re entering the billing address with the correct case letters? It’s possible the address is case-sensitive. Otherwise, I suggest trying another card or using a PayPal account. If you don’t have a PayPal account, you can create one and then try linking your credit card to it.

Posted: Saturday Oct 20th, 2012 at 12:42 am #29101
Raam Dev
Username: Raam
Staff Member

To reset the IP restrictions for a particular user, you can edit the user (Dashboard -> Users -> Edit) and then check the box that says Reset IP Restrictions and click the Update User button at the bottom.

Posted: Saturday Oct 20th, 2012 at 12:39 am #29100
Raam Dev
Username: Raam
Staff Member

Hi Jorge,

The s2Member Aweber integration works on a per-Level basis, meaning a signup for a specific level can subscribe the user to any one of a number of Aweber lists. It’s not currently possible to subscribe users to lists based on the Custom Capabilities that they’re given.

Posted: Saturday Oct 20th, 2012 at 12:35 am #29099
Raam Dev
Username: Raam
Staff Member

What URL do you have specified in the PayPal Return? If you want to send the customer to a special thank you page after they complete their payment, you should be using the success=”” attribute in your Pro-Form shortcode (see Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained)).

Posted: Saturday Oct 20th, 2012 at 12:30 am #29097
Raam Dev
Username: Raam
Staff Member

If you don’t see the log file get created, that would indicate that the filter on ws_plugin__s2member_signup_email_sbj is not being triggered, so your function is never running.

Are you receiving any signup confirmation email when you do a test Free Registration?

Posted: Friday Oct 19th, 2012 at 8:15 pm #29085
Raam Dev
Username: Raam
Staff Member

You might try searching Google. If you’re running your own dedicated server, it’s going to require experience installing SSL certificates in your specific server environment.

This is not something related to s2Member at all and it’s outside the scope of our support policy. s2Member is a WordPress plugin and SSL certificates are something that get installed with your web server software, not with s2Member.

Viewing 25 replies - 476 through 500 (of 2,567 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.