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 - 1,951 through 1,975 (of 2,703 total)
Author Replies
Author Replies
Posted: Thursday Feb 7th, 2013 at 5:36 pm #41076
Bruce
Username: Bruce
Staff Member

i wanted to ask if i can hide Pages etc. right in the Navigation ? to clarify the non registered user cant see all the Menu Items but as soon as he is registered he will see more items in the menu.

But i want to have 2 different groups/Member roles and both will see different Navigation menu items.

ist this possible with S2Member ?

Yes, this is possible. s2Member’s Alternative View Protection supports stopping the display of protected content from your navigation menu automatically.

See: Dashboard -› s2Member® -› Restriction Options -› Alternative View Protection

If you need functionality past that, you will need to edit your theme’s header.php file directly, and change the wp_nav_menu() function call there.

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

Posted: Thursday Feb 7th, 2013 at 5:27 pm #41074
Bruce
Username: Bruce
Staff Member

Parse error: syntax error, unexpected ‘<' in /home/cheerlib/public_html/wp-content/themes/canvas-labzip/content-post.php on line 66

This sounds like you have put another PHP tag within a PHP tag. Something like this:

<?php

// code is here
//...
//...
<?php	   echo do_shortcode('&#91;&#91;s2If current_user_is(s2member_level0)&#93;'); ?>
<?php	   echo do_shortcode('&#91;ninja-popup ID=2484 autoopen=true&#93;'); ?>
<?php	   echo do_shortcode('&#91;/s2If&#93;&#93;'); ?>

If that’s the case, you should instead do this:

http://jobs.wordpress.net, or another freelance web site where WordPress® experts are offering their expertise through a bid on your project.
[/note_box]

Posted: Thursday Feb 7th, 2013 at 5:22 pm #41072
Bruce
Username: Bruce
Staff Member

This plugin along and “Wordpress https plugin” only seem to have the capability of redirecting a post or a page to another “existing” page somewhere else. I need to force a page from my wordpress blog to open from my folder “ssl” even though the page doesn’t exist there, right?

Not exactly. Instead, you need to have your page redirect to your SSL-enabled yahoo subdomain page that you should be able to access via your Yahoo Control Panel. This is essentially a mirror of your current site, but with SSL enabled.

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

Posted: Thursday Feb 7th, 2013 at 5:22 pm #41071
Bruce
Username: Bruce
Staff Member

This plugin along and “Wordpress https plugin” only seem to have the capability of redirecting a post or a page to another “existing” page somewhere else. I need to force a page from my wordpress blog to open from my folder “ssl” even though the page doesn’t exist there, right?

Not exactly. Instead, you need to have your page redirect to your SSL-enabled yahoo subdomain page that you should be able to access via your Yahoo Control Panel. This is essentially a mirror of your current site, but with SSL enabled.

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

Posted: Thursday Feb 7th, 2013 at 5:20 pm #41070
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

This would need to be a feature of the Interstitial Ads to work correctly. You could hack the plugin files, and use s2Member’s Advanced PHP Conditionals to turn off the Ads for users that are not s2Member Level 0, though.

<?php
if(current_user_is('subscriber')) {
	// The plugin should run
}
?>

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

That’s about as far as we can go with custom code. If you need further assistance, we recommend http://jobs.wordpress.net, or another freelance web site where WordPress® experts are offering their expertise through a bid on your project.
Posted: Thursday Feb 7th, 2013 at 5:15 pm #41068
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

s2Member’s redirect to the Login Welcome Page will only take effect is the user is not already going to be redirected somewhere else.

This means that if your theme or another plugin is also redirecting a user upon login, this can override s2Member’s Login Welcome Page redirect. To find out where your site is redirecting by default, please login by going directly to http://yoursite.com/wp-login.php, by typing this URL into your browser manually. If you are redirected to the Login Welcome Page, I would suggest checking the URLs that your theme or other plugins/login widgets are sending your Users to when they log in.

If it is not wp-login.php, or has something like ?redirect_to=/ at the end of the URL, then this is the problem.

Posted: Thursday Feb 7th, 2013 at 4:56 pm #41066
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I have a certain level I want to create. I need to verify that they are a student. What is the best way to do this?

s2Member currently does not support verifying members. However, you could set up something like this using the information provided in my post here:

http://www.s2member.com/forums/topic/members-directory-and-custom-registratio-form/#post-40944

Posted: Thursday Feb 7th, 2013 at 4:56 pm #41065
Bruce
Username: Bruce
Staff Member

Just to clarify, I can send a new member signup to multiple admin accounts, not just the default wordpress admin email? As I want more than one person to be able to approve it you see

Right. You can assign the email to go to as many emails as you need.

By sending their password to them, do I have to create it? As I’d rather not know a user password and I thought data protection meant I shouldn’t. If its auto generated when we send it then that’d be great

A password is automatically generated when a user is created, if you have this set up to do so. You may need another plugin to send a user their password without generating a new one, however, as WordPress does not support this.

