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,001 through 2,025 (of 2,703 total)
Author Replies
Author Replies
Posted: Friday Feb 1st, 2013 at 4:33 pm #40308
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

I finally was able to configure default role with post editing capabilities using the Role Editor plugin. But we have another plugin that adds a custom post type of Recipes that we need users to be able to edit in addition to regular posts. How do you add that higher level into s2member?

The structure for allowing the edit of custom post types is like such:

edit_posts = Posts
edit_pages = Pages
edit_cards = Cards (Custom Post Type)

You’ll need to find the correct capability for your specific custom post type.

Posted: Friday Feb 1st, 2013 at 4:29 pm #40307
Bruce
Username: Bruce
Staff Member

Thanks. I am not advanced enough to plug code in manually. Is there a wordpress plugin for this?

This plugin may work for you:

http://wordpress.org/extend/plugins/quick-pagepost-redirect-plugin/

Posted: Friday Feb 1st, 2013 at 4:27 pm #40306
Bruce
Username: Bruce
Staff Member

Thank-you for the follow-up.

Could you please send us your details through our Private Contact Form so we can take a look at your installation?

Thank-you

Posted: Friday Feb 1st, 2013 at 4:21 pm #40305
Bruce
Username: Bruce
Staff Member

Thank you for all of your suggestions. They have been noted on our suggestions list. :-)

Posted: Tuesday Jan 29th, 2013 at 9:09 pm #39956
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

Along with Cassel’s post, you may also want to check our the Quick-Start Guide that comes with s2Member for basic info on getting started with s2Member.

Dashboard -› s2Member® -› Quick Start Guide

Posted: Tuesday Jan 29th, 2013 at 9:05 pm #39955
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

s2Member provides a Pro Form for upgrading. Find it under Dashboard -› s2Member® -› PayPal® Pro Forms -› Billing Modification Forms.

You can use this form to allow users to upgrade/downgrade their membership without creating a new account.

Posted: Tuesday Jan 29th, 2013 at 8:45 pm #39952
Bruce
Username: Bruce
Staff Member

Thank-you for reporting this important issue.

I’m sending these details to Jason to look at.

Posted: Tuesday Jan 29th, 2013 at 8:43 pm #39951
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

Have been doing some more digging. From what I can make out, Akismet does not check for spam user registrations.

There is however a plugin Stop Spammer Registrations Plugin which does appear to check against the Akismet DB (as well as others) for registrations as well as other stuff.

No, I don’t believe that Akismet checks user registrations. I’m not familiar with the Stop Spammer Registrations Plugin, either. However, it does look like it would work correctly with s2Member, assuming that you are using PayPal Buttons.

If, however, you are using s2Member’s Pro Forms, you may run into issues unless the plugin is directly integrated to s2Member, because s2Member’s registration within Pro Forms is not done through the /wp-login.php?action=register page.

Posted: Tuesday Jan 29th, 2013 at 8:38 pm #39950
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

s2Member currently does not have a feature for this. However, WordPress does provide a PHP function to get all members based on things such as roles. You could use this function along with s2Member’s API function to get the data that you need on a per-user basis.

See: http://codex.wordpress.org/Function_Reference/get_users
See Also: Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants

Posted: Tuesday Jan 29th, 2013 at 8:33 pm #39949
Bruce
Username: Bruce
Staff Member

Can you explain me in details about what you are talking?

s2Member currently does not support restricting access for a number of times that a user has logged in. Instead, you will need to either use s2Member’s time-based membership shortcode attributes to restrict access to membership, or use custom code to achieve what you need.

If you’d like to use s2Member’s Pro Forms to do this, you can set up Free/Paid Registration Pro Forms for membership for a certain amount of time that users can sign up with. You can then either delete the user when this time has ended, or demote them back down to s2Member Level 0.

See: Dashboard -› s2Member® -› PayPal® Pro Forms -› Membership Level # Forms
See Also: Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior


Alternatively, if you’d only like the user to sign in once, you might user s2Member’s One-Time Offers to send the user to a page with code that will demote/delete them on their second login.

