Cristián Lávaque
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Wednesday Mar 6th, 2013 at 4:33 am #43844 | |
|
|
|
We seem to have posted at the same time. You can read my previous reply above, addressing your questions. :)
Well, this varies from site to site, so we can’t please everyone with the default behavior. We opted for treating the search engine bot the same we do any other guest, because that’s the experience guests will have when they try to open the page. If your post is restricted and redirecting to the Membership Options page, that’s what the bot gets too. If you want to let the visitor open the post, then so will the bot be able to open it. So to protect content without protecting the post itself, we made the conditionals available. |
|
| Posted: Wednesday Mar 6th, 2013 at 4:28 am #43843 | |
|
|
|
That’s weird. Could you show me a screenshot? You may be having a JavaScript conflict… Could you try the plugin/theme conflict tests again? Knowledge Base » Common Troubleshooting Tips Are you trying to use more than one pro-form in the same page? If so, that’d be causing trouble, you shouldn’t have more than one in the same page. |
|
| Posted: Wednesday Mar 6th, 2013 at 4:18 am #43841 | |
|
|
|
|
Hi Emily. No, no date for searchable custom profile fields yet. There’s a plugin to list users that does integrate with s2Member’s profile fields. Or you can follow this tip on how to query users by custom profile field: I hope that helps. :) |
|
| Posted: Wednesday Mar 6th, 2013 at 4:08 am #43837 | |
|
|
|
Right, you need to use shortcodes in the post’s body instead of protecting the whole post with an access restriction that’d cause a redirection to the Membership Options Page. To apply this to every post, I guess you’d have to edit the post’s template, editing the content to wrap it with the conditonal, or whatever customization you want. http://codex.wordpress.org/Function_Reference/the_content
If the post is restricted so users can’t access it, neither will search engines have access to it. If you don’t add Alternative Views restrictions, then the post will be listed in archives and home page. The post’s content will be displayed in full there, or until the “more” tag if you use it. http://en.support.wordpress.com/splitting-content/more-tag/
Just remove the category’s ID from the Category Restriction and save. [hilite path]Dashboard -› s2Member® -› Restriction Options -› Category Access Restrictions[/hilite] If the post is still restricted after that, check if it isn’t also being restricted by the Post, Tag or URI restrictions. [hilite path]Dashboard -› s2Member® -› Restriction Options[/hilite]
Because the post is protected and Google could not index it, since the bot got redirected to the Membership Options Page.
Posts may need to be completely hidden in some sites, and having them indexed is not desirable, especially because the content would then be in the search engine’s cache and accessible without paying/registering in your site for it. If you want to protect the post but have part of the content visible, then you’d have to use conditionals in the post itself to show what you want to show and hide what you want to hide, and the bot would be able to land on the post without being redirected. I hope that helps. :) |
|
| Posted: Wednesday Mar 6th, 2013 at 3:45 am #43836 | |
|
|
|
|
Hi Christian. What do you mean when you say “move”? Just install the plugin in a multisite installation or migrate all the s2Member settings? Thanks. |
|
| Posted: Wednesday Mar 6th, 2013 at 3:37 am #43835 | |
|
|
|
|
Thanks, got the password and could login. I did several tests hunting down the problem and finally found it. I fixed it in your installation and will let Jason know what it was so he can update the article. Please remove all the accounts I created doing this. :P |
|
| Posted: Wednesday Mar 6th, 2013 at 2:40 am #43834 | |
|
|
|
For example, for the first upgrade from Level 1 to 2, it’d be something like this: [hilite pre_code]= 30) { $user = new WP_User(S2MEMBER_CURRENT_USER_ID); $user->set_role('s2member_level2'); } ?> [/hilite] There are useful s2Member constants (like [hilite mono]S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS[/hilite] and [hilite mono]S2MEMBER_CURRENT_USER_ID[/hilite] used above) documented here: [hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants[/hilite]. I hope that helps. :) |
|
| Posted: Wednesday Mar 6th, 2013 at 2:29 am #43833 | |
|
|
|
|
Thanks for the update! I’m glad you could solve it. Let us know if you need anything else. :) |
|
| Posted: Wednesday Mar 6th, 2013 at 2:28 am #43832 | |
|
|
|
|
Thanks Christian. I just tried the dashboard login and it didn’t let me in. Could you verify the credentials and resend it? I just emailed you about it, you can reply to that email with the correct login info. Thanks! |
|
| Posted: Wednesday Mar 6th, 2013 at 2:26 am #43831 | |
|
|
|
|
Hi Bryan. You could query members with those s2Member Level roles using [hilite mono]get_users[/hilite]. http://codex.wordpress.org/Function_Reference/get_users For example: [hilite pre_code]ID.' '; ?> [/hilite] And you can change the role dynamically based on the current user’s role. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite] I hope that helps. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 10:33 pm #43824 | |
|
|
|
|
Glad that solved it. :) About the “more” tag: http://en.support.wordpress.com/splitting-content/more-tag/ |
|
| Posted: Tuesday Mar 5th, 2013 at 9:28 pm #43819 | |
|
|
|
|
Hi Christian. The s2Member reCAPTCHA integration is for the pro-forms only. [hilite path]Dashboard -› s2Member® -› General Options -› CAPTCHA Anti-Spam Security[/hilite]
You can create a registration page using the free registration pro-form found here: [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms[/hilite]. I hope that helps. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 9:13 pm #43818 | |
|
|
|
|
Thanks for your patience. Got it. I did what you said and registered with the Level 13 pro-form and the user was created at Level 0. Did you only do the theme test or also the rest of the things suggested in the troubleshooting tips article? Knowledge Base » Common Troubleshooting Tips If you haven’t please do it. Regarding the plugin conflicts tests, remember you also have drop-ins and must-use plugins you’ll need to deactivate/remove. The drop-ins are all caching related, which may be causing trouble. Object caching in particular is highly suspect, since it’s known to cause trouble. I hope that helps. Let me know how it goes. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 7:47 pm #43817 | |
|
|
|
|
Thanks Martin. Could you try this?
And remove the [hilite code]display: none !important;[/hilite] style. s2Member doesn’t display that block anymore when PayPal is the only option. http://wordpress.org/extend/plugins/s2member/changelog/
That said, there’s definitely a JavaScript conflict causing the pro-form to fail. Try typing different passwords in the password fields, the strength indicator doesn’t change at all. Did you really deactivate every plugin and the theme, and refreshed the page with the pro-form and test after each? If you did, did you also test with a clean installation of WordPress with just s2Member to see if you could reproduce the problem? I looked at the Console in Firefox while loading the page and there are some JS warnings, but there was also an error in a line of JS at the bottom of the page, for stats.
[hilite pre_code]st_go({v:'ext',j:'1:2.2',blog:'41117190',post:'7483',tz:'0'}); [/hilite] Not sure if that’s what’s causing the conflict, but it’s worth investigating. I hope that helps! |
|
| Posted: Tuesday Mar 5th, 2013 at 7:28 pm #43816 | |
|
|
|
|
Thanks for your patience. I got your email and checked out the website and the post. I see that it’s properly protected, and if I try to open it while logged out, I get sent to the Membership Options page. I see it listed in the blog, though, so I guess that’s what you meant by the post not being protected. This is so that you can use the WordPress “more” tag to show a snippet of the post, but clicking the link to read the rest sends you to the Membership Options so you purchase access. If you want to hide restricted posts from the posts list, you need to protect the Alternative Views. [hilite path]Dashboard -› s2Member® -› Restriction Options -› Alternative View Protection[/hilite] I’m not changing it myself because I haven’t confirmed that’s what you want, but it’ll be simple for you. I hope that helps. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 9:45 am #43778 | |
|
|
|
|
Thanks for the update! I’m glad you found the problem. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 9:44 am #43777 | |
|
|
|
|
Hi Joseph. Right, if you’re already adding them via ClickBank, you don’t need s2Member to do it too. You may want to configure the integration if the user should be moved between lists on upgrade/demotion, though. [hilite path]Dashboard -› s2Member® -› API / List Servers -› Automate Unsubscribes/Opt-Outs[/hilite] I hope that helps. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 9:40 am #43775 | |
|
|
|
|
Hi Warwick. I know that s2Member restrictions don’t become active if the Membership Options Page has not been set. I’m not sure if it applies to the Brute Force restriction too, but it’s possible. Have you set that page? [hilite path]Dashboard -› s2Member® -› General Options -› Membership Options Page[/hilite] I’ll ask Jason about this. |
|
| Posted: Tuesday Mar 5th, 2013 at 9:37 am #43774 | |
|
|
|
|
Hi Dimitrios. Could you do the tests suggested in this article? Knowledge Base » Common Troubleshooting Tips What do the logs say regarding the emails? [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› s2Member® Log Viewer[/hilite] |
|
| Posted: Tuesday Mar 5th, 2013 at 9:33 am #43773 | |
|
|
|
The subscr. ID is stored in the user’s profile, so that when the payment gateway sends notifications for that ID, s2Member will know what user it belongs to.
With pro-forms you can do it either way. You can have users register first and then, later or immediately, while logged in upgrade making a payment. Or you can use the pro-form to have the person register the account and do the payment right then. [hilite path]Dashboard -› s2Member® -› Authorize.Net® Pro Forms[/hilite] I hope that helps. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 9:28 am #43772 | |
|
|
|
|
Hi Ulrich. I tried loading the file directly and it says that your Basic Download Restriction is not set up. This would cause the videos to not load in the players. http://guitaringenuity.com/de/wp-content/plugins/s2member-files/Anfaengerkurs/gitarrenstunde1.mp4
And the page you linked to shows the PHP code, looks like it’s not being executed. Make sure you have a PHP execution plugin installed and active. Knowledge Base » ezPHP Plugin for WordPress® I hope that helps. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 9:10 am #43771 | |
|
|
|
|
Hi David. You put [hilite mono]the_ID()[/hilite] inside single quotes, so it’s a string, not a function call. |
|
| Posted: Tuesday Mar 5th, 2013 at 9:01 am #43769 | |
|
|
|
|
Hi Joseph. I’m not familiar with ClickMate, and don’t know of someone using it together with s2Member, so you’ll have to test this. s2Member needs some variables to be passed to ClickBank for the integration to work. And the thank-you and IPN URLs have to be s2Member’s too. I hope that helps. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 8:57 am #43768 | |
|
|
|
|
Hey, that’s great news! I’m glad you solved it. Thanks for the update. :) |
|
| Posted: Tuesday Mar 5th, 2013 at 8:54 am #43767 | |
|
|
|
|
Hi Ross. I’m not aware that it’d cause you problems. About the CloudFront integration, maybe you’ll need to update something if you’re using custom CNAMEs. [hilite path]Dashboard -› s2Member® -› Download Options -› Amazon® S3/CloudFront CDN Storage -> Custom CNAMEs[/hilite] I’ll ask Jason if there’s anything you should look out for. :) |
|








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
