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 - 651 through 675 (of 2,703 total)
Author Replies
Author Replies
Posted: Tuesday Jun 4th, 2013 at 5:02 am #51291
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

You’ll have to contact your hosting provider to change your PHP settings to remedy this. Sorry for the inconvenience.

Posted: Tuesday Jun 4th, 2013 at 5:01 am #51290
Bruce
Username: Bruce
Staff Member

What I basically have is a simple page with a form, that only collects name and email. How can I place S2Member code there so that the person entering their name and address is added to S2Member as a Level 0 Member?

You can replace your current form with an s2Member Pro Free Registration Form, available here:

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

Also make sure that you have MailChimp set up here:

Dashboard -› s2Member® -› API / List Servers -› MailChimp®

Then, you can have Users sign up, and be put on your MailChimp list automatically.

Posted: Tuesday Jun 4th, 2013 at 4:58 am #51288
Bruce
Username: Bruce
Staff Member

The problem is that the PayPal IPN log doesn’t get created and nor does the confirmation email get sent. I get an email from ccBill but I’m expecting one to be sent by s2member too. Is something erroring but not being logged after this point?

This is the problem, if s2Member is not logging that the email was sent, then it’s not being sent. Could we take a look at your installation? You can send us a Dashboard and FTP login here:

s2Member® » Private Contact Form

Posted: Tuesday Jun 4th, 2013 at 4:53 am #51286
Bruce
Username: Bruce
Staff Member

Users exist but s2member plugin just looks like a fresh install.

Does s2Member not have these fields set up here at all?:

Dashboard -› s2Member® -› General Options -› Registration/Profile Fields

Or are you saying that s2Member is still set up correctly, but the Registration Forms are not registering on Users? It sounds like it’s the first.

If that’s the case it’s likely because of Deactivation Safeguards being OFF when you moved your site:

Dashboard -› s2Member® -› General Options -› Deactivation Safeguards

You’ll have to either export s2Member’s settings from your old install here, or set s2Member back up with your old Custom Registration/Profile Fields:

Dashboard -› s2Member® -› Import/Export -› s2Member® Options

Posted: Tuesday Jun 4th, 2013 at 4:50 am #51284
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

a) remove the step where a grey screen is shown telling the customer that the payment worked and an account was created. (see thread here for a screenshot http://www.s2member.com/forums/topic/please-register-page-from-paypal-needs-love/ )

With s2Member Pro, you can use the success attribute in your button to redirect to another page when the User is directed back to your site. You can find information on this here (only available in s2Member Pro, at the bottom of this section):

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

It is not possible to “skip” the sending of the email, because s2Member does not receive information regarding payment from PayPal until moments after the User is sent back from PayPal. You have to wait for s2Member to receive this information and the User to receive the email to sign up.

However with the success attribute, you can customize a page to be less “bland”, and give Users more information on this process.

b) automatically redirect to a nice registration page where he enters his credentials instead of the ugly WP internal registration page.

s2Member’s Buttons (not Pro Forms) require that the backend registration form be used after checkout. You can customize the appearance of this registration form here, however:

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

Posted: Tuesday Jun 4th, 2013 at 4:44 am #51283
Bruce
Username: Bruce
Staff Member

I’m quite confused as there is no account affiliated with that person’s e-mail address previously. I was signed into the website at the same time that they signed up. Could this have triggered the response?

Yes, this is what triggered this error. You have to sign out of your account before checking out. s2Member picked up on your User ID when you checked out, and is attempting to modify it automatically, as you were already logged in.

Posted: Tuesday Jun 4th, 2013 at 4:42 am #51282
Bruce
Username: Bruce
Staff Member

On the right side, is the login widget and if the user clicked on Signup Now instead of logging it, the user will go to a wp page (or a s2M page) for signing in or registering. How is THAT link going to be changed?

The short answer is that it won’t. Not unless you change it manually. You’re using the widget through the Widgets portion of your Dashboard, so you can go there and change the URL to match the value you need manually.

When you edit it, you’ll change it here:

You can put in your URL, like:

http://example.com/?register_level=1
Posted: Tuesday Jun 4th, 2013 at 4:35 am #51279
Bruce
Username: Bruce
Staff Member

As I understand I can add a custom capability to a Buy Now button, and then use that specific capability to restrict access within a page. To do this I need to append the code “access_s2member_ccap_music” to control access to certain portions of a page.

This is correct so far.

Now, suppose I add custom capability to a whole page by adding a qualifier – say, music – in the space provided on the right in the Add New Page.

In this case, will I be able to control access to the whole page? For example, I can use the following code on the Login Welcome Page. Is that possible?

You can always use Shortcode Conditionals in Posts/Pages. If you’re protecting your Post/Page with a Custom Capability, s2Member will require that anyone attempting to reach this Post/Page have that Custom Capability. You are restricting access to their entire Post/Page, and the User will be redirected to the Membership Options Page if they do not have access.