Find info on One Time Offers: Dashboard -› s2Member® -› General Options -› One-Time Offers (Upon Login)
See Also: Knowledge Base » Changing Roles/Capabilities via PHP


Does that make sense?

Posted: Tuesday Jan 29th, 2013 at 8:21 pm #39948
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry. ~ We appreciate your patience

s2Member’s cancellation form is not meant to be displayed to users that cannot cancel. The “The Nothing to cancel. You’re NOT a paid Member.” message is only meant to deter users that see this form by error.

Instead of relying on s2Member’s messages here, we recommend using the Shortcode Conditionals available in the Dashboard to hide the cancellation form is the user is a free member.

Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals

Assuming that you are using Paid Subscription for upgrading members, you should NOT need to hide the cancellation for specific members that are above level 0, because they are always going to need the cancellation form.

If however, you do need to do so, you may want to check if the user’s Paid Subscr. ID is set to decide if the user should see the form, using the Advanced PHP conditionals.

Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals

Posted: Tuesday Jan 29th, 2013 at 8:16 pm #39947
Bruce
Username: Bruce
Staff Member

Thank-you for inquiry.

My website is hosted by YAHOO Webhosting. They do not allow ssl certificates to be attached to websites they host. Instead they have us create a subdirectory labeled “ssl” to put all of our secure pages into. This folder automatically redirects pages over to https

Is there anyway I can make this work with wordpress and s2Members?

I checked Yahoo’s documentation regarding using SSL certificates. It appears that Yahoo should be giving you a specific address that you should be able to send users to when you need to use SSL. Therefore, it looks like you will need to have some custom code on your page to redirect to the SSL-enabled page if they try to access the page through your normal domain name.

See: http://help.yahoo.com/l/us/yahoo/smallbusiness/webhosting/ssl/ssl-03.html

Based on what you posted, Yahoo now has a way to use a directory to automatically use some special rules to redirect users if they are accessing a file within the /ssl/ directory of your website. This is only kind of a shortcut to help you automatically redirect some pages. With WordPress, you will need to redirect users to a your SSL-enabled site manually.

See: http://codex.wordpress.org/Function_Reference/wp_redirect

Posted: Tuesday Jan 29th, 2013 at 8:03 pm #39946
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

This should be possible with s2Member Pro’s Import/Export feature. You should be able to create a file matching s2Member’s import layout.

See: Pre Sale FAQs » Can I import Users/Members from software I was using previously?
See Also: Dashboard -› s2Member® -› Import/Export -› User/Member Importation

Posted: Tuesday Jan 29th, 2013 at 7:19 pm #39944
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

This post details how to change this text.

Please let us know if problems persist.

Posted: Tuesday Jan 29th, 2013 at 7:04 pm #39941
Bruce
Username: Bruce
Staff Member

@Joe

I installed the server checker file that I found linked to in another s2member forum and ran the server check test in Google Chrome. I copied the output into a notepad file. You can read that here: https://docs.google.com/file/d/0B71IVUXzSG2JVXBZVEs5b1BkSk0/edit

This is not a Server Test Results page. You should upload the file who’s contents are here to your webserver, and then navigate to that file in your browser to see results.

Could you please do that and let us know what comes up there?

Posted: Tuesday Jan 29th, 2013 at 2:27 am #39847
Bruce
Username: Bruce
Staff Member

Thank-you for your request. I’m putting this in our request todo list.

Posted: Tuesday Jan 29th, 2013 at 2:26 am #39846
Bruce
Username: Bruce
Staff Member

But how can I expire access to the form I send them to after? Will the expire access shortcode attributes work in this form?

You should not have to expire access to the shortcode, as it is only allowing the user to upgrade to a specific level. If they have already upgraded, they cannot upgrade again.

Does that make sense?

Posted: Tuesday Jan 29th, 2013 at 2:22 am #39844
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

For this, I would recommend using Specific Post/Page Access Buttons for providing access to your ticket submission form. You will need to use custom code to link these tickets to your user’s account. You may want to use the update_user_option() function for linking this info.

See: WordPress -> update_user_option()

