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.

Raam Dev

Staff Member

My Latest Replies (From Various Topics)

Viewing 25 replies - 76 through 100 (of 2,567 total)
Author Replies
Author Replies
Posted: Tuesday Nov 27th, 2012 at 2:47 pm #32732
Raam Dev
Username: Raam
Staff Member

Hi Emily,

Unfortunately I’m not too familiar with the specifics of BuddyPress, so you’ll probably get more help asking this question on the BuddyPress.org Support Forums or the WordPress.org Support Forums.

I cannot think of any reason BuddyPress would override the template regardless of the page name or slug and the do_shortcode() line you shared in the first post looks correct and should load the s2Member Pro-Form properly.

Posted: Tuesday Nov 27th, 2012 at 2:41 pm #32731
Raam Dev
Username: Raam
Staff Member

Hello,

I’m not aware of any validation issues with IE7/IE8. Could you please try switching to the default WordPress theme (TwentyEleven) and test again? There’s a chance this issue is caused by a JavaScript conflit with your theme. In the meantime, I’m going to consult with another support rep and see if he has any suggestions.

Posted: Tuesday Nov 27th, 2012 at 2:37 pm #32730
Raam Dev
Username: Raam
Staff Member

Hi Michael,

Thank you for the question. Yes, you can develop your site on one domain (a development domain) and then use the same license on your live domain. All that we ask is that you update the primary domain specified on your s2Member.com Profile to reflect the live domain where you’re using the license.

Posted: Tuesday Nov 27th, 2012 at 2:33 pm #32729
Raam Dev
Username: Raam
Staff Member

Glad to help, Phil! Let us know if you have any other questions.

Posted: Tuesday Nov 27th, 2012 at 2:33 pm #32728
Raam Dev
Username: Raam
Staff Member

Hi Sarah,

Yes, unfortunately multiple Pro-Forms on the same page are not currently supported, as it will cause JavaScript conflicts. The only way around this is to load the forms on separate pages.

We recommend describing the various membership options on one page, with buttons that lead to separate pages with the Pro-Forms on them (somewhat like a shopping-cart checkout). Please see http://s2member.com/prices/ for an example.

Posted: Tuesday Nov 27th, 2012 at 2:27 pm #32726
Raam Dev
Username: Raam
Staff Member

Hi Zack,

Thank you for the information. I will escalate this issue to Jason, the lead developer, but I know that he’s away with limited email access until Thursday. In the meantime, please submit your logs and your login details using the Private Contact Form. I also recommend testing with a clean install of s2Member to ensure that your custom code isn’t the cause of this issue and that you didn’t miss reverting any of your custom changes.

Finally, I also suggest testing outside of the sandbox (i.e., with live transactions of $0.01). Sometimes the sandbox mode causes strange issues on the payment gateway side and the only real way of knowing there’s an actual problem is to test with the live gateway.

Thank you for your patience.

Posted: Tuesday Nov 27th, 2012 at 2:17 pm #32725
Raam Dev
Username: Raam
Staff Member

Great! Thanks for the update. :)

Posted: Tuesday Nov 27th, 2012 at 2:17 pm #32724
Raam Dev
Username: Raam
Staff Member

Guillaume,

That is correct. The upgrade/downgrade forms are design for modifying the subscription. If you want to simply change the Level without changing the subscription, you’ll need to do the upgrade manually by editing the user and changing their level. If you want to allow a user to upgrade/downgrade without changing their subscription, you’ll need to have a programmer create a form/button that does that for you using some PHP to change the role (see this thread).

Posted: Monday Nov 26th, 2012 at 4:42 pm #32641
Raam Dev
Username: Raam
Staff Member

Hi Sarah,

The validation uses JavaScript to check if the checkbox has been clicked. If that validation is not working, then I suspect you might have a problem with the JavaScript loading.

Could you give us link to the page with the terms checkbox? We can test to see if the JavaScript is loading properly.

Posted: Monday Nov 26th, 2012 at 4:37 pm #32640
Raam Dev
Username: Raam
Staff Member

Hi Richard,

You can assign and remove Custom Capabilities at any time. If you start using Custom Capabilities in the future, you’ll simply need to assign that/those custom capabilities to the existing users manually. You can do this either by editing each user one-by-one and adding the Custom Capability to their account, or if you have s2Member Pro, you can use the Import/Export tool to export all your users, update their Custom Capabilities in bulk, and then re-import those users, thereby updating all the Custom Capabilities they have access to.

In short, you can start using Custom Capabilities at any time. If you plan on making extensive use of Custom Capabilities in the future, you may want to keep that in mind when designing how you currently restrict thing so as to make that transition easier in the future.

Posted: Monday Nov 26th, 2012 at 4:34 pm #32639
Raam Dev
Username: Raam
Staff Member

Hi Brenda,