If you don’t want to redirect Users to the Membership Options Page, use Conditionals to protect certain parts of your content on the page.

Posted: Tuesday Jun 4th, 2013 at 4:32 am #51278
Bruce
Username: Bruce
Staff Member

The hosting company is insisting my issues are nothing to do with their server, so I want to be sure i have my facts straight.

I just want to note here that, as Cristian mentioned, the error you’re getting does not mean that fopen/cURL are not installed. It only means that s2Member was unable to connect back to the domain it was on via fopen/cURL. That means that if your server is not allowing connections back to the same domain (aka loopbacks), then this error will be thrown. Some server hosting companies prevent this from happening (it’s still unclear why), and it will break s2Member. I would suggest asking your hosting company if this is the case.

Posted: Tuesday Jun 4th, 2013 at 4:30 am #51277
Bruce
Username: Bruce
Staff Member

I believe it’s fixed. The problem had to do with bad SCRIPT_FILENAME, which was a side-effect of the PHP-FPM config, where you have to tweak the paths with symbolic links in order to only pass PHP through the PHP handler and nothing else (e.g. static files).

Yes that sounds like the issue. s2Member is checking this value and running it against the realpath() of itself, so this would cause errors.

http://php.net/manual/en/function.realpath.php

Glad to hear you fixed your error. :-)

Posted: Tuesday Jun 4th, 2013 at 4:28 am #51276
Bruce
Username: Bruce
Staff Member

If I want Levels 1-4 to have access to a restricted block of text or content, and also want myself as administrator to be able to see the content on the page when viewed through my administrator account, then the code I would use is:

If you want all membership levels above a certain level (including Admin) to be able to see a certain piece of content, you can use the current_user_can() function. In this case it would look something like this:

[s2If current_user_can(access_s2member_level1)]
Some text
[/s2If]
Posted: Tuesday Jun 4th, 2013 at 4:24 am #51275
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

1) Does s2Member require any coding? I have zero html experience, and no time to learn it.

As cassel mentioned, s2Member does not require any coding experience to set up its core features. That being said, s2Member is designed to be very flexible, and gives room for developers to come in and do specific things with code. If you’re just looking to set up regular membership, you shouldn’t run into any problems. However to do advanced things with s2Member small amounts of PHP may be necessary.

2) I cannot locate a chart of free vs pro features and functions, even though several forum posts mention it. I will install the free version, if no coding is required, then upgrade to pro as soon as I see that it works for my needs.

You can find that here: Features

Posted: Tuesday Jun 4th, 2013 at 4:21 am #51274
Bruce
Username: Bruce
Staff Member

After reading through documentation and posts, I can’t figure out how to create a registration form for the paid members that doesn’t use PayPal Pro.

s2Member doesn’t require PayPal Pro for any of its PayPal Buttons or Pro Forms.

See: Pre Sale FAQs » To use s2Member® Pro Forms, will I have to use PayPal® Pro?

You can generate a Button/Pro Form here:

Dashboard -› s2Member® -› PayPal® Pro Forms -› Membership Level # Forms
or
Dashboard -› s2Member® -› PayPal® Buttons -› Membership Level # Buttons

Posted: Tuesday Jun 4th, 2013 at 4:19 am #51273
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’m very sorry for the delay in response.

– lead capture page as the website homepage
– integration of the S2Member lead capture form with Mailchimp

With this portion, I can’t help with. This is to do with Optimize Press, which s2Member does not directly integrate with, and you mentioned that you customized s2Member’s registration form to skip username field?

I can tell you that when you sign a User up through s2Member, they will be added to a list that you set up here in your Dashboard:

Dashboard -› s2Member® -› API / List Servers -› MailChimp®

– have subscribes automatically assigned the Free Membership(there will be a Paid membership too)

If you’re using s2Member’s registration forms, this shouldn’t be an issue. Just specify the level that you want the User to be signed up at in your Shortcode’s level attribute.

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

– implementing the Content Dripping feature so that also the internal navigation menu is affected by the content dripping (meaning, on day 1, the first menu tab is active and the other 3 are not; on day 2 the first two tabs are active and the other two are not, etc)

I went over changing your navigation menu based on s2Member’s PHP Conditionals here:

https://www.s2member.com/forums/topic/drip-feeding-content-and-menu/#post-43148

As far as your Content Drip goes, this will vary based on what content you want to drip. You can find examples of Content Drips here:

Dashboard -› s2Member® -› API / Scripting -› Content Dripping

Also See: Knowledge Base » Introduction to Content Dripping in s2Member®

Posted: Tuesday Jun 4th, 2013 at 4:12 am #51272
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

s2Member’s sample code uses JW Player for RTMP streaming. You can find information on RMTP streaming via JW Player here:

