Cristián Lávaque
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Thursday Jun 21st, 2012 at 8:27 am #17119 | |
|
|
|
|
Hi Tony. s2Member doesn’t manage access to the admin side at all. Your users, when given an s2Member Level, get a WP role for that s2Member level. Even without s2Member, a regular user would not get access to the plugins in the admin side, that’s the default behavior. Sometimes plugins give access to their settings page if the user has a certain WP capability. I don’t know if that’s the case with that plugin you’re using, but if it is, you could add that capability to the s2Member role the users get. http://wordpress.org/extend/plugins/user-role-editor/ I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 8:22 am #17118 | |
|
|
|
|
Hi Gaper. To change the page with the thank-you message, instead of styling the default one, you can just point to a custom one using the success attribute in your shortcode. [hilite path]Dashboard -› s2Member® -› Authorize.Net® Pro Forms -› Custom Return URLs Upon Success[/hilite] I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 8:20 am #17117 | |
|
|
|
|
Those are for an optional term before the first regular term of the subscription starts. If you give that optional term for free, it’s called the trial, if you charge for it then it’s called the initial term. You can leave it as [hilite mono]tp="0" tt="D"[/hilite] if you don’t want to use it. I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 8:13 am #17112 | |
|
|
|
|
Hi Luis. You can try something like this: [hilite pre_code] I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 8:03 am #17110 | |
|
|
|
|
Hi Luis. I’ve seen this happen with some themes that affect the JavaScript on the admin side. Could you test changing to the default theme and checking if your pro-form generator then works? Thanks! |
|
| Posted: Thursday Jun 21st, 2012 at 8:01 am #17109 | |
|
|
|
|
Hi Lee. Well, any of those plugins you updated may have affected wp_cron, causing the Auto EOT Behavior in s2Member to not work. Could you take a screenshot of your EOT Behavior panel and post it here? [hilite path]Dashboard -› s2Member® -› ccBill® Options -› Automatic EOT Behavior[/hilite] Thanks. By the way, the latest release of s2Member is 120608. You can update to it and see if it helps, too. |
|
| Posted: Thursday Jun 21st, 2012 at 7:57 am #17108 | |
|
|
|
|
You can update them, instead of creating them, if you add the user’s ID in the first column. About the 100 limit, if you have enough memory and no time out issues, try adding more and see if it lets you. If it doesn’t, you can hack s2Member’s code to remove the limitation and do more than that in a go. Haven’t tried it, but I guess you could. I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 7:55 am #17107 | |
|
|
|
|
No problem. :) Let us know if you need anything else. |
|
| Posted: Thursday Jun 21st, 2012 at 7:54 am #17106 | |
|
|
|
|
In your CSS file, try this: [hilite pre_code]div.s2member-pro-paypal-form-submission-section > div.s2member-pro-paypal-form-submit-div {float: left !important;} [/hilite] |
|
| Posted: Thursday Jun 21st, 2012 at 7:42 am #17104 | |
|
|
|
|
Hello Noelle. I’ll ask Jason about this. I’m sending him an email now, will let you know when I hear back from him. |
|
| Posted: Thursday Jun 21st, 2012 at 7:40 am #17103 | |
|
|
|
|
Hello Hari. The List Servers API lets you integrate s2Member with MailChimp and also transition the user between lists automatically based on the level change. [hilite path]Dashboard -› s2Member® -› API / List Servers -› MailChimp®[/hilite] I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 7:37 am #17100 | |
|
|
|
|
Hello Vanessa. s2Member can generate a password to be emailed on registration, instead of letting him enter a custom one, but the username doesn’t have this option. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields -> Password[/hilite] There was a hack posted some time ago, that would let the username be gotten from the user’s email address automatically, but it’s not a standard feature in s2Member. Not sure if that’s what you had. http://www.primothemes.com/forums/viewtopic.php?f=36&t=14806 You can also customize the email sent to new users from here: [hilite path]Dashboard -› s2Member® -› General Options -› Email Configuration -> New User[/hilite] I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 7:33 am #17098 | |
|
|
|
|
The PayPal subscr. ID will be new when they start the new subscription, right. The IP address shown by s2Member in the user’s profile the one the user had on registration. Since he’s not registering a new account, that value doesn’t change. |
|
| Posted: Thursday Jun 21st, 2012 at 7:29 am #17097 | |
|
|
|
Yeah, the last paragraph is the one telling you what to do, but I’m not familiar with CF to know what it’s actually saying. I don’t know what “cache behavior” is in Amazon. You should google it or ask their support team to guide you, I guess. |
|
| Posted: Thursday Jun 21st, 2012 at 7:22 am #17096 | |
|
|
|
|
I’m sorry you missed it before adding all those users manually. I hope it helps with whichever you’re still missing. :) |
|
| Posted: Thursday Jun 21st, 2012 at 7:15 am #17094 | |
|
|
|
|
Hi Paul. That error reminds me of problems caused by the theme or another plugin messing up the shortcode parsing. Could you test changing to the default theme or deactivating other plugins one by one, checking after each to see if the problem’s gone? I hope it helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 7:11 am #17092 | |
|
|
|
|
Cool hack. Thanks for sharing it. :) You should remember that this will be lost when you update WordPress, so remember to reapply it. |
|
| Posted: Thursday Jun 21st, 2012 at 7:06 am #17090 | |
|
|
|
|
lol That works too. :) |
|
| Posted: Thursday Jun 21st, 2012 at 7:04 am #17089 | |
|
|
|
|
Hi Malin. If you use the same code for your Login Welcome page to redirect people based on the ccap, then the last condition that is true will define the redirection URL to, and will be the one used in the end. So if a user with ccap1, ccap2 and ccap3 lands on that page and you had: [hilite pre_code]if (current_user_can('access_s2member_ccap_ccap1')) $welcome_page = "http://mywebsite.se/welcome-ccap1/"; if (current_user_can('access_s2member_ccap_ccap2')) $welcome_page = "http://mywebsite.se/welcome-ccap2/"; if (current_user_can('access_s2member_ccap_ccap3')) $welcome_page = "http://mywebsite.se/welcome-ccap3/"; [/hilite] then $welcome_page would be the one for ccap3. If you used elseif’s instead, then the first one to be true would be it: [hilite pre_code]if (current_user_can('access_s2member_ccap_ccap1')) $welcome_page = "http://mywebsite.se/welcome-ccap1/"; elseif (current_user_can('access_s2member_ccap_ccap2')) $welcome_page = "http://mywebsite.se/welcome-ccap2/"; elseif (current_user_can('access_s2member_ccap_ccap3')) $welcome_page = "http://mywebsite.se/welcome-ccap3/"; [/hilite] In this case the URL for ccap1. I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 6:56 am #17088 | |
|
|
|
|
Hi Alex. I’m not sure I understand fully why you need to change the login and registration links. If you were the only one logging in, then it’d be safer because no one else can find it easily, but if you’re having users register and login, then it’s not secret, so why not use the default address?
You can use the pro-forms to do the registration in any WP page that will look like the rest of your site, instead of the detached wp-login page WordPress has.
You mean redirect to the Membership Options page? That’s the default s2Member behavior when someone tries to view restricted content without the proper access. You can use the pro-form in this page and have it do the registration too. [hilite path]Dashboard -› s2Member® -› General Options -› Membership Options Page[/hilite] The forum topics would be protected with the URI restriction using [hilite mono]/topic/[/hilite], if I remember the topic URLs correctly. I’m guessing you’re using BuddyPress with bbPress.
Did you configure your PayPal integration properly and double check everything? [hilite path]Dashboard -› s2Member® -› PayPal® Options[/hilite] I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 6:40 am #17083 | |
|
|
|
|
Yeah, Jean-Michel’s idea would work. Use conditionals to show the download link or not. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite] |
|
| Posted: Thursday Jun 21st, 2012 at 6:39 am #17082 | |
|
|
|
|
I’d contact the theme developer to alert him about the problem and try to fix it. |
|
| Posted: Thursday Jun 21st, 2012 at 5:13 am #17080 | |
|
|
|
|
No problem! Let us know if you have any. :) |
|
| Posted: Thursday Jun 21st, 2012 at 5:12 am #17079 | |
|
|
|
|
Hi Jeff. This article helps you with changing user roles via PHP, which you can use in a hack via a hook, or a script via an s2Member notification. Knowledge Base » Changing Roles/Capabilities via PHP I hope that helps. :) |
|
| Posted: Thursday Jun 21st, 2012 at 4:59 am #17078 | |
|
|
|
|
Hi Rob. No, s2Member’s List Servers API doesn’t work based on ccaps yet, just levels. That said, ccaps can be added to the user in MailChimp as Merge Fields and. If I’m not mistaken, you can segment your emails using those, but you should verify this with MailChimp (I haven’t used their service, so I’m not sure about this point). You may find this helpful: http://www.primothemes.com/forums/viewtopic.php?f=4&t=15676&p=50619#p50550 But if the hack doesn’t work, try changing the add_filter line to this: [hilite pre_code]add_filter('ws_plugin__s2member_mailchimp_merge_array', 'mailchimp_merge', 10, 2); [/hilite] Since you won’t be moving users between levels, you’ll need to make the list updates with a hack too. You may want to try using this method, which is the one that does the job during level changes, only you’d call it when you want: [hilite mono]c_ws_plugin__s2member_list_servers::process_list_servers[/hilite] I asked Jason about using [hilite mono]c_ws_plugin__s2member_list_servers::process_list_servers[/hilite] and if all arguments were required to make it work, including password. Here’s his reply:
I hope that helps! :) |
|








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