The other question I have (sorry!). Can S2 Members extend the current registration form to include new fields such as:

Yes. You can set up Custom Registration/Profile Fields in your WordPress Dashboard here:

Dashboard -› s2Member® -› General Options -› Registration/Profile Fields

Let us know if you have any further questions/concerns. :-)

Posted: Thursday Feb 7th, 2013 at 4:50 pm #41064
Bruce
Username: Bruce
Staff Member

Glad to hear you fixed your issue.

For future reference, this error is saying that your Trial Period and Amount are exactly the same as your Regular Period and Amount. In this case, you’d want to just delete the ta and tp amounts from your Shortcode.

Posted: Thursday Feb 7th, 2013 at 4:46 pm #41062
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

It appears that s2Member was denied access to changing it’s .htaccess file here. I would recommend checking your permissions on the s2member-logs directory, and ensuring that they are set up to allow for PHP scripts to access and edit files here.

Please let us know if problems persist. :-)

Posted: Thursday Feb 7th, 2013 at 4:44 pm #41061
Bruce
Username: Bruce
Staff Member

Thanks for the follow-up.

I notice that this is ONLY happening with listings on your site. For example, if you attempt to reach the following URL on your site, you are redirected to the Membership Options Page as expected.

http://bankreposbahamas.com/financing/

This leads me to believe that this is most likely a theme issue. Could you please try reverting to a default WordPress Theme, and see if you are then redirected correctly?

Posted: Thursday Feb 7th, 2013 at 4:39 pm #41060
Bruce
Username: Bruce
Staff Member

I copy the shortcode to the post. And indeed the button shows up … as long as I am logged in as a member!
When logging out and going to that URL I am immediately redirected to the membership options page… Which is NOT what I want.

Your Specific Post/Page Buy Now buttons should not be in the Post that you have protected with Specific Post/Page Access Restrictions. s2Member will ALWAYS redirect to the Membership Options Page when a user does not have access to content. You should put this Specific Post/Page Buy Now button into your Membership Options Page, so that when a user tries to access the Post/Page, they are redirected to the button to buy it.

Does that make sense?

Posted: Thursday Feb 7th, 2013 at 4:36 pm #41059
Bruce
Username: Bruce
Staff Member

Thanks for the follow-up.

However, I seem to stumble from one hurdle to another. Now that I’ve overcome all of this. I’ve set up the S3/Cloudfront integration and S2 Member distributions are configured and enabled in Cloudfront. So far so good, but when I put the S2Stream short code into a page, the side bar, page content and footer completely disappear! All I’m left with are the site header and the page title. I’ve tried it with all plugins disabled and just the plain twenty twelve theme and the problem is still there so I’m sure there are no plugin/theme conflicts causing this problem.

Could you please post the Shortcode that you are using on this page?

Posted: Thursday Feb 7th, 2013 at 4:35 pm #41058
Bruce
Username: Bruce
Staff Member

Private Contact Form login and log information has been sent.

I’m sorry, I do not believe we have received this information. Could you please resend the log files?

s2Member® » Private Contact Form

Posted: Thursday Feb 7th, 2013 at 4:32 pm #41056
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

This is happening with several different codes, not just this one, but all throughout the classroom :(

The Shortcode that you posted looks like it is correct. Could you please post the other Shortcodes that you are using?

Also, what do you have set up in your Automatic EOT Settings?

See: Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior

Do you have logging enabled? If so, please send us your logs via our Private Contact Form.

See: s2Member® » Private Contact Form

Posted: Thursday Feb 7th, 2013 at 4:27 pm #41055
Bruce
Username: Bruce
Staff Member

Could you help steer me towards the specific bits that would allow me to get this functionality up and running? Then I can spend the time to get familiar. I don’t even need to allow subscriptions for another month or so.

For setting up an organization type structure, I would recommend giving access to dynamically-generated Free Registration Forms (only available with s2Member Pro) to create Users with specific Custom Capabilities, such as are set up in this video tutorial:

Video » s2Member (Custom Capabilities)

You can then have users sign up with these Custom Capabilities to differentiate between the different students of users. These Custom Capabilities can be as simple as the organization’s leader’s username.

See: Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms
See Also: Knowledge Base » Using Variables In A Shortcode

My most immediate need is to redirect logged in users to specific pages. Some of the conditional bits seem helpful for displaying different content, but I’m not seeing how they would handle the page redirection. All users can have access to the content, but I need to direct them to different pages as I’m “curating” lesson plans.

s2Member already redirects to the Login Welcome Page that you have set up on your site. If you’d like to use s2Member’s Advanced PHP Conditionals on your Login Welcome Page to decide where a User should be redirected to on Login, you can do this. s2Member also supports dynamically-created Login Welcome Page URLs, which may be useful in this case.

See: Dashboard -› s2Member® -› General Options -› Login Welcome Page
See Also: Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals

…but I need to direct them to different pages as I’m “curating” lesson plans.

If you are dealing with lesson plans, you may want to use s2Member’s Content Dripping to display certain lessons after a specific amount of time. Users in the past have used this functionality for this.

See: Dashboard -› s2Member® -› API / Scripting -› Content Dripping

Let us know if you have any further questions/concerns. :-)

