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 - 376 through 400 (of 2,703 total)
Author Replies
Author Replies
Posted: Tuesday Jul 9th, 2013 at 4:26 am #53151
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

I’m very sorry for the delay in response. Thanks for your patience with us over the weekend.

The first thing I would try is changing these values through PHP using the information provided here:

Knowledge Base » Changing Words/Phrases In s2Member®

I can tell you that these strings are supposed to be translated, if you look in the /s2member-pro/includes/templates/forms/paypal-checkout-form.php file, s2Member is wrapping this value correctly to have WordPress’s translation functionality translate it correctly.

Let me know if you can get the PHP version of the translation to work, and we can move on from there. Thanks!

Posted: Tuesday Jul 9th, 2013 at 4:19 am #53150
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry. I’m very sorry about the delay in response.

The problem you’re running into is a design flaw with s2Member we are looking to fix in the next major release of s2Member, which is a rewrite we’re hoping to have ready sometime soon.

Currently the only place I know of to point you to attempting to make this possible through code is the thread you already linked to. I can’t say I know everything that’s happening here but I can tell you that the syntax of the fields has NOT changed since then, and if the code worked then it should work now as well.

I can also tell you that the code you’re using is going to drastically slow down your search queries, because it’s picking up values from the usermeta database table as well as the user database table, and it’s use REGEX to find the value of the custom field with the slug country_code.

If the code is not working for you, I’d first make sure that the slug for the field you’re attempting to order by is in fact country_code. That looks like the best place to start looking for the error.

Posted: Tuesday Jul 9th, 2013 at 4:10 am #53148
Bruce
Username: Bruce
Staff Member

I’m very sorry for the delay in response. Thank you very much for your patience with us over the weekend.

Therefore rather than locking down categories I want to add a simple cost in my posts that allows everyone including new visitors and search engines to access a portion of my posts but be prompt to register to read further.

You can accomplish this using Shortcode Conditionals.

See: Knowledge Base » Simple Shortcode Conditionals

What you’d do is instead of protecting your Categories/Posts directly with s2Member, the Posts that a User needs to be registered on would have something like this at the top:

[s2If !is_user_logged_in()]
// The snippet/preview of the post

// And the message that the User needs to register to see the rest of the Post
[/s2If]
[s2If is_user_logged_in()]
// The whole page's content
[/s2If]
Posted: Tuesday Jul 9th, 2013 at 4:04 am #53147
Bruce
Username: Bruce
Staff Member

I’m am very sorry for the delay in response. Thanks very much for your patience with me.

Well, we are using the custom capabilities field for something as well. Is there another field that we can use as a kind of storage field to store a member’s previous level?

You could store this value in a WordPress User Meta value, as shown here:

http://codex.wordpress.org/Function_Reference/update_user_meta

OR, you could store the value in a completely private s2Member custom field, but this would take a lot more work, because s2Member stores all of these values in an array in one of it’s own User Meta rows.

I would suggest using the WordPress User Meta field.

Posted: Tuesday Jul 9th, 2013 at 4:01 am #53146
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I have a quick question that is sort-of s2member related :) I was wondering what you guys use to power your forums here on s2member.com. Is it just bbpress, or is it another product?

We use a customized version of bbPress here at s2Member, mostly customized for advanced integration with s2Member and custom styles. You could achieve something similar with a few customizations of bbPress yourself. :-)

Posted: Tuesday Jul 9th, 2013 at 4:00 am #53145
Bruce
Username: Bruce
Staff Member

I’m very sorry for the delay in response. Thank you very much for your patience with us.

I’m sorry I didn’t grasp the fact that all of your Custom Capabilities were free until just now. That’s my fault. The correct answer in this case is that if you want your Users to be able to upgrade (for free), you’ll have to use some custom PHP code. We have documentation on how you can do that in this article:

Knowledge Base » Changing Roles/Capabilities via PHP