After this is set up, you can use the info that you’ve created with the user_option functions to display these tickets on your Login Welcome Page. s2Member’s standard Membership Levels functionality should not be changed by this, so you can still restrict access to your site’s content with Membership Level # Buttons.

See: Dashboard -› s2Member® -› General Options -› Login Welcome Page

Posted: Tuesday Jan 29th, 2013 at 2:16 am #39843
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

I need to implement a membership site with the following requirements.

User from level 0 – can browse some data
User From Level 1 – Can Browse some more data.
Users From level 2 – can:
a. Browse data
b. buy level 1 access licences
c. registers users at level 1
d. Grant access to registered users.

s2Member currently does not support “gifting” membership to other members. This is something we’re looking to add in the future, but currently would require custom code to achieve. If you were to add your own code to achieve this part of your design, s2Member could restrict access to your content, and allow for upgrades at a user-to-user basis, without having a higher level member upgrade them.

Posted: Tuesday Jan 29th, 2013 at 2:05 am #39842
Bruce
Username: Bruce
Staff Member

Thank-you for reporting this important issue.

I’ve just tested this in a default installation of WordPress and it appears to be working correctly.

At this point I am lead to believe that this something installation-specific to you. Please try disabling all plugins except for s2Member, and reverting to a default WordPress theme. If problems persist, please create a test site, and tell us precisely how you cause this error in a clean installation of WordPress so that we can recreate this issue.

Posted: Tuesday Jan 29th, 2013 at 1:59 am #39841
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

I ran a quick investigation on your site and it appears that your restrictions are working correctly, at least that I was restricted from certain parts of your blog.

Could you please provide a specific example of a post/page that this is happening on?

Posted: Tuesday Jan 29th, 2013 at 1:53 am #39840
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

To be clear, to add the log in/register links to the header, I need to add some code to my child theme functions file. I’ve come up with this but getting errors:

01. if (!function_exists (“s2member_pro_login_widget”))
02. {
03. function s2member_pro_login_widget ($options = FALSE, $args = FALSE)
04. $options => array
05. array(“signup_url” => __(%%automatic%%),
06. “login_redirect” => __(“”),
07. “logout_redirect” => “%%home%%”,
08. {
09. $args = (is_array ($args)) ? $args : array (“before_widget” => “”, “before_title” => “
“, “after_title” => “

“, “after_widget” => “”);
10. /**/
11. return eval (‘ob_start(); c_ws_plugin__s2member_pro_login_widget::widget($args, $options); $ob = ob_get_clean(); return $ob;’);
12. }
13. }
14. ?>

All of this code should not be needed. Instead, you should just call the function directly, like this:

<?php echo s2member_pro_login_widget(); ?>

The info provided in Jason’s link shows what arguments you can pass to this function. For instance, if you’d like to change the title when not logged in, you would do the following:

<?php
$args = array('title' => 'My New Title');

echo s2member_pro_login_widget($args);
?>

That is about as far as we can go with custom code. Please see s2Member® » Support Policy » Within Scope. If you need any further assistance with setting this up, we recommend posting a job listing on http://jobs.wordpress.net/ or http://elance.com/.

Posted: Monday Jan 28th, 2013 at 7:40 pm #39823
Bruce
Username: Bruce
Staff Member

Thank-you for the follow-up. We appreciate your patience.

Please fill out our Private Contact Form so we can take a look at this. I’m unable to tell where the problem is from your logs alone.

Posted: Friday Jan 25th, 2013 at 4:11 pm #39550
Bruce
Username: Bruce
Staff Member

Thank-you for reporting this important issue.

Could you please post the Shortcode that your members are using to renew?

Posted: Friday Jan 25th, 2013 at 4:09 pm #39549
Bruce
Username: Bruce
Staff Member

Thank-you for reporting this important issue.

s2Member currently is not compatible with WP_DEBUG mode. Having WP_DEBUG mode on will cause these warning to pop up, as you see here. Please remove the following line from your wp-config.php file:

define('WP_DEBUG', true);

We are planning on supporting WP_DEBUG mode in the next major version of s2Member.

Please let us know if problems persist. :-)

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