Posted: Thursday Feb 7th, 2013 at 4:11 pm #41052
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

I can send in the log if that helps.

Please send these logs in so we can diagnose further what is happening on your installation. Also, can we have the go-ahead to run test transactions on your installation?

s2Member® » Private Contact Form

Thank you.

Posted: Thursday Feb 7th, 2013 at 4:10 pm #41051
Bruce
Username: Bruce
Staff Member

Thank you for the information.

I’m sure it will be useful for other users in the future. :-)

Posted: Thursday Feb 7th, 2013 at 4:08 pm #41049
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We appreciate your patience.

s2Member currently does not have a Pro Form available for upgrading Users to a higher level without charge. If you need to upgrade users this way, you will need to do this manually through the WordPress Dashboard.

Alternatively, if you would like a more advanced approach, you can have Users upgrade using the information provided in this KB Article:

Knowledge Base » Changing Roles/Capabilities via PHP

Posted: Thursday Feb 7th, 2013 at 4:00 pm #41048
Bruce
Username: Bruce
Staff Member

I’ve been able to upload the .csv file and import all users as new users by doing these steps:
1. open .csv in textmate
2. manually deleted each “ID” preserving the “”

I was previously deleting or clearing the IDs using Microsoft Excel 2011 for mac and I believe it was changing the file in some way.

Glad to hear that you found the issue.

What program do you recommend to edit the ID fields all in one go?

We currently do not have a recommended .csv file editor. s2Member’s .csv files are editable by most CSV file editors however, so any you find with this functionality should work just fine.

Posted: Thursday Feb 7th, 2013 at 3:57 pm #41047
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. We appreciate your patience.

s2Member is not designed to support shipping of physical goods normally, as s2Member is an eCommerce application. The No Shipping (ns) attribute in s2Member only prompts for a Shipping Address that is then sent to and stored securely by PayPal.

s2Member does not store any shipping or billing information on-site. s2Member only collects this information and sends it to PayPal to store. This allows site owners to then go to PayPal transactions within PayPal, and use the information provided by the Customer to send your physical goods. If you’d like to access this information on-site, you will need to set up an external handler for the POST vars that are sent by PayPal.

s2Member’s PayPal® IPN Handler is packaged within /s2member/includes/classes/paypal-notify-in.php. You can hook into this handler through the ws_plugin__s2member_before_paypal_notify hook created in this file.

Posted: Wednesday Feb 6th, 2013 at 8:02 pm #40950
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

It sounds like you shouldn’t have any problems setting up what you’re looking for here. You can use s2Member’s Free Registration Forms (if you are using s2Member Pro), or Free Registration Form at /wp-login.php?action=register. Users will automatically be redirect to your Login Welcome Page which can house the information you want logged-in Users to have access to, which is a WordPress Page. s2Member blocks access to the WordPress Dashboard for all Users that are of an s2Member Level (or Subscriber).

Let us know if you have any further questions/concerns. :-)

Posted: Wednesday Feb 6th, 2013 at 7:05 pm #40947
Bruce
Username: Bruce
Staff Member

Thanks for the follow-up.

Could you please send us a login so we can further diagnose what may be happening?

See: s2Member® » Private Contact Form

Thank you.

Posted: Wednesday Feb 6th, 2013 at 6:39 pm #40945
Bruce
Username: Bruce
Staff Member

When I get the responses the filled in fields that show up in their profiles do not show up in the email.

Are you saying that s2Member attempts to replace these codes, but does not replace them with any value? Or that the email is sent with these replacement codes unchanged in them?

Posted: Wednesday Feb 6th, 2013 at 6:35 pm #40944
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

Once a user completes the form, the user has to be approved first. The approval email needs to go to designated email address other than the wordpress admin account

User approval is not something that s2Member natively supports, but you can set this up by doing the following:

1. Make sure that you have Custom Passwords turned OFF in your Registration/Profile Fields Options. This will ensure that a user cannot log in until you send them their password.

See: Dashboard -› s2Member® -› General Options -› Registration/Profile Fields

2. Edit your New User Notification Emails to ensure that the user will not receive their email until you send it to them. Here you can also specific recipients of the Administrative New User Notification.

See: Dashboard -› s2Member® -› General Options -› Email Configuration

Now you will be notified every time a user signs up, and they will be denied access until you send them their password. Will that work for you?


Within the members directory, I need to be able to search users by name, company (additional new field) or by sector (additional new field – drop down of industry sectors). ideally one user can be in multiple sectors

A Member’s directory is not something that s2Member supports. I’ll add this to our requests list. In the meantime, you may want to take a look at the WordPress function get_users() for accomplishing this.

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

Please let us know if you have any further questions/concerns. :-)

Viewing 25 replies - 1,951 through 1,975 (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.