So if you want to allow a User that has access to Custom Capability music to Custom Capability video, you would create a form that would allow certain Users to trigger this code to fire for them:

<?php
global $current_user;
$current_user->add_cap('access_s2member_ccap_video');

I’m sorry for how hard this is accomplish. I’m going to talk to Jason (Lead Developer) and attempt to get the ability for free upgrades possible with s2Member Pro, as the Modification version of Free Registration Pro Forms ASAP.

Thanks for your understanding.

Posted: Tuesday Jul 9th, 2013 at 3:53 am #53144
Bruce
Username: Bruce
Staff Member

In addition to sending the log files, could you please run the Server Scanner and make sure that this isn’t something obvious with your server configuration?

See: Knowledge Base » s2Member® Server Scanner

Posted: Tuesday Jul 9th, 2013 at 3:51 am #53143
Bruce
Username: Bruce
Staff Member

Hi. I haven’t solved email problem yet. please reply.

I’m very sorry for the delay in response. Thanks for your patience.

You can send your log files here:

s2Member® » Private Contact Form

Posted: Tuesday Jul 9th, 2013 at 3:50 am #53142
Bruce
Username: Bruce
Staff Member

Thanks for your patience.

I just checked your “Premium Membership” Page, and the coupon code field is showing up just fine. I also tried using a coupon code in the field and it’s working fine:

Did you fix the issue?

Posted: Tuesday Jul 9th, 2013 at 3:44 am #53140
Bruce
Username: Bruce
Staff Member

I’m sending you the details so please take a look…

I’m very sorry for the delay in response. I’m taking a look now. I’ll update this thread when I’m done.

Posted: Monday Jul 8th, 2013 at 6:58 am #53114
Bruce
Username: Bruce
Staff Member

Thanks for your patience over the weekend.

Thanks for the reply, We are not using Paypal. We are using AUTHORIZE.NET.

Okay well there should still be a paypal-ipn.log file. If there is not then you should ensure that you have everything set up as described here:

Dashboard -› s2Member® -› Authorize.Net® Options -› SP/IPN Integration

Posted: Monday Jul 8th, 2013 at 6:56 am #53113
Bruce
Username: Bruce
Staff Member

Thanks for your patience over the weekend.

Sorry about the delay in response.

I see what you’re talking about now. However I have no idea how s2Member could possibly be affecting your theme’s behavior for this.

That being said if you’re having trouble with this, try turning off s2Member’s CSS and see if that helps:

http://www.s2member.com/faqs/#s2-faqs-stop-loading-css

Otherwise I’m not sure what you could do. s2Member is not overwriting any of your JavaScript and I’m not seeing any errors pop up when you click that Goto.. button.

This is apparently an incompatibility between s2Member and your theme, which we can’t debug according to our Support Policy. See: s2Member® » Support Policy


I started with the Theme Developer and we tracked the issue to S2Member within an hour. I explained twice how to find the menu with “Goto…” on it but here is a picture to help you

I’m sorry for the frustration. I was just under the impression that this was a problem directly related to your first first post’s explanation of this problem:

Failed to load resource: the server responded with a status of 403 (Forbidden) http://clubcollegelife.com/wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_js_w_globals=1&qcABC=1
Uncaught TypeError: Object # has no method ‘on’

This is actually a totally different problem than you first described. I did not understand the problem until your post here, which is actually describing a totally different issue:

I never actually see an error message pop up. The only thing that happens is the pull down menu just does not work when you resize the web browser to a small size to get the “Goto…” Menu. Click on it and no pull down menu shows.

Posted: Monday Jul 8th, 2013 at 6:43 am #53112
Bruce
Username: Bruce
Staff Member

Thanks for your patience over the weekend.

I’m very sorry about the delay in response.

I just need to know about that Math required edit, please. The first_name and last_name fileds, which I’m also playing with (basically, losing the labels and using input placeholder attributes instead to save space) I’ve edited from the custom-reg-fields.inc.php file).

