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 - 2,601 through 2,625 (of 2,703 total)
Author Replies
Author Replies
Posted: Sunday Sep 23rd, 2012 at 2:39 am #26163
Bruce
Username: Bruce
Staff Member

Hi Bruce,

Sorry for the delay

As far as your logs are concerned, everything is going smoothly. None of the plugins deal with s2Member directly. However something I did notice is that the plugin Block Bad Queries you have installed may be interfering with the queries from PayPal, so that if the email PayPal passes through is not equal to that of the user’s, the plugin simply disregards the query and s2Member never even gets the data.

The fact that none of the data that was received from PayPal was for Profile Modification makes the likelihood of this even higher.

I would try disabling this plugin and seeing if that helps. I do believe that the plugin actually edits your .htaccess file, so even if you disable it, it may still give you problems. If that’s the case, you should be able to get a new .htaccess file from a copy of WordPress.

s2Member’s functionality does not deal with validating email addresses sent from PayPal to those from user emails, so this is almost definitely a plugin conflict, and is not how s2Member is designed to work.

Posted: Sunday Sep 23rd, 2012 at 2:23 am #26160
Bruce
Username: Bruce
Staff Member

Sorry for the delay

I’ve put up the Knowledge Base article on EOT Notifications.

There has been a bit of trouble with setting up the EOT column with the ability to sort users by their EOT date. We would like to sort out this issue before posting information on this.

Thank-you for your patience! :)

Posted: Thursday Sep 20th, 2012 at 12:53 am #25881
Bruce
Username: Bruce
Staff Member

Hi Bruce,

Thanks a lot for all of the information. I’m going to investigate this and get back to you soon.

Posted: Monday Sep 17th, 2012 at 4:08 pm #25611
Bruce
Username: Bruce
Staff Member

Hello Bruce,

Thanks for the heads-up on this thread, Eduan. We appreciate all bug reports.
And thanks for your patience.

I’m testing out s2 – is it the case that if a user signs up for one of the paid levels but their paypal and s2/wordpress user emails don’t match, then they will be set as ‘unconfirmed’ and won’t be given the correct access permissions?

Within s2Member’s IPN/PDT processes there are no processes that validate the user email inside WordPress with the email passed by PayPal. s2Member uses this email address only for sending users their passwords via wp_mail() if you have s2Member configured that way. s2Member uses the user ID passed by PayPal for updating profiles.

However, if you are filtering the variables PayPal is receiving, and replacing the PayPal email with the subscriber’s email, this could definitely cause problems.

Are you getting an error code/message during your tests that may be causing this? If so, can you post exactly what this error is?

I’m looking forward to hearing as it may be a conflict with another plugin that integrates with s2….

Is this plugin in the WordPress plugins repository? If so, can you post the link to it?

Also, could you please post the PayPal logs from these test transactions, assuming you have logging enabled?

Thanks

Posted: Monday Sep 17th, 2012 at 3:14 pm #25604
Bruce
Username: Bruce
Staff Member

Hi Mary,

I’m going to try to get this up today, or some time tomorrow.

Thanks for your patience.

Posted: Monday Sep 17th, 2012 at 3:12 pm #25603
Bruce
Username: Bruce
Staff Member

Hi Gabor,

Sounds good! :)

Posted: Friday Sep 14th, 2012 at 1:00 pm #25322
Bruce
Username: Bruce
Staff Member

Hi Darryl,

Glad to see you got it fixed now. :)

Posted: Friday Sep 14th, 2012 at 3:07 am #25271
Bruce
Username: Bruce
Staff Member

Hi Darryl,

I don’t believe we’ve had any problems with other users with the new update. We’re going to keep an eye out for problems with this. From what you said here:

The paypal button has disappeared and a sign in or registration form appears on all pages as well as the sign up page.

It sounds like there is a conflict somewhere with the WordPress loop, and your theme is pulling different page data for some reason.

the other plugin that updated the same day as s2members was easyrotator plugin and its also having problems and i have their techs looking at it.

Have you tried disabling the EasyRotator plugin to see if that fixes the problem?

If disabling it fixes your problem, you may want to revert to the old version of the plugin. You should be able to get this from the EasyRotator site.


I briefly searched the source code for EasyRotator and found that it does hook into your WordPress post data within compatibility.php. However the code there looks like it’s okay, which leads me to believe it’s an issue with the shortcode the plugin produces when it’s mixed with s2Member Shortcodes.

Posted: Friday Sep 14th, 2012 at 2:37 am #25268
Bruce
Username: Bruce
Staff Member

Hi Andrea,

Thanks for pointing this out

It appears that s2Member will be affected by this change, as the HTTP header is not sent within s2member/includes/classes/paypal-utilities.inc.php (specifically the method paypal_api_response() within this class). As is said within the information you posted:

Additional Details
Starting February 1, 2013, we will require all incoming requests to have a “Host” header which complies with HTTP 1.1 Specifications. This header was not required under HTTP 1.0. IPN and PDT scripts using HTTP 1.0 may start failing with “HTTP/1.0 400 Bad Request” errors after February 1, 2013, which will result in IPN messages not being validated successfully, or PDT scripts not being able to retrieve transaction information.

The HTTP header will need to be passed now to work with HTTP/1.1 specifications. Jason is aware of this and s2Member will be updated before February 1, 2013 to work with these changes.

I have also sent a message to Jason for clarification, if needed, and he may reply here with more information.

Thanks!

Posted: Friday Sep 14th, 2012 at 2:19 am #25266
Bruce
Username: Bruce
Staff Member

Hi Charles,

Sounds good! Glad you got it fixed! :)

Posted: Friday Sep 14th, 2012 at 1:37 am #25259
Bruce
Username: Bruce
Staff Member

Hi Deyson,

s2Member’s transient options are created through the WordPress function set_transient() in s2Member’s IPN/PDT functionality. As it’s name suggests this data lasts only for a short time; WordPress automatically deletes this data after a while.

If you’re running a live site, this transient data is very important, as it is vital for finding if transactional data has been processed before. When you see Not processing. Duplicate IPN within s2Member’s logs, this is because s2Member picks up that it has processed this transaction before because it is stored within transient data.

So, to answer your question, no. It would be unwise to delete transient data of any kind (especially s2Member’s IPN transient data), as it is important for the time that it is there, and when it’s not needed WordPress will delete the data automatically.

If you’d like to check out the source code that deals with transient data, you can look in the files within s2member/includes/classes/ that start with paypal-notify-in-. You can check it out within your WordPress setup or in the Codex.

Posted: Thursday Sep 13th, 2012 at 2:57 am #25147
Bruce
Username: Bruce
Staff Member

Hi Gabor,

Thanks for your patience

I ment upgrading from our free levels (0-1-2-3) to a paid level (4-5-6) Which I’ve eventually achieved the following way:

The billing modification forms option only works with paypal so I’ve first tried modifying the form code generated there to work with clickbank with obviously no luck. I’ve tried just adding the modify=”1″ parameter but that takes customers to clickbank’s “order lookup” which isn’t right as the member levels I’d like to allow the upgrades for are free levels therefore have no previous order.

But then it was just as simple as providing the same buttons what I have for new member registration. And it worked. It changed the level1 free membership to a level4 subscription.

Silly me… trying to complicate the simple. :)

Ah, sorry about the confusion. I hadn’t realized you were using ClickBank, but ClickBank does have similar functionality. Glad to hear you got that fixed.

So now it would be great to achieve downgrading certain levels to certain levels when customer cancels. (eg: 6 to 3, 5 to 2, 4 to 1…) Which is what you’re making the KB Article for.

I’ve finished this article here. In this case you would use something like this at line 136:

$existing_role = c_ws_plugin__s2member_user_access::user_access_role($user);
/**/
if($existing_role === 's2member_level6')
	$demotion_role = 's2member_level3';
if($existing_role === 's2member_level5')
	$demotion_role = 's2member_level2';
if($existing_role === 's2member_level4')
	$demotion_role = 's2member_level1';
else
	$demotion_role = c_ws_plugin__s2member_option_forces::force_demotion_role("subscriber");

I’m also trying to find a way to allow members to switch between the free levels (0-1-2-3) but thats not crucial at this stage.

I believe this will need to be set up through some custom code within a WordPress page. s2Member’s not fully equipped for this as of yet. You can find information on how to set this up in Jason’s Article.

Let us know if you have any issues.

Posted: Thursday Sep 13th, 2012 at 1:21 am #25115
Bruce
Username: Bruce
Staff Member

Hi Charles,

Sorry I didn’t clarify. I was speaking of the box at the bottom of s2Member® -> General Options -> Login/Registration Design (Footer Design ( i.e. Bottom ). You should be able to add <style></style> tags and put CSS (i.e. the code I gave you) within those tags in that area.

Posted: Tuesday Sep 11th, 2012 at 2:10 pm #24919
Bruce
Username: Bruce
Staff Member

Hi Justin,

We’ve seen similar debug errors within s2Member before. It’s because of how s2Member was originally coded, which is something we’re working on currently. The errors do not affect the way s2Member works, and is still usable code, as NULL still evaluates to FALSE.

I’m putting this in our TODO list.

Thanks!

Posted: Tuesday Sep 11th, 2012 at 1:57 pm #24916
Bruce
Username: Bruce
Staff Member

Hi Grace,

I believe I had released a hack awhile ago on the Old Forum System for this. I’m going to do some digging today and create a new one and put it in the Knowledge Base. I’ll reply here when it’s finished.

Also, I believe it may be possible to send email alerts through a PHP script to tell you when a user is nearing their EOT date. I will put that in the KB article as well.

Let us know of any other specific feature requests you’d like to see in s2Member, we really appreciate the input. Right now, Jason is working on the new s2Member, so new feature development is not being done at the moment, but we’ll gladly help you out with adding small features in.

Posted: Tuesday Sep 11th, 2012 at 1:57 pm #24915
Bruce
Username: Bruce
Staff Member

Hi Thomas,

I think the topic you saw was this one?: http://www.s2member.com/forums/topic/help-finding-topic-on-showing-eot-in-admin/

I believe I had released a hack awhile ago on the Old Forum System for this. I’m going to do some digging today and create a new one and put it in the Knowledge Base. I’ll reply here when it’s finished.

Also, I believe it may be possible to send email alerts through a PHP script to tell you when a user is nearing their EOT date. I will put that in the KB article as well.

Let us know of any other specific feature requests you’d like to see in s2Member, we really appreciate the input. Right now, Jason is working on the new s2Member, so new feature development is not being done at the moment, but we’ll gladly help you out with adding small features in.

  • This reply was modified 4 years, 3 months ago by  Bruce.
Posted: Saturday Sep 8th, 2012 at 9:34 pm #24674
Bruce
Username: Bruce
Staff Member

Hi Justin,

The security key generator is powered by JavaScript, so make sure your browser supports JavaScript, and has JavaScript enabled.

Lemme know if that fixes it.

Posted: Saturday Sep 8th, 2012 at 12:36 am #24596
Bruce
Username: Bruce
Staff Member

Hi Gabor,

Taking a look at the structure now, it appears that it’s a bit more complicated than I first thought. A Cron Job will not be enough to do what you’re looking to do. Instead, we will need to create a new instance of the class c_ws_plugin__s2member_auto_eots, which is very possible because of how s2Member creates classes.

I’ll be posting the KB Article pretty soon, and will post the link here.

upgrading for existing higher then level0 members with clickbank

I believe that functionality is covered by Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms. If not, can you clarify what you mean by that?

Thanks!

Posted: Friday Sep 7th, 2012 at 1:27 pm #24548
Bruce
Username: Bruce
Staff Member

Hi David,

To clarify, the ultimate desire would be to inform users why they’ve been directed away from the /create/ page to an upgrade form, so they know what’s going on. I’ll go and dig into your suggestions, please keep me updated if you have further insights.

I’ll definitely post back here when I have updated my KB article. If you’d like to redirect users to your specific form, you could do so through a PHP hack (using header(‘ Location: http://url-to-form/ ‘);exit();), OR through JavaScript on your Membership Options Page using the info I provided in the KB article. I’ll update the article to show how to do that as well.

Posted: Friday Sep 7th, 2012 at 2:11 am #24466
Bruce
Username: Bruce
Staff Member

Hi Maksym,

Glad to hear you got it fixed! :)

You might be able to get your mySQL memory limit increased by your hosting provider if that plugin was needed. I had a similar issue with a site as well.

Posted: Friday Sep 7th, 2012 at 2:08 am #24465
Bruce
Username: Bruce
Staff Member

Hi Charles,

You could try adding a CSS class to the checkboxes, and then using:

input.class_name {
position: relative;
top: 3px;
}

That should push the checkboxes down 3 pixels assuming you made the CSS class class_name. You can change the value of top: until you get it lined up right.

Posted: Thursday Sep 6th, 2012 at 11:19 pm #24452
Bruce
Username: Bruce
Staff Member

Hi Randy,

I’m going to take a look at this tonight and get back to you soon.

All of the JavaScript files for s2Member should be located within /s2member/includes/. I believe that the file you may be looking for is s2member-min.js which should be just a minimized version of s2member.js.

EDIT: Nevermind I see you have found the issue. Sorry I couldn’t have been more of a help. (lol)

Let us know if you have any more issues.

  • This reply was modified 4 years, 4 months ago by  Bruce.
Posted: Thursday Sep 6th, 2012 at 10:59 pm #24446
Bruce
Username: Bruce
Staff Member

Hi David,

Can you take a moment to advise how I can edit options page, or other bespoke redirect page to facilitate the desired ‘land on specific’ S2 pro upgrade form.

I wrote a quick article on using the Membership Options Variables here with some sample code that you can use to get started. I’ll update it soon to add some detail to some more things that might help you, and other s2Member users using WordPress MultiSite.

Does it simplify the issue if I use the hack to land on new bespoke pages, just with one necessary pro form for desired upgrade, rather than use the /opions/ page?

That’s really up to you, but I would suggest just adding:

?_s2member_seeking[ruri]=' . base64_encode('http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'])

to the end of the redirect URL, which you could use within /options/ just the same as s2Member’s normal functionality. Doing the above would save time with the code on the Membership Options Page, but still wouldn’t let users know why they were redirected, which is what you’re trying to do, by what I understand.

Posted: Thursday Sep 6th, 2012 at 4:38 pm #24386
Bruce
Username: Bruce
Staff Member

Hi Charles,

If you go down a few forms, and find CSS Styles: ( optional ), you can put float: left; in that form and it’ll fix it. :)

Posted: Thursday Sep 6th, 2012 at 2:18 am #24264
Bruce
Username: Bruce
Staff Member

Hi Charles,

I was able to get this working like this:

US|&nbsp;&nbsp;United States<br />|default
CA|Canada<br />
VI|Virgin Islands (U.S.)

The only thing you’ll have to deal with is 2 spaces between the checkbox and the description, otherwise it looks fine. Just be sure to use the HTML entitie &nbsp; to create the spaces on the first checkbox description, and HTML <br /> tags after all but the last’s description:

Let me know if that works for you.

Viewing 25 replies - 2,601 through 2,625 (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.