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 - 451 through 475 (of 2,703 total)
Author Replies
Author Replies
Posted: Friday Jun 28th, 2013 at 5:32 am #52714
Bruce
Username: Bruce
Staff Member

But then this makes no sense because once I enter my Amazon S3 details into S2Member all files will be downloaded from Amazon S3 instead! So this is not going to work?

The idea behind this value is gone over in the Shortcode Attributes section in the Download Options section. Here’s the excerpt:

storage=”” Defaults to [empty]. If storage=”local|s3|cf”, s2Member will serve the file from a specific source location, based on the value of this Shortcode Attribute. For example, if you’ve configured Amazon® S3 and/or CloudFront; but, there are a few files that you want to upload locally to the /s2member-files/ directory; you can force s2Member to serve a file from local storage by setting storage=”local” explicitly.

So, the idea is that if you want to serve a local file and you have Amazon s3/Cloudfront set up, you have to explicitly set the value to local. Then s2Member will search for the local file rather than try to serve a file from Amazon.

Does that work for you?

Posted: Friday Jun 28th, 2013 at 5:27 am #52713
Bruce
Username: Bruce
Staff Member

Do you mean that we cannot install the wordpress to sub-directly, for example ‘wp’ directly?

No, it’s not that. I went to the domain in your screenshot, and when I tried to access it appending /wp/ to the end I was given a 404 error just for your homepage. It looks like the correct way to link to your site is without that part of the URL.

If you take that out of your IPN and Return URLs I think your integration would work for you.

Posted: Thursday Jun 27th, 2013 at 5:57 pm #52700
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

Sorry to hear you’re having problems. We don’t have any recommended developers, but we recommend putting your project up on sites such as http://jobs.wordpress.net, http://elance.com/, or http://odesk.com/.

Posted: Thursday Jun 27th, 2013 at 5:51 pm #52698
Bruce
Username: Bruce
Staff Member
This is now irrelevant

See this plugin to achieve this: http://wordpress.org/plugins/member-approval/

Posted: Thursday Jun 27th, 2013 at 4:17 pm #52695
Bruce
Username: Bruce
Staff Member

ima change password in 20 mins

Please don’t post your log in info on the forums. I posted a link to the Private Contact Form in my last reply, that’s a much better place to send your info:

s2Member® » Private Contact Form

Posted: Thursday Jun 27th, 2013 at 4:01 pm #52692
Bruce
Username: Bruce
Staff Member

Since i updated a few days ago, weirdly I cant Generate Pay Pal Buttons.

The video you uploaded won’t load for me, for whatever reason, but looking at the still I can tell the issue here is that s2Member’s CSS and JavaScript are not loading in the admin panel.

Are you running any Maintenance Mode plugins or something like that where your site’s home domain is being redirected? That’s usually the issue here.

If that’s not the problem, let us know and send a Dashboard Login here:

s2Member® » Private Contact Form

Posted: Thursday Jun 27th, 2013 at 3:45 pm #52691
Bruce
Username: Bruce
Staff Member

So when uploading the initial CSV file, i can control the subscription variable. In other words, if a user subscribed to the company product in December of 2012, and their subscription runs up in December of 2013, it is possible for the CSV to be say that, and this information will transfer to S2Member?

Yes you can set all of this up within s2Member and it will work okay. s2Member will use the settings you have set up for Automatic End of Term even if you import your Users. Just make sure to set up the EOT Date when you sign your Users up.

Posted: Thursday Jun 27th, 2013 at 3:43 pm #52690
Bruce
Username: Bruce
Staff Member

I just need to know to which file should I add that code?

You would add it to a Must-Use Plugin file. See: http://codex.wordpress.org/Must_Use_Plugins

You only need to add it once.

Posted: Thursday Jun 27th, 2013 at 5:15 am #52670
Bruce
Username: Bruce
Staff Member

Thanks for the kudos! It’s great to hear that you fixed the issue! I hope you can get your theme agreeing with JW Player soon as well.

The best way to say thanks is to give s2Member a vote at WordPress.org. :-)

See: http://wordpress.org/plugins/s2member/

Thanks and let us know if you have any more problems with this.

Posted: Thursday Jun 27th, 2013 at 4:29 am #52666
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

s2Member won’t be able to connect to your current database of Users right off. You’ll have to Import these Users via .CSV file, which means you’ll have to run some kind of special export routine to get a file that you can import your current Users into s2Member. I’m sorry that it’s that way but that’s how it goes :-\.

This article goes over (briefly) how these CSV files are formulated if you’re interested in seeing that:

Knowledge Base » Import (or Mass Update) Users

Once this is complete, is it possible to update the data on a weekly or biweekly basis. In other words, to upload an updated database, and have existing values overwritten, and/or new values added?

Yes you could do that. s2Member will allow you to update Users via CSV file, too.

The other question is, assuming the above is easily done, once this step is complete, I will have over 1,800 users who will need to access the data online (the contents of their subscription). Are these users going to be able to set their own password. For example, can each user be sent an email with a temporary password and prompted to change their password the first time they log in.

Hm, no that’s a bit trickier. s2Member expects to get a password to create a User, and doesn’t send any emails when it Imports a User. To accomplish this would require some custom code, I’m afraid.

Posted: Thursday Jun 27th, 2013 at 4:24 am #52665
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I’m sorry to say that the things you’ve seen are about all we’ve got for demonstrating the way s2Member works over than the features table here:

Features

The best way to test out s2Member Pro is to download the s2Member Framework and check out how you set up our free version. s2Member Pro adds a few things like Import/Export for Users, but it’s mostly meant for allowing you to integrate the other payment gateways available as far as how the module actually works.

See: http://wordpress.org/plugins/s2member/

Posted: Thursday Jun 27th, 2013 at 4:20 am #52664
Bruce
Username: Bruce
Staff Member

Gotcha.

Okay well while you’re waiting, you might try making sure that you’ve deleted your distros for your bucket with Cloudfront. It sounds like s2Member is having trouble overwriting the currently settings for your bucket.

The best tutorial I could find for doing this was here:

http://s3browser.com/delete-cloudfront-distribution.php

Posted: Thursday Jun 27th, 2013 at 4:10 am #52662
Bruce
Username: Bruce
Staff Member

I managed to fix the S3 issue.

Awesome thanks for the update.

I then tried to add cloudfront but I got a error 400. Cloudfront still cannot integrate. Is there a way to reset my cloudfront straight on amazon?

What error exactly are you getting? I’ve seen multiple 400 Error descriptions come from Amazon Cloudfront before. Could you post a copy of the error here?

Regarding the displaying of JW player, the theme developers told me to add “.fluid-width-video-wrapper { position: static !important; }” in my css file. It does fix the JW player issue but then create a pb with all my youtube videos embedded on the site. – I know it’s not because of S2member but maybe you have an idea on how to fix that…

Ah, sorry I can’t really say what that’s changing on your set up. Your theme’s developer would have to tell you about that. :-/

Posted: Thursday Jun 27th, 2013 at 3:47 am #52661
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

It sounds to me like your two issues are related. I would recommend turning on logging if you haven’t already:

Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration

I’m guessing that if you turn on logging and do a test transaction (or if you had logging enabled) that a ccbill-ipn.log and paypal-ipn.log are not going to be made. What this means is that the IPN URL is also 404’ing.

I took a look at the URL in the screenshot you posted. It looks like the issue is that you’re linking like this:

http://www.yoursite.com/wp/?s2member_pro_ccbill_return=1

If you take the /wp/ out of your URLs it should work right.

Posted: Thursday Jun 27th, 2013 at 3:14 am #52651
Bruce
Username: Bruce
Staff Member

Is it the case that the EoT field is destroyed before we harvest it? Or is it the case that this coffee isn’t working?!?

At this point the EOT date is already deleted. If you want to catch it before then you might try this hook instead:

ws_plugin__s2member_during_auto_eot_system_during_before_demote

You can find all of the hooks for the EOT process here:

/s2member/includes/classes/auto-eots.inc.php
Posted: Thursday Jun 27th, 2013 at 3:10 am #52649
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

This is possible, but it requires custom code. You can use the information here with the ws_plugin__s2member_disable_specific_ip_restriction filter to do this:

Knowledge Base » Hacking s2Member® Via Hooks/Filters

s2Member passes 2 parameters through this filter. The first is a boolean (TRUE or FALSE) value that you can change to TRUE to prevent s2Member from firing the IP restriction and the other is an array of all of the variables that s2Member has at the point where it’s calling on the filter.

You can take a look at the variables that are set at this point in this file:

/s2member/includes/classes/ip-restrictions.inc.php

s2Member has a variable then called $restriction that can be a Username. You’ll want to check if that’s the case, and if it is then the IP Restriction is for when a User is logging in. You can find the User’s level through their Username and decide whether or not to disable IP Restrictions for that User. Here is some example code:

<?php
add_filter('ws_plugin__s2member_disable_specific_ip_restriction', 's2hack_disable_certain_ip_restrictions', 10, 2);