It’s hard for us to diagnose any of these issues if you manually changed the s2Member Role Capabilities. s2Member is designed to work with role capabilities that match those of the WordPress Subscriber role. If you dig into the role capabilities for the s2Member levels and manually make changes, there’s no telling how the behavior may change.

Also, it seems that you’ve made extensive modifications to your WordPress login page. Those changes could also be affecting the issues you’re experiencing.

Keep in mind that if a WordPress plugin (including s2Member) causes you to lose access to the WordPress Dashboard, you can manually disable that plugin by simply moving it out of the wp-content/plugins/ directory (I usually just temporarily move it to wp-content). Once the plugin has been moved out of the plugins directory, WordPress won’t load it.

Posted: Monday Nov 26th, 2012 at 4:25 pm #32638
Raam Dev
Username: Raam
Staff Member

Hi Bill,

The only feature currently available in s2Member that would work for your scenario are the Custom Capabilities that Cristian mentioned. In fact, we even created the Capability Buy Now forms/buttons (see Dashboard -› s2Member® -› PayPal® Pro Forms -› Capability (Buy Now) Forms and Dashboard -› s2Member® -› PayPal® Buttons -› Capability (Buy Now) Buttons) for this very purpose: to sell additional stuff on a one-time basis to existing members.

If you don’t need to track what you’re selling to the member (for example, if that’s handled elsewhere or even offline), then you could always create regular PayPal-hosted buttons, totally unconnected to s2Member, and then show those on member-only pages. The member could make those one-time purchases and nothing would get added to the user’s account.

Posted: Monday Nov 26th, 2012 at 4:12 pm #32637
Raam Dev
Username: Raam
Staff Member

Hello,

s2Member does not currently have any upload features. However, you should be able to use s2Member to create and protect client areas (see Client Portals) and then find a 3rd party plugin that provides the upload functionality that you need (perhaps try searching Google for “WordPress File Upload Plugin”).

Posted: Monday Nov 26th, 2012 at 4:09 pm #32635
Raam Dev
Username: Raam
Staff Member

Hi Joe,

Are you using the PayPal Sandbox or are you using a live PayPal Pro account?

If you’re using the PayPal Sandbox and normal “new” signups are working but upgrades are not, then it could simply be a glitch with the PayPal Sandbox (there are occasionally strange issues with it). In this case, I recommend switching to a live PayPal account and then testing the upgrade process using an Upgrade Form configured to charge $0.01.

Posted: Monday Nov 26th, 2012 at 4:04 pm #32634
Raam Dev
Username: Raam
Staff Member

Hi Gene,

I replied to your other thread on this issue. I’m closing this thread to prevent confusion.

Posted: Monday Nov 26th, 2012 at 4:03 pm #32633
Raam Dev
Username: Raam
Staff Member

Hello,

Can you tell us specifically which version of Internet Explorer this is happening with?

Posted: Monday Nov 26th, 2012 at 4:02 pm #32632
Raam Dev
Username: Raam
Staff Member

Hi Gene,

I’m not familiar with the Windows hosting platform, but what I would do to diagnose this issue is to enable the maximum level of logging in Apache, test the remote auth again, and then check to see what the logs say about the 401 error. There should be some more details about this error. If you can provide those here, we may be able to point you in the right direction.

Posted: Monday Nov 26th, 2012 at 3:49 pm #32627
Raam Dev
Username: Raam
Staff Member

Can I add that and [safely] set it to 256M?

Assuming you have that much memory available to you on your hosting account, yes you can safely do that. If you’re not sure how much memory is allotted to you, I recommend checking with your web host.

Posted: Monday Nov 26th, 2012 at 3:47 pm #32626
Raam Dev
Username: Raam
Staff Member

When I assign this template to a page, nothing shows, or BuddyPress seems to take over and show the list of members/users.

That sounds like an issue separate from s2Member. If something appears to be “overriding” a page that you’ve created, I would double-check that you’re not using a page name/permalink that’s already in use somewhere else (perhaps there’s already a special page with that name created by BuddyPress that lists users?). Maybe try creating a new page with a different name, assigning that page template, and then testing again.

Posted: Monday Nov 26th, 2012 at 3:41 pm #32625
Raam Dev
Username: Raam
Staff Member