Since you’re wanting to add this to the registration form at /wp-login.php?action=register, the best way to accomplish this would be to hook directly into WordPress’s registration page.

I think this thread from WordPress.org’s Forums has some good resources for accomplishing that:

http://wordpress.org/support/topic/how-to-add-extra-fields-in-new-user-registration?replies=5

Posted: Monday Jul 8th, 2013 at 6:40 am #53111
Bruce
Username: Bruce
Staff Member

Sorry about the delay in response. Thanks for your patience over the weekend.

I just went over your list of requirements, and while s2Member could be used as a core for the functionality you’re looking for (as far as registration and your “donations” go), it would require a lot of custom code to hook s2Member into all of the other functionality you’re looking for.

To explain the idea in simple terms, you mentioned that you’re looking for a “Rule Editor”. What s2Member can do is create some of the triggers for these rules with regards to registrations and payments. A developer will need to set up all of the “rules” you have in mind, however.


To explain this better, s2Member could work in conjunction with custom code that you have a developer write with its API Notifications for Signups and Payments.

See: Knowledge Base » Building An API Notification Handler

With this you can have s2Member handle your User registrations, restrictions, and payments. However, you’ll still need to have a developer set up many more things to get your site working around s2Member.


I would recommend posting these requirements on a site such as http://elance.com/, http://odesk.com/, or http://jobs.wordpress.net/.

Posted: Monday Jul 8th, 2013 at 6:29 am #53110
Bruce
Username: Bruce
Staff Member

Thanks for your inquiry.

And thanks for your patience over the weekend.

I have searched everywhere and can’t seem to find anything that works the way I want. I found a couple that will search my site (Blogs, Post) but nothing that will allow me to search my members profiles.

If you’re looking to allow your Users to search your User database based on s2Member’s Registration/Profile Fields, I’m afraid you’re not going to be able to find anything like that unless it is geared specifically toward s2Member.

The reason for this is that s2Member stores Registration/Profile Fields into a big list in one database entry. That means that if someone tries to order the list by just gathering data directly from the database (like any normal plugin would), it would not allow for s2Member’s fields to be a part of that.

I installed Buddy Press because I thought this might fix my problem but it only created more problems. I tried the buddy press search plugin”BP Profile Search” but it doesn’t recognize the custom fields I have created in the profiles and it doesn’t have any way to add additional search boxes.

BuddyPress does a similar thing with Profile Fields, and the BP Profile Search is a plugin that handles BuddyPress’s Profile Fields the way s2Member’s would need to be handled in your case. If you really want to simplify things, you could use BuddyPress’s Profile Field system instead of s2Member’s, and use this plugin to accomplish what you want.

Otherwise, you’ll have to have a developer set up a similar plugin for s2Member’s Custom Fields. I’m not aware of any that exist now. Sorry about that.

Posted: Monday Jul 8th, 2013 at 6:22 am #53109
Bruce
Username: Bruce
Staff Member

Thanks for your patience over the weekend.

I can’t say I know how you could get this information through PayPal. I am not personally experienced with everything about taxes an accountant would need, but I was under the impression that knowing where the Customer was from was not a requisite. You should be able to tell how much tax a Customer was charged by just subtracting your base amount from the amount charged. Why exactly are you needing to see the User’s Province/State?

I just can’t find the area in paypal to find this is keeping track of who is paying taxes and who isn’t and where for

You should be able to tell if a User is paying taxes based on how much their transaction was for, correct?

Posted: Sunday Jul 7th, 2013 at 7:34 pm #53094
Bruce
Username: Bruce
Staff Member

I went to Dashboard -> s@Member -> API/Scripting … but there was no option for Remote Operations API.

Sorry about that. The title for this section was changed recently.

With s2Member Pro installed, you should have a section in the Dashboard here for this:

Dashboard -› s2Member® -› API / Scripting -› Pro API for Remote Operations

Posted: Friday Jul 5th, 2013 at 5:31 am #53046
Bruce
Username: Bruce
Staff Member

Yes, I have looked at those links. As I said this was working fairly well for 2 years and just quit working.

Have you installed any caching plugins recently?

If you can’t figure out the issue, send us a Dashboard Login via Private Contact Form and we’ll take a look at your logs.

See: s2Member® » Private Contact Form

Posted: Friday Jul 5th, 2013 at 5:29 am #53045
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

To accomplish this, you have to edit your theme’s files. The navigation menu is likely in your theme’s header.php file. Look for a call to wp_nav_menu().

Then you can change the navigation menu your theme called with s2Member’s PHP Conditionals:

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


This thread has some examples:

http://www.s2member.com/forums/topic/doing-things-with-menus-based-on-member-level/

Posted: Friday Jul 5th, 2013 at 5:25 am #53043
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

Can you think of how we can do this?

Are you using Custom Capabilities as well as Member Levels? If not, when you upgrade your Users level, you might consider also setting a Custom Capability such as user_reached_level4 for each of your levels. You can keep s2Member from taking away Custom Capabilities in the Automatic EOT Behavior section of your Dashboard:

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

See: Knowledge Base » Changing Roles/Capabilities via PHP

Now if a User is demoted at level 4, you can show them a different form to sign back up than if they hadn’t ever signed up before using Shortcode Conditionals:

Knowledge Base » Simple Shortcode Conditionals

Would that work?

Posted: Friday Jul 5th, 2013 at 5:22 am #53042
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I can’t really give you an official way to do this, as I’m unfamiliar with the other addon you’re using, but I might suggest using wp_create_nonce to validate the request to see your Free Registration Pro Form.

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

Posted: Friday Jul 5th, 2013 at 5:17 am #53041
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

I’ll talk to Jason about perhaps adding another option in the next major version of s2Member. I can’t say that this capability will be added “soon”, however. If you absolutely need this functionality now, you could have a developer integrate something like this by altering the Pro Forms templates.

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

Posted: Friday Jul 5th, 2013 at 5:15 am #53040
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

I think what you’re looking for are Shortcode Conditionals. I’m assuming that Users need a specific capability/level to be able to access certain Custom Capabilities. You can give them access to different forms based on what they can currently access this way:

Knowledge Base » Simple Shortcode Conditionals

Will that work for you? :-)

Posted: Friday Jul 5th, 2013 at 5:12 am #53039
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

PayPal works in Germany:

https://www.paypal.com/worldwide/

I believe Authorize.Net can also be used in Germany.

However we don’t have any integrations with payment gateways specifically meant for use in Germany. You can find a list of payment gateways we support here:

Pre Sale FAQs » What payment gateways does s2Member® support?

Sorry about that.

Posted: Friday Jul 5th, 2013 at 5:08 am #53038
Bruce
Username: Bruce
Staff Member

could the user not have had a custom field for player number and then ignored wp user number for his purposes

I’m assuming you’re talking about the last question that this User asked:

Right now, WP users are assigned regular user IDs (1, 2, 3, etc…). Is there a way with s2Member to create a custom user ID pattern? In other words, we need our user IDs to be 6 characters instead of 1.

This is a possibility, but it would require custom code as well, because an ID would need to be generated for each User, and it would be need to be unique. The WordPress User ID is the easiest way to get a unique ID for a User. If you want to change the format of the User ID, I would recommend posting this question on the WordPress.org forums. s2Member uses the core WordPress Users functionality so if you can find a way to change it through a filter in the WordPress User creation process, then it would work fine with s2Member.

I would like to reopen up above question – and get advice from gary sweeney – is their a direct way to contact other users?

No, I’m afraid there’s not. Sorry about that.

Viewing 25 replies - 376 through 400 (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.