http://www.longtailvideo.com/support/jw-player/28854/using-rtmp-streaming/

RMTP streams support both MP4 and FLV format videos, and AAC and MP3 audio files.

If you’d like to set up RMTP streaming with Amazon S3 + Cloudfront, I’d recommend checking out this article for information on this:

http://blog.cloudberrylab.com/2009/12/how-to-configure-cloudfront-streaming.html


When you’re using RMTP streaming with s2Member’s JW Player shortcodes, you’ll want to change your player attribute to jwplayer-v6-rtmp-only, as shown in the examples here:

Dashboard -› s2Member® -› Download Options -› JW Player® & RTMP Protocol Examples -› JW Player® (RTMP streaming MP4 only, via s2Member's Amazon® S3/CloudFront integration)

That’s about as far as we can go with this. s2Member provides support for RMTP streaming through JW Player, but as far as setting up your stream, etc., that’s outside of the scope that we can support.

Thank you for your understanding.

Posted: Saturday Jun 1st, 2013 at 6:33 am #51127
Bruce
Username: Bruce
Staff Member

I have had a look at the documentation but don’t really understand how it works, can you recommend any devs who would be able to integrate this for me?

We recommend posting a listing on http://jobs.wordpress.net/, http://elance.com/, or http://odesk.com/. We don’t have any recommended developers at the moment.

Posted: Saturday Jun 1st, 2013 at 6:32 am #51126
Bruce
Username: Bruce
Staff Member

If I look at the capabilities, they do correctly show Participate and Spectate for s2Member levels 1-4, but it didn’t affect the existing users.

I see. You might try deactivating then reactivating bbPress then. Past that I’m not really sure what might help here, if that doesn’t help I’ll ask Jason (Lead Developer) what might cause this.

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

Thank you for your inquiry.

It sounds like you lost your validation when s2Member changed its policy on logging recently.

See: s2Member® Unified Changelog » v130404

Make sure you have logging disabled, and that your /s2member-logs/ directory is empty, except for the .htaccess file.

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

do you know what functionalities I will lose when removing those rules from the .htaccess?

This .htaccess rule is keeping your site from using GZIP, so that things like s2Member’s User Export and Log File Downloads do not get corrupted when they are sent to you. s2Member also needs GZIP to be disabled for Downloads done with the information in your Dashboard here:

Dashboard -› s2Member® -› Download Options -› Basic Download Restrictions

However, these downloads use other methods for disabling GZIP.

You can safely remove this .htaccess file for now, but you’ll have to be weary for File Downloads in the future.

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

The string “do not access this file directly” is in all of the s2member source code files. Is there some PHP or Apache config that would lead to this? The exact same source and database works on a development host.

s2Member only throws this error when a PHP file of s2Member’s is accessed directly. For example, if you access this URL:

http://www.s2member.com/wp-content/plugins/s2member/s2member.php

You’ll see that you get this error. s2Member checks your PHP SERVER variables and checks to see what page the User is attempting to load to find out if the User is trying to load the file that’s loading. This is a common practice and you’ll see similar functionality in many popular WordPress plugins.

If you’re getting this error then the issue lies either within the URL you’re accessing or your PHP Server variables. Try var_dump’ing your $_SERVER array.

See: http://php.net/manual/en/function.var-dump.php

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

Thank you for your inquiry.

You can run a PHP process when a User is blocked with s2Member’s IP restrictions with the action hook ws_plugin__s2member_during_ip_restrictions_ok_no.

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

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

Thanks for the information.

I just tested this and did some logging on your POST variables that are passed to s2Member when the form is submitted. The variable that should hold your custom fields is completely empty. I looked at the source code for your page and s2Member is generating the HTML input tags correctly, and nothing there is corrupted by the theme. I’m not sure exactly what’s going on yet but we are getting closer.

I understand this is frustrating, but at the current time we are attempting to figure out what exactly is causing this error. You’re saying that inFocus is causing this error yet in our tests we are unable to reproduce this error with inFocus. So I’m assuming that the error is to do with inFocus + something that’s on your site. I’m going to continue to try to diagnose the issue here.

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

I’m very sorry for the inconvinience, I understand how this functionality could be frustrating in this situation.

Is there a way I can edit a users S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS myself?

You can set the constant before s2Member does, yes. Just define() it before s2Member does by setting it on the init hook in a Must-Use plugin. Knowledge Base » Hacking s2Member® Via Hooks/Filters

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

Thank you for your inquiry.

No, you don’t need any additional files for ccBill integration.

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

Trouble is there’s no way I can use S2member if the titles of protected pages show up!

You said that these titles are showing up in your Navigation Menus. s2Member has Alternative View Protection which can help with this. Do you have these enabled?

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

Viewing 25 replies - 651 through 675 (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.