You can use the Pro-Form shortcode generators (Dashboard -› s2Member® -› PayPal® Pro Forms -› Membership Level # Forms) to set the Initial/Trial periods automatically, or if you need more advanced control over those (e.g., you want to use some PHP code to dynamically configure the Initial/Trial period), you can directly configure those using the shortcode attributes (see Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained)).

Posted: Monday Nov 26th, 2012 at 3:37 pm #32624
Raam Dev
Username: Raam
Staff Member

Hi Phil,

Please see my replies below:

Question #1: I know about the custom registration fields, but I don’t see an option to be able to either upload video, or post video from another site (i.e. youtube). How do I add an upload button for video, and a post field for URLs from youtube/vimeo/etc that will create a new post when they submit it?

The s2Member plugin does not currently contain any file/video upload features. If you need to upload files, you’ll need to either use the WordPress Media Library (Dashboard -> Media -> Add New) or find a WordPress plugin that adds the upload functionality you need.

Also, s2Member is designed for restricting access to font-end content (e.g., WordPress Posts/Pages). There are no features for restricting or allowing access to back-end features (e.g., the ability to publish new posts). The feature of being able to “create a new post when they submit it” is something you’d need to code in yourself as part of the registration process.

Question #2: For members who are logged in, when they click on the ‘Post Your Wisdom’ link on the header menu, I want to show an upload page (not the sign up page). I did create a new ‘Upload Your Content Here’ page, and populated it with the API script

But it didn’t work. Again I want members to be able to either upload their own videos, or post URLs from youtube/vimeo etc (whether on desktop or mobile).

Those shortcodes do work on a fresh install of WordPress and s2Member, so if they’re not working for you I suspect a conflicting WordPress plugin and/or a conflict with the WordPress theme that you’re running. Please try disabling all other plugins and switching to the default WordPress theme (e.g., TwentyEleven) and then test those shortcode conditionals again. (Also see Knowledge Base » Common Troubleshooting Tips.)

Question #3: How do I shorten or configure the length/position of the sign up form? The Login Design button area doesn’t have anything for position or changing the size of the fields (I just want to tighten up the form)

s2Member adds its own CSS to style the Pro-Form’s. If you want to style these forms yourself, you can disable the s2Member CSS and then write your own styles. (See Pre Sale FAQs » Can I change the width of s2Member® Pro Forms easily? and Pre Sale FAQs » How can I prevent s2Member® Pro from loading it’s default CSS?)

Question #4: How do I add a link (i.e. Post Your Wisdom/Upload Your Content Here) to the sidebar Login Widget for those members who are currently logged in?

You can call the Pro Login Widget directly and then pass some extra information to the function to add some HTML before or after various sections. Please see Pre Sale FAQs » Is there a way to call upon the Pro Login Widget directly?

Posted: Monday Nov 26th, 2012 at 3:23 pm #32621
Raam Dev
Username: Raam
Staff Member

When someone is redirected to the Membership Options Page (Dashboard -› s2Member® -› General Options -› Membership Options Page), there are several variables that are passed to that page (see Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)). You can use those to determine which page the user should be redirected to after login.

Using those variables, you can use some PHP code on your Membership Optons Page to redirect from the Membership Options Page to the login page along with a special redirect_to query string variable that points to the original page the user was trying to access. This way, as soon as the user logs in, WordPress will redirect them to that page they were trying to access.

This code will go on the Membership Options Page. You will need to be running a plugin like the Exec-PHP Plugin so that you can execute PHP code inside a WordPress page.

<?php 
if (isset($_GET['s2member_seeking'])) {
	$page_seeking = $_GET['s2member_seeking'];
	$page_seeking_id = substr($page_seeking, strpos($page_seeking, '-') + 1, strlen($page_seeking) - strpos($page_seeking, '-'));
	$redirect_to_page = urlencode(get_permalink($page_seeking_id));
	$redirect_url = wp_login_url( $redirect_to_page );
	echo '<meta http-equiv="refresh" content="1; url='. $redirect_url . '">'; 
	echo "<p>You must be logged in to access this area.</p>";
	echo "<p>Redirecting to the login page...</p>";
} else { ?>

Regular Membership Options Page content goes here. It will be seen by anyone who visits this directly, i.e., they were not redirected to the Membership Options Page because they were trying to access protected content without access.

<?php } ?>
Posted: Friday Nov 23rd, 2012 at 2:47 pm #32446
Raam Dev
Username: Raam
Staff Member

Hi Mark,

s2Member doesn’t work with any roles other than those created by s2Member (i.e., s2Member Level 1, s2Member Level 2, etc.). You can use dynamic shortcode attributes to dynamically set various attributes on a Pro-Form or Button (the membership level for example) based on the submission of a previous form, or even a dropdown box that uses JavaScript to submit the changes to a page hosting the Pro-Form.

Posted: Friday Nov 23rd, 2012 at 2:44 pm #32445
Raam Dev
Username: Raam
Staff Member

Hi Michele,

Are you sure that log entry isn’t old? If you deleted the account in the PayPal sandbox, you should not see any activity about that user in the logs. I suggest clearing your logs and then waiting again to see if it comes back.

Posted: Friday Nov 23rd, 2012 at 2:41 pm #32444
Raam Dev
Username: Raam
Staff Member

Hello,

I’m not clear on what you’re trying to do here. You have a subscription that ends on November 30. On November 25th, someone wants to upgrade to the next level. When they upgrade, do you want their new membership to not start until November 30th? If so, you’ll need to use the Initial/Trial period for that, calculating how many days between now and the end of their subscription and then setting the Initial/Trial period appropriately.

If that’s not what you’re talking about, can you please clarify with a complete example?

Viewing 25 replies - 76 through 100 (of 2,567 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.