function s2hack_disable_certain_ip_restrictions ($bool, $vars) {
	if(username_exists($vars&#91;'restriction'&#93;)) { // Check if this is a Username
		$user = new WP_User($vars&#91;'restriction'&#93;); // This is now a WordPress User Object
		
		if($user->has_cap('access_s2member_level1')) // If User is s2Member Level 1 or higher, don't run IP Restrictions
			return true;
	}
	
	return false; // If the User doesn't match the needed specifics, then we run IP Restrictions
}

Let me know if you have any further questions. :-)

Posted: Thursday Jun 27th, 2013 at 2:59 am #52644
Bruce
Username: Bruce
Staff Member

Sorry about the delay in response.

I don’t believe that it’s coming from a plugin because I turned everything off and it still had the same issue. It started happening once I tried to reset the integration. It didn’t happened at all the first time I set up amazon + cloudfront.

Yes I agree this is probably not a problem with plugins. I’m glad to hear that you found the source of issue, now you’ll have to figure out what part of your theme is causing this. I’d contact your theme developer about it.

As for your Amazon integration, I took another look at your integration, and it looks like you still have your Cloudfront information input here:

Dashboard -› s2Member® -› Download Options -› Amazon® S3/CloudFront CDN Storage

Did you fix the issue or is that an accident? That could be causing your issue.

Posted: Wednesday Jun 26th, 2013 at 6:56 am #52604
Bruce
Username: Bruce
Staff Member

I hope this will not happen to my customers when I use S2Member Pro – or will it?

No, this shouldn’t happen to your Users. The problem we were having was related to the external email service we use for sending emails at s2Member.com. We were having connection problems to it, and it was causing s2Member’s connection to its database to time out, which is something we’re planning on dealing with in the next maintenance release of s2Member.

Just to clarify, this isn’t a “bug”. It’s just something that can happen when something goes very wrong with a connection during checkout, causing the page to return a 404 error because WordPress is unable to connect to the database to get Post/Page data. This could happen on any WordPress site that is running a PHP connection to another site, due to the way that WordPress connects to the database.

We’ve fixed the problem now on s2Member.com, and we’ll be pushing out a change in the next maintenance release of s2Member that will make the likelihood of this ever happening on any site much lower.

Thanks!

Posted: Wednesday Jun 26th, 2013 at 5:52 am #52594
Bruce
Username: Bruce
Staff Member

If I turn off all plugins, Im talking the risk to lose some important data… And same goes with the theme, I might lose all my settings.. Is that right?

Hm, I don’t think you would. You might consider backing up your site before you do so, though.

This article that Cristian linked earlier goes over some of the best ways to debug your site for things like this. I’d strongly recommend reading this to find your issue here:

Knowledge Base » Common Troubleshooting Tips

Posted: Wednesday Jun 26th, 2013 at 5:35 am #52590
Bruce
Username: Bruce
Staff Member

Okay, thanks for your patience.

I ran the Server Scanner, all greens except for your memory which is just showing a Warning. You might consider upping your Memory (you can do that automatically if you run the scanner yourself here: s2Member® Server Scanner).

At this point I’m thinking this likely has something to do with a conflict from another plugin/your theme that’s causing an error with JW Player. I’m going to have to ask you to put your site into a Maintenance Mode, like with this plugin, and disable all plugins except s2Member, and revert to a default WordPress theme to see if you can get JW Player to load up correctly that way.

If that’s still not working, then it has to be something to do with your server’s connection to Amazon. Try that, then if you still can’t get it to work, contact your server provider and ask them what might be happening. It looks to me like you have s2Member set up correctly, and I can’t find any fault past that. I’m very sorry for the inconvenience and the time this has taken.

Posted: Wednesday Jun 26th, 2013 at 5:22 am #52589
Bruce
Username: Bruce
Staff Member

Hi I resubmitted my infos. Normally it should work now.

Perfect, thanks!

Posted: Wednesday Jun 26th, 2013 at 5:14 am #52587
Bruce
Username: Bruce
Staff Member

Sorry, I’m attempting to connect via FTP and the credentials you gave me aren’t working. I’m failing to connect to the server with these credentials. Is there something else I need to do to connect, or can you send us the correct credentials?

s2Member® » Private Contact Form

Posted: Wednesday Jun 26th, 2013 at 5:11 am #52586
Bruce
Username: Bruce
Staff Member

Alright, thanks for your patience.

I’m looking at your logs and it looks like when the video fails, it fails before a request for the video is ever made. Looking through the forums for JW Player, it looks like this is usually caused by a conflict with other things on your site, or invalid HTML around the player.

I’m going to run the server scanner now and take a look at that before we move forward.

Posted: Wednesday Jun 26th, 2013 at 4:54 am #52584
Bruce
Username: Bruce
Staff Member

Thanks.

Do you need me to send my details again?

I have the details you sent still. I’m going to take a look now. I’m not sure if I’m going to be able to find anything specific here, but I should be able to rule out any obvious stuff. If I can’t find the problem looking through your logs you’re going to have to ask your hosting company about why your connections to Amazon might be failing.

I set up an S3 Bucket earlier today to test this out again, and it worked perfectly when I set it up so it doesn’t look like this is a widespread issue.


Just a heads up: I’m also going to briefly install the s2Member® Server Scanner to see if that yields any information on why this might be happening. I’ll do this after I look at your logs, so let me know if there’s a problem with my doing that. :-)

Posted: Wednesday Jun 26th, 2013 at 3:01 am #52582
Bruce
Username: Bruce
Staff Member

To get started with s2Member, I would first suggest coming up with the way that you’re going to protect your content, and move on from there. Based on what you’ve put forth so far, I’d say the best way to accomplish what you’re looking for is to use Custom Capabilities.

Viewing 25 replies - 451 through 475 (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.