Cristián Lávaque
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Tuesday Oct 16th, 2012 at 7:48 am #28509 | |
|
|
|
|
Hi Bret. What behavior do you want to have happen then? Protected pages will redirect to the Membership Options page. If you want to show another message right there, instead, you can use conditionals instead of the restrictions. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite] About the profile page being protected, profiles aren’t normally public in WordPress. Some plugins may add that, though, like BuddyPress. Is that profile page the default one or a custom one you created for users? It seems to be protected at Level 0 (requiring the user to be logged in). I hope that helps. :) |
|
| Posted: Tuesday Oct 16th, 2012 at 7:42 am #28507 | |
|
|
|
|
Thanks for the email. I went over the latest entries in your log and nothing jumps at me as wrong. I’d have liked to see the other log files, but the login info for the FTP didn’t work, so I couldn’t get them. Could you please send me the right one? Thanks! By the way, I saw you have W3 Total Cache active with object caching enabled, which is known to cause problems. It’d be best that you disable it. http://www.primothemes.com/forums/viewtopic.php?f=36&t=6309#p62322 |
|
| Posted: Tuesday Oct 16th, 2012 at 7:29 am #28505 | |
|
|
|
|
Hmm… well, you could add that var from the [hilite mono]GET[/hilite] array as a hidden input field of the registration form. Then, on the server side, when the form is submitted, you’d need to store it in the database. Rather than the [hilite mono]user[/hilite] table, it may be easier to use the [hilite mono]usermeta[/hilite] one. |
|
| Posted: Tuesday Oct 16th, 2012 at 7:26 am #28504 | |
|
|
|
|
Hi Abner. I’m not fully sure I understand what you’re asking, but this is what I gather: you have members already and want to sell them access to a page protected with a custom capability. Is that it? If so, I don’t see what the problem is. Could you give some more details? Thanks! :) |
|
| Posted: Monday Oct 15th, 2012 at 9:34 am #28422 | |
|
|
|
|
You could use [hilite mono]$_GET['_s2member_req'][ccap][/hilite]. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite] [hilite pre_code]if (isset($_GET['_s2member_req'][ccap])) echo $_GET['_s2member_req'][ccap]; [/hilite] I hope that helps. :) |
|
| Posted: Monday Oct 15th, 2012 at 8:58 am #28415 | |
|
|
|
|
Great. :) |
|
| Posted: Monday Oct 15th, 2012 at 8:57 am #28414 | |
|
|
|
|
It has to be something that altered your installation, that’s why I suspected a plugin conflict. But deativating all your plugins/theme didn’t return that. If the files were altered/corrupted for some reason, re-uploading them would have helped, but didn’t. I really don’t know why your custom profile fields aren’t there. About phpMyAdmin, it’s an interface to manage the databases in your server. Web hosts usually make it available, ask them about it. But if you don’t know what it is, it may be best if you got a developer to assist you to solve this. You can post a job in freelancers websites (e.g. jobs.wordpress.net, elance.com, odesk.com). |
|
| Posted: Monday Oct 15th, 2012 at 8:48 am #28412 | |
|
|
|
|
Got it. Thanks for the update. :) |
|
| Posted: Monday Oct 15th, 2012 at 8:46 am #28411 | |
|
|
|
|
Hi Stein. Did you try changing the [hilite mono]rp[/hilite] attribute to “14” in your shortcode? [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> rp[/hilite] [hilite code]rp="14" rt="M"[/hilite]I’m not sure if PayPal considers it a valid value. Test it with a 1 cent transaction to see if it works. I hope that helps. :) |
|
| Posted: Monday Oct 15th, 2012 at 8:42 am #28410 | |
|
|
|
What do you mean? Custom profile fields? If so, you’d need to study the format in which they’re saved and try to duplicate it with that other form, I guess. |
|
| Posted: Monday Oct 15th, 2012 at 8:40 am #28409 | |
|
|
|
|
Sorry, the custom profile fields don’t have a date picker. You can mention the format in the custom profile field’s “Label/Desc” (you can also use HTML there). I hope that helps. :) |
|
| Posted: Monday Oct 15th, 2012 at 8:34 am #28408 | |
|
|
|
|
But are those products also access, or physical? If access to other pages/downloads, s2Member can do it, but if they’re physically, not. |
|
| Posted: Monday Oct 15th, 2012 at 8:31 am #28407 | |
|
|
|
|
The shortcode seems fine. Can I have a look at the s2Member admin and the logs? You can send the site’s info using the contact form: s2Member® » Private Contact Form |
|
| Posted: Monday Oct 15th, 2012 at 8:28 am #28406 | |
|
|
|
|
Hi Bill. Could you copy this PHP script to your WP directory and load it in your browser? Does it show any errors/warnings? http://www.s2member.com/r/server-check-tool/ |
|
| Posted: Monday Oct 15th, 2012 at 8:25 am #28405 | |
|
|
|
|
Hi Bill.
What do you mean? To the user or to protect the content? For the user to get the custom capability, he has to purchase it with the Individual Capability pro-form/button. He has to be logged in to his account when he loads the page where that pro-form/button is. To protect a post/page with the custom capability, just add it to the s2Member box in the sidebar. This video may help: Video » s2Member (Custom Capabilities) |
|
| Posted: Monday Oct 15th, 2012 at 8:21 am #28404 | |
|
|
|
|
Thanks, got the email. I read the logs (most of the entries) and the IPN log very often shows the custom field missing. Could you verify that your pro-form shortcodes aren’t missing the [hilite mono]custom[/hilite] attribute? [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes -> custom[/hilite] Did you import users with existing subscriptions to the site? If so, you need to populate their profiles with the gateway and subscr. ID. I looked at the plugins you have installed and found that W3 Total Cache has object caching enabled. This is known to cause problems. http://www.primothemes.com/forums/viewtopic.php?f=36&t=6309#p62322 I noticed this in the paypal-rtn.log file:
Could change Pro Forms / Recurring Profile Behavior to “in real-time”? [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Pro Forms / Recurring Profile Behavior[/hilite] If those don’t solve the problem, you could test the other plugins. You have over 50 installed, half of them active, and it’s possible that there is a conflict somewhere. To test, deactivate them and try doing a transaction, see if it goes well. Remember to do a backup before starting the tests. Let me know how it goes. :) |
|
| Posted: Sunday Oct 14th, 2012 at 8:21 am #28377 | |
|
|
|
|
You’d need your script to keep a log of the coupons and their uses, and would need to check that log after each coupon submitted to see if it’s still valid. |
|
| Posted: Sunday Oct 14th, 2012 at 8:19 am #28376 | |
|
|
|
Glad that did it! Thanks for the update. :)
Fix? s2Member isn’t broken in this regard. wp-cron is WordPress, not s2Member, and it normally works fine. If it isn’t, test your other plugins to find the one causing it.
I don’t know if it can be done, but will email Jason asking him. I’ll let you know when he replies. |
|
| Posted: Sunday Oct 14th, 2012 at 8:11 am #28375 | |
|
|
|
|
You can find the logs in /wp-content/plugins/s2member-logs/. :) You can ask the customer to take a screenshot of the error next time, or at least copy it and past it in the email he sends you. Have you tried doing a transaction yourself to see if you could reproduce it? Are other customers checking out successfully? |
|
| Posted: Sunday Oct 14th, 2012 at 8:07 am #28374 | |
|
|
|
|
Hi Mike. In the Membership Options page you can put whatever you want. The only special thing about that page is that it’s where people are sent if they try to access a URL they don’t have access to. Other than that, it’s a normal WordPress page where you put what you want, but because people are sent there, it’s good to give all the options to gain access to the content. About the free registration to get access to the paid content, I wouldn’t put it there for the reason you explained, but I wouldn’t send by email a link that anyone could use like that either, in case someone shared it. What I’d suggest is to leave registrations open, so users can register for free at Level 0. [hilite path]Dashboard -› s2Member® -› General Options -› Open Registration[/hilite] Send the registration link to your contacts, telling them that you’ll upgrade them to the paid level after they registered their account. Then monitor registrations and edit their profiles to change their role from s2Member Level 0 to 1. Or, if you don’t want to monitor registrations, ask them to email you their username after they registered. You’d protect the content at Level 1 or higher, so only users that paid for that level, or those you upgraded manually, would have access to it. I hope that helps. :) |
|
| Posted: Sunday Oct 14th, 2012 at 7:55 am #28373 | |
|
|
|
|
Great! Thanks for the update. I’m glad I could help. :) |
|
| Posted: Saturday Oct 13th, 2012 at 5:57 pm #28357 | |
|
|
|
|
No problem. :) |
|
| Posted: Saturday Oct 13th, 2012 at 5:56 pm #28356 | |
|
|
|
|
Ah, if you’re already in the WP page’s content, the headers have already been sent. So you can’t use header to redirect, you’ll need to use JavaScript. |
|
| Posted: Saturday Oct 13th, 2012 at 5:43 pm #28355 | |
|
|
|
|
Fernando, this forum is public, so you shouldn’t post login info here. I removed that from your post now. I checked all the boxes there, but now you need to change a test user’s level to see if he’s transitioned between MailChimp lists. About the MailChimp integration settings, nothing is obviously wrong. Did you make sure the list IDs are all correct? I noticed one has only numbers, although they usually include letters too. |
|
| Posted: Saturday Oct 13th, 2012 at 5:18 pm #28353 | |
|
|
|
|
If you’re getting PDF invoices, then you mean the payment was already done and you need to give the user access to the content he paid for? You can do that, editing his profile to change his role, or give him custom capabilities, or enter the user’s PayPal subscr. ID, or enter an EOT time. If you are trying to do the payment for the user, then you’d need to be logged in to his account. |
|








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
