Cristián Lávaque
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Saturday Jul 7th, 2012 at 10:16 pm #18587 | |
|
|
|
|
Hi Edward. No, nothing firmer yet. |
|
| Posted: Saturday Jul 7th, 2012 at 10:13 pm #18586 | |
|
|
|
|
Ah I see. You can edit where it links to when you configure the widget in your admin. [hilite path]WP Admin -> Appearance -> Widgets -> s2Member Pro Login[/hilite] If you’re using the PHP method for the widget, here’s the documentation with the parameters: http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_s2member_pro_login_widget%28%29 |
|
| Posted: Saturday Jul 7th, 2012 at 10:04 pm #18585 | |
|
|
|
|
Got ya. Yeah, it doesn’t make sense… I’m emailing Jason to notify him of this problem. Is the login info you submitted before still valid? He will probably need it. |
|
| Posted: Saturday Jul 7th, 2012 at 9:58 pm #18584 | |
|
|
|
|
Hi Ed. The hack doesn’t have that many lines. Do you have other things there? Could you post all the code in your s2hacks.php file? Please put it inside [hilite mono]<code>[/hilite] tags or it won’t display properly. |
|
| Posted: Saturday Jul 7th, 2012 at 9:32 pm #18582 | |
|
|
|
|
Well, MySQL is not super efficient when it comes to complex queries either… I think doing the two quick queries and then working with the results in PHP may be faster. You get the complete list of users, get the list of users with last_activity time and then add it to the other. You could have the user_id as the keys of the users array. Then when you loop the results fo the last_activity query, just do something like [hilite code]$users[$user_id]['last_activity'] = $last_activity_time;[/hilite] |
|
| Posted: Saturday Jul 7th, 2012 at 7:08 am #18546 | |
|
|
|
|
Hi John. You can try using the [hilite mono]skip_confirmation[/hilite] var in your URL, or attribute in your shortcode for the file. [hilite path]Dashboard -› s2Member® -› Download Options -› Shortcode Attributes -> skip_confirmation[/hilite] I hope it helps. :) |
|
| Posted: Saturday Jul 7th, 2012 at 5:22 am #18538 | |
|
|
|
|
Okay. :) |
|
| Posted: Saturday Jul 7th, 2012 at 4:52 am #18537 | |
|
|
|
|
Maybe he didn’t have enough funds in his selected source so he needs to pick another one. I searched for the error and this is what I found: https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_soap_errorcodes
|
|
| Posted: Saturday Jul 7th, 2012 at 4:48 am #18536 | |
|
|
|
|
Well, I’m not very experienced with MySQL… Are you trying to get a list of all the user IDs and their last_activity time if they have one? I don’t know if a single query could return that. The problem with usermeta is that -from what I’ve seen- if the user doesn’t have that field, it’s not just empty, it doesn’t even exist for the user. No row is created with that user_key for that user if it was never stored. What I’d do is two queries: one for the [hilite mono]`users.ID`[/hilite] list and another for the [hilite mono]`usermeta`.`user_id`[/hilite] with a [hilite mono]last_activity[/hilite]. Then work with the results in PHP. I hope that helps. :) |
|
| Posted: Saturday Jul 7th, 2012 at 4:00 am #18527 | |
|
|
|
|
We’ll do what we can to help you. :) |
|
| Posted: Saturday Jul 7th, 2012 at 3:59 am #18526 | |
|
|
|
|
Hi Dean. Are you talking about a link in BuddyPress? I guess you’d have to find if there’s a setting for it or edit the template where it is. |
|
| Posted: Saturday Jul 7th, 2012 at 3:58 am #18525 | |
|
|
|
|
Cool. :) |
|
| Posted: Saturday Jul 7th, 2012 at 3:57 am #18524 | |
|
|
|
|
No problem. :) |
|
| Posted: Saturday Jul 7th, 2012 at 3:55 am #18523 | |
|
|
|
|
Then I don’t know why you got the memory problem… Are you in a shared host? maybe at that moment the available resources were low? I don’t know. s2Member is a large plugin and sometimes WordPress could have memory problems when decompressing it on installation. The FTP upload is reliable and a good solution if the installation/update from the dashboard has issues. |
|
| Posted: Saturday Jul 7th, 2012 at 3:51 am #18522 | |
|
|
|
|
Hi Malin.
This is because of the JavaScript problem that happens with more than one pro-form in the page. The other payment options in the pro-form are enabled/disabled by the JS. |
|
| Posted: Saturday Jul 7th, 2012 at 3:49 am #18521 | |
|
|
|
|
Hi James. I’m very sorry about the delay to reply, for some reason I missed your thread before now. :/
This is correct. Having more than one pro-form in the same page will cause problems with the JavaScript for them.
The billing modification won’t prepopulate the fields, since they aren’t profile fields, they’re payment information for the gateway.
This one may have to do with caching, I’m not sure. Do you have a caching plugin? If so, make sure that it doesn’t have object caching enabled, which can cause different random problems.
Cool. So you solved it now or do you still have a problem pending? |
|
| Posted: Saturday Jul 7th, 2012 at 3:39 am #18520 | |
|
|
|
|
Thanks. Are both for the same transaction? I ask because I noticed the RTN log entry with the error is missing the item number, but the IPN log has it and the entry looks okay. The item number should not be missing. Are you using the s2Member shortcodes? Could you quote the shortcode you’re using? Could you send me the link to the page where you’re using the shortcode, please? s2Member® » Private Contact Form Thanks! |
|
| Posted: Saturday Jul 7th, 2012 at 3:14 am #18519 | |
|
|
|
|
Thanks for the heads up! When you say “standard”, do you mean s2Member’s or WordPress’? Anyway, glad you solved it! Thanks for the update. :) |
|
| Posted: Saturday Jul 7th, 2012 at 3:13 am #18518 | |
|
|
|
|
Hi Derek, Could you try this? Create this folder/file: /wp-content/mu-plugins/s2hacks.php [hilite pre_code] |
|
| Posted: Saturday Jul 7th, 2012 at 2:59 am #18517 | |
|
|
|
|
Alex, is the user logged in when he gets there and the fields are empty? The profile fields will be prepopulated only when the user is logged in, because they can be gotten from his profile, otherwise they’ll be empty and need to be filled out in order to create the account. |
|
| Posted: Saturday Jul 7th, 2012 at 2:51 am #18516 | |
|
|
|
|
Hi Brian.
If WP E-Commerce is a WP plugin, then you may be able to restrict access to it using s2Member’s URI restriction. [hilite path]Dashboard -› s2Member® -› Restriction Options -› URI Access Restrictions[/hilite] Or do you mean selling s2Member access through WP E-Commerce? If so, then no, unless you create a customization/hack to achieve it.
The tracking of what you sell with WP E-Commerce may be a question for them. Or you can try tracking services like Google Analytics or scripts like Prosper202, but this is not something I can help with.
Sometime this Summer is the last estimate Jason gave and that I have. This integration may help in the case of you wanting to sell s2Member access through another system like WP E-Commerce. |
|
| Posted: Saturday Jul 7th, 2012 at 2:32 am #18515 | |
|
|
|
|
Okay, sorry about the delay. I now had a chance to do the test purchase and review the logs and your installation. I could checkout without a problem, no errors, and got taken to the default thank-you page:
It had a link to register at: But that redirects to: Although I thought it wouldn’t work as desired, I registered from I reviewed the logs after this and the transaction looks fine there, but I never got the confirmation email after payment or the new user meail after registration. I also checked the account in the users list and it is there, but with role “Subscriber” instead of “s2Member Level 1”: I’m suspecting that the problem is being caused by the way the child blogs are managed. It’s weird it’d be prana********.tv/inner********-com instead of just inner********-com. Are you using a standard WP multisite network or a WPMU Dev version of it? I ask because I saw WPMU mentiond in the dashboard. You may want to have that blog outside that network, or use a normal multisite network where the child blog will all be under the same domain name. I hope that helps figure out what’s going on in your installation. :) |
|
| Posted: Friday Jul 6th, 2012 at 10:53 pm #18510 | |
|
|
|
/wp-content/mu-plugins/s2hacks.php If you don’t have the folder or file, just create it. :)
The short link is created in this file: s2member\includes\classes\utils-urls.inc.php. The link isn’t stored anywhere, it’s just sent to the user. You could hack the file to save a copy of the link somewhere. You can use other URL shortening services, too. [hilite path]Dashboard -› s2Member® -› General Options -› URL Shortening Service[/hilite]
When the person is taken from ClickBank to your site’s [hilite mono]s2member_pro_clickbank_return[/hilite] URL, s2Member reviews the data ClickBank includes there and s2Member, after confirming the payment was done, sets a cookie in the user’s browser that will let him register (even when registrations are closed) and give him the access he just paid for. There are rare exceptions when s2 can’t confirm the payment right away because of a delay in ClickBank, so the user won’t be able to register with a regular link to the registration page, but the special registration link in the Confirmation Email will still be sent as soon as possible and that link includes authentication that will let him register and give the paid access to the new account too. The successful payment is not stored in the database either, only in the logs if you have those enabled. If the registration link is being sent in the confirmation email, then the payment was successful in s2Member’s eyes, and you could go with that.
I see. s2Member currently only works with a single subscription. If the user started a new subscription, then s2Member would replace the previous one with the new one.
Yes, this, and several things related to the previous points mentioned, are being improved in or considered for the new s2Member being developed. :) |
|
| Posted: Friday Jul 6th, 2012 at 7:52 am #18469 | |
|
|
|
|
Yeah, a backup would be your best solution. Did you verify that there’s nothing left of those posts in the database? If that’s not available, I’d try Google’s cache, or the Internet Archive’s WayBack Machine for copies of the pages to simplify recreating them. |
|
| Posted: Friday Jul 6th, 2012 at 7:50 am #18468 | |
|
|
|
|
No problem. :) |
|








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy
