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,051 through 2,075 (of 2,703 total)
Author Replies
Author Replies
Posted: Wednesday Jan 23rd, 2013 at 7:20 pm #39255
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

s2Member’s Profile Images work with the way you have your WordPress Profile Image set up. This means that by default users are able to use a globally recognized avatar with Gravatar. If, however, you’d rather have a user be able to upload a profile image from your site, you may want to try this plugin:

http://wordpress.org/extend/plugins/simple-local-avatars/installation/

Posted: Wednesday Jan 23rd, 2013 at 7:16 pm #39253
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

I just upgraded to s2member pro and I cannot update my profile. I get the following error:

http://iknowsomebodyhouston.com/membership/members/houstonw/profile/edit/group/1/

I’m unable to see where this link is supposed to go, as this link is only available when you are logged in. It gives a not-logged-in user a 404 Not Found status here.

I need to allow a profile to be edited in the Admin panel by the Administrator because we are implementing a verification process for members. Only once an administrator has verified the identity of the user will they be placed in the next level of membership.

You should be able to do this through your Users List. All of the user’s Custom Registration/Profile Fields are available here, and you can narrow down users by level to help you narrow down which users still need to be upgraded.

See Dashboard -› Users

Please let us know if problems persist . :-)

Posted: Wednesday Jan 23rd, 2013 at 7:10 pm #39249
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

Currently s2Member’s Dynamic Login Welcome Page settings do not have this option. I’ll put this on our todo list for a future version of s2Member. In the meantime, this article by an s2Member user may be helpful for your specific issue:

http://www.peterrknight.com/how-to-send-users-to-different-welcome-pages-based-on-user-level-in-s2member/

This article outlines a way to send users to a custom URL that decides where to send the user based on the Replacement Codes available in the Login Welcome Page Section of your General Options.

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

Posted: Wednesday Jan 23rd, 2013 at 7:00 pm #39248
Bruce
Username: Bruce
Staff Member

Thanks for the follow-up.

So with Pro Forms can I create a post (cpt) with it? Also can I use (save to) custom field meta with Pro Forms?
I guess I’m wondering will it do (mostly) what my Gravity Forms do?

s2Member’s Pro Forms are not meant to provide this functionality. Pro Forms are payment gateway specific, and are meant to receive payment the same way PayPal Buttons do in the s2Member Framework.

Any functionality with saving/creating posts will need to be done outside of s2Member. However, s2Member can provide restriction for the Posts/Pages that these forms are on.

Any 2013 s2member coupons kicking around? Is there anyway to find out who the “You were referred by Affiliate ID:XXXX” is? I might rather know who I was giving the kudos to.

I’m unaware of any coupons currently in effect.

We also do not have a public database of the affiliates by ID available, sorry.

Posted: Wednesday Jan 23rd, 2013 at 6:54 pm #39247
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

1. Is there a way/log to enable/check what emails have been sent?

s2Member does not log emails, but does route emails through WordPress’s wp_mail(). So a plugin like this one might work for you.

2. Can we trigger a resending of an payment confirmation email by e.g. searching for a transaction on the system? normally we end up having to create accounts manually.

Emails cannot be resent, but you can recreate the email using Registration Access Links. This way if you can find the transaction within PayPal, you can use the transaction ID to have the user sign up the same way they would have normally, and cancellations will automatically be handled the same way s2Member would have if they had received the original email.

These links are meant specifically for this occurrence.

See: Dashboard -› s2Member® -› PayPal® Buttons -› Registration Access Links

3. Is there a way to PREVENT the user registration link from working e.g. in both cases where we manually create an account or extend a membership, so they don’t register a second account with a new membership?

These registration links are only valid for up to 2 days after they are sent. You can wait out this time limit to ensure that this does not happen.

Posted: Wednesday Jan 23rd, 2013 at 5:07 pm #39239
Bruce
Username: Bruce
Staff Member

Thanks for the follow-up.

I use the following plugin

http://wordpress.org/extend/plugins/exec-php/

Should i change to another?

You may be able to change to another PHP Execution plugin that does support bbPress topics. I can’t think of any that do, but you may be able to find one.

I do not get the hint why I should change the template, how would that solve the Problem?

As I mentioned, PHP Execution plugins will normally execute PHP by hooking into WordPress through the the_content filter. If you were able to wrap the portion of the template that should be checked for PHP code, you can then wrap it in apply_filters('the_content', 'The content goes here'), and that section of the page would then have PHP Execution enabled.

See: WordPress -> Plugin API -> Filter Reference

Posted: Wednesday Jan 23rd, 2013 at 12:56 pm #39189
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

With this type of set up, Custom Capabilities are key.

You can think of Custom Capabilities as packages, or indiviual sets of content that you can set up without having multiple levels. These are not incremental, meaning that you can give your users as many Custom Capabilities as you’d like at level 1, and level 2 members will not have access to these Custom Capabilities unless you specify that they should when they sign up.

See: Dashboard -› s2Member® -› API / Scripting -› Custom Capabilities

What you’ll need to do here is set up a Custom Capability for each of of the groups of Level 1 content. For instance, you might have 4 custom capabilities like the following:

group_1
group_2
group_3
group_4

You can then protect your content with Custom Capabilities just the same as Membership Levels, and sell access to these capabilities regardless of levels. This means that if you’d like, you could upsell users extra Custom Capabilities to allow them to access more content.

See: Dashboard -› s2Member® -› PayPal® Pro Forms -› Shortcode Attributes (Explained)
See Also: Knowledge Base » A Basic Guide to Protecting Content With s2Member®

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

Posted: Wednesday Jan 23rd, 2013 at 12:28 pm #39185
Bruce
Username: Bruce
Staff Member

Thanks for your inquiry.

The way that his works depends on what PHP Execution plugin you are running. I can tell you that most PHP Execution plugins run off of the WordPress Filter the_content.

Likely what’s happening is that bbPress’s topics are not filtered using the_content, and therefore your PHP Execution plugin is not actually given access to these posts. bbPress does support custom templates, however. You may be able to have this content filtered through this template.

See: bbPress » Codex Home » Step-by-Step Guide to Creating a Custom bbPress Theme

Posted: Wednesday Jan 23rd, 2013 at 12:16 pm #39182
Bruce
Username: Bruce
Staff Member

Glad to hear you found what you were looking for.

Please let us know if problems persist. :-)

Posted: Wednesday Jan 23rd, 2013 at 12:14 pm #39181
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

If you’d like to move s2Member Pro from one domain to another, you can change your Primary Domain from the My Profile page.

See: s2Member® » My Profile

Posted: Wednesday Jan 23rd, 2013 at 12:12 pm #39180
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

There currently is no set time for when multiple subscription support will be released. This is planned for the next major version of s2Member, which is currently still in development.

Posted: Wednesday Jan 23rd, 2013 at 12:09 pm #39179
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

s2Member currently does not support restrictions of theme behavior through the WordPress Dashboard. You will need to disable access to certain parts of your site depending on how these features are set up.

– Free users with options: Add more than 3 images, publish their ad in the Featured Ads section for more visibility, even charge for modify their ads,

If you theme already enables this through a Post/Page, you can restrict this by using s2Member’s Post/Page Access Restrctions, or with s2Member’s Shortcode Conditionals.

See: Dashboard -› s2Member® -› Restriction Options -› Post Access Restrictions
See Also: Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals

Otherwise, if this is a process that is controlled outside of a Post/Page by your theme, you will need to disable it with s2Member’s Advanced PHP Condtionals.

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

Posted: Wednesday Jan 23rd, 2013 at 12:04 pm #39176
Bruce
Username: Bruce
Staff Member

Thank-you for reporting this important issue.

Could you please ensure that your PayPal IPN and PDT setups are correct, and please enable logging.

See: Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration
See Also Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration
Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging

I can confirm that s2Member’s subscription process is working correctly in a clean installation of WordPress 3.5 and s2Member version 130121.

Please deactivate all plugins and revert to a default WordPress theme and run a test transaction. If you are unable to then recreate the issue, activate your plugins one-by-one and continue testing until you find the plugin causing your issue.

If you can still recreate the issue with all plugins but s2Member deactivated, and a default WordPress theme, please send us a copy of your log files from your plugin’s directory, under /s2member-logs/ through our Private Contact Form.

Posted: Wednesday Jan 23rd, 2013 at 11:54 am #39175
Bruce
Username: Bruce
Staff Member

Thank-you for reporting this important issue.

I just attempted to recreate this issue and was prompted to upgrade s2Member Pro after updating the Framework.

We will keep an eye out for reports of this in the future.

Please ensure that you visit the Plugins Menu after updating the s2Member Framework. If you are not prompted, try refreshing the page in your browser, and refreshing your browser’s cache.

Let us know if problems persist.

Posted: Wednesday Jan 23rd, 2013 at 11:46 am #39174
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

When you say “the default form for Open Registration?”, are you referring to the registration form available at /wp-login.php?action=register, or s2Member’s Free Registration Forms?

Posted: Wednesday Jan 23rd, 2013 at 11:41 am #39172
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

Though s2Member does not support functionality to allow users to post, if you have this functionality set up, you can use s2Member to provide access to these forms.

In the case that you would like to allow users to post listings, I would recommend using Specific Post/Page Access Pro Forms. This way, you can have users pay for access to a Post or Page with your form to create a listing.

See: Dashboard -› s2Member® -› Restriction Options -› Specific Post/Page Access Restrictions
See Also: Dashboard -› s2Member® -› PayPal® Buttons -› Specific Post/Page (Buy Now) Buttons
In s2Member Pro: Dashboard -› s2Member® -› PayPal® Pro Forms -› Specific Post/Page (Buy Now) Forms


Things like how long the listing will be available will need to be set up outside of s2Member. However, s2Member does give have many ways for you to decide what a user’s post should have.

For instance, you might take find when the user paid for their listing, and use that to decide how long the listing should be available. Get the user’s previous payment times with:

get_user_field ("s2member_last_payment_time");

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

Posted: Wednesday Jan 23rd, 2013 at 5:15 am #39149
Bruce
Username: Bruce
Staff Member

Thank-you for reporting this important issue.

You should be redirected to the ClickBank® Thank-You Page after completing a transaction with ClickBank. Can you please ensure that you have this URL set up correctly in your ClickBank options?

See: Dashboard -› s2Member® -› ClickBank® Options -› Thank-You Page Integration

If so, please enable logging and run some test transactions. Then get the log files from /wp-content/plugins/s2member-logs/ via FTP, and send them to us through our Private Contact Form.

Posted: Wednesday Jan 23rd, 2013 at 3:51 am #39130
Bruce
Username: Bruce
Staff Member

Thanks for your inquiry.

s2Member does not create any new SQL tables in your database, but instead uses the default WordPress tables wp_users and wp_usermeta to store user information.

If you’d like to export user data via Cron Job every 24 hours, you would need to get the information from the wp_users and wp_usermeta table. Some specific rows that s2Member puts into the usermeta table are:

wp_s2member_paid_registration_times
wp_s2member_subscr_gateway
wp_s2member_login_counter
wp_s2member_registration_ip
s2member_file_download_access_log

Please let us know if you have any more questions / concerns.

Posted: Wednesday Jan 23rd, 2013 at 2:00 am #39120
Bruce
Username: Bruce
Staff Member

Thanks for your reply.

As Jason mentioned, it looks like the problem here is that you have CSS styles at the beginning of the file, which is being put into the page before anything else loads, causing problems:

Also, I think the reason you’re having problems with this file, is that you’re attempting to print CSS from this file, without it being attached to any hook/filter. So what’s happening is that your CSS is printing to the screen of every page on the site, above everything else, including the tag :-)

Please try moving this CSS from your s2-o.php file, and into your theme’s style.css file instead, or use the wp_enqueue_style hook to include this CSS.

See: WordPress.org » Function Reference » wp_enqueue_style

Please let us know if problems persist after doing this. :-)

Posted: Tuesday Jan 22nd, 2013 at 9:40 pm #39106
Bruce
Username: Bruce
Staff Member

Thanks for your inquiry.

I searched around and found a topic that suggested that this be added to the functions.php of my theme.

The code that you posted looks correct, however I would suggest not putting this code into your theme’s functions.php file. This is because themes do update at times (though much less often than most plugins). If your theme did update, your code would be lost.

Instead, I would recommend putting this code into a Must-Use Plugin. These plugins are automatically loaded into your site, which is what you want, and will not be destroyed by updates.

To create a Must-Use Plugin, put the code posted into a .php file, by saving it with your favorite text editor. Note that .php files start with <?php&#91;/hilite&#93;. Therefore, the code that you would put into your new file would look like this:

&#91;hilite pre_code&#93;
<?php
function user_role_update( $user_id, $new_role ) {
$site_url = get_bloginfo('wpurl');
$user_info = get_userdata( $user_id );
$to = $user_info->user_email;
$subject = "Role changed: ".$site_url."";
$message = "Hello " .$user_info->display_name . " your role has changed on ".$site_url.", congratulations you are now an " . $new_role;
wp_mail($to, $subject, $message);
}
add_action( 'set_user_role', 'user_role_update', 10, 2);

Once the file is created, you upload this file via FTP to your server, to your /wp-content/mu-plugins/ directory. If you do not have this directory, please create it.

Please let us know if problems persist.

Posted: Tuesday Jan 22nd, 2013 at 9:32 pm #39104
Bruce
Username: Bruce
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

The Billing Address that is required to be filled out in your Pro Checkout/Membership # Level Forms is generated automatically by s2Member, and is not stored on your site by s2Member at any point.

If you’d like to have access to your user’s address, you’ll need to create Custom Registration/Profile Fields, and have your users fill out both the Billing Address associated with their credit card, and an address that will be used on your site.

There is currently no way to get a user’s Billing Address through these forms directly. Custom Registration/Profile Fields have to be made to accomplish this.


If you are looking for a way to populate your Custom Registration/Profile Fields based on the user’s Billing Address, s2Member’s CSS Styles and Other Attributes sections of the Create/Edit Custom Registration/Profile Field screen can help accomplish this.

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

You may also need to edit the standard s2Member Pro Form checkout template to accomplish this. If you are uncomfortable editing these template files yourself, you may want to hire a freelance developer to help you. We recommend http://elance.com/ and http://jobs.wordpress.net/ for finding developers familiar with WordPress/s2Member.

See: Is it possible to modify s2Member® Pro Form templates?
See Also: Video » s2Member (Custom Fields Dynamically?)

A user previously shared some code that helps accomplish this. It may be helpful to get you started.

See: http://www.s2member.com/forums/topic/address-fields/#post-27002

Posted: Tuesday Jan 22nd, 2013 at 9:00 pm #39095
Bruce
Username: Bruce
Staff Member

I have read everything. I still don’t know what to do next. I have the file in my theme>
What is the next step (s)??

After moving the template file from s2Member Pro’s template directory (/s2member-pro/includes/templates/), to your working theme’s directory (/wp-content/themes/yourtheme/, replacing “yourtheme” with your currently activated theme’s direcotry), s2Member will now use the file within your theme’s directory, rather than the file that it defaults to within s2Member’s templates file.

Because this file is now outside of s2Member’s directory, you should now be able to edit the template directly, with your favorite text editor. This new file will not be overridden when s2Member updates, which would happen when editing the file directly.

Now that you can edit this template, you can change things about the layout of the form, and labels directly.

For example, s2Member writes the label Username at line 69 of paypal-checkout-form.php:

<span><?php echo _x ("Username ( lowercase letters and/or numbers )", "s2member-front", "s2member"); ?> *</span><br />

To change “Username” to “Nicename”, you would change the above line to:

<span><?php echo _x ("Nicename ( lowercase letters and/or numbers )", "s2member-front", "s2member"); ?> *</span><br />

If you’d like to have multiple templates for your Pro Forms, you can copy and rename the template file and make multiple copies within your theme’s directory. Then, you can use the template=”” attribute in your Pro Form shortcodes to specify which template any particular Pro Form should use.

Info: Pre Sale FAQs » Is it possible to modify s2Member® Pro Form templates?

Posted: Monday Jan 21st, 2013 at 6:41 pm #38723
Bruce
Username: Bruce
Staff Member

Thank-you for your inquiry.

s2Member’s Free Registration Pro Forms currently do not support upgrading/demoting users. I’ve put in a request for this to be added to the next major version of s2Member.

In the mean time, you can upgrade users using the information provided within this Knowledge Base article:

Knowledge Base » Changing Roles/Capabilities via PHP

Posted: Monday Jan 21st, 2013 at 6:13 pm #38713
Bruce
Username: Bruce
Staff Member

Thanks for your inquiry.

On the registration page, the user enters the number of adults, and I believe with paypal buttons I could edit the cost with javascript. Is anything like that possible using Authorize.net?

Though editing the values of the PayPal Buttons after they are generated is possible, with s2Member’s Pro Forms this is not the case.

s2Member encrypts these Pro Forms based on the encryption key you have set up under Dashboard -› s2Member® -› General Options -› Security Encryption Key. This is for security, so that customers cannot simply change the price by editing the source code of your page.

Therefore, the only way to change the price of your Pro Form is to generate the form with s2Member’s Shortcodes again.

It is possible to dynamically set the price of your Pro Form, though. The easiest way to do this is to use a PHP Execution plugin to decide what the price should be based on a variable that you can set up from within your page.

For example, you could send users to URL like the following:

http://yoursite.com/my-membership-options-page?members=4

If that is the case, you’d want to then multiply the amount of members by 10, and update your Pro Form to accomodate this:

[s2Member-PayPal-Butto... ra="<?php echo $_GET['members']*10; ?>" ... /]

See: s2Member® » Knowledge Base » Using Variables In A Shortcode
See Also: PHP Execution

Posted: Monday Jan 21st, 2013 at 5:49 pm #38697
Bruce
Username: Bruce
Staff Member

Thank-you for reporting this important issue. ~ We appreciate your patience.

I’ve notified Jason (lead developer) of this issue.

This was exactly the setup of the guy in the above posting, until the very end he realized he had Payflow Pro all along, which was the problem. But Paypal tells me I don’t have Payflow Pro. Is there some other way I can ask them this same question?

As mentioned in Jason’s post, this issue was not with PayPal Payflow Pro accounts, but with accounts that run with PayPal’s “PayPal Pro (Payflow Edition)”.

See: Knowledge Base » PayPal® Pro (PayFlow Edition)

s2Member was updated in early December to accommodate changes that should stop this issue from occuring. See: s2Member® Unified Changelog » v121201

Have you updated to the latest version of s2Member?

(s2Member Pro) Bug Fix. s2Member Pro Forms integrated with Payflow Recurring Billing via PayPal Express Checkout were failing against some accounts with an erroneous error #10422 related to an invalid funding source. With some help from other site owners and the assistance of PayPal technical support, the underlying issue has been fixed in this release. Discussed in this thread.

What version of s2Member and WordPress are you running?

You mentioned that you were looking in your logs, please post these, along with Dashboard and FTP login through our Private Contact Form so we can take a look.

Along with sending the info in the Private Contact Form, could you please give us the OK to run test transactions against your installation?

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