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.

Cristián Lávaque


My Latest Replies (From Various Topics)

Viewing 25 replies - 3,476 through 3,500 (of 7,376 total)
Author Replies
Author Replies
Posted: Wednesday Oct 17th, 2012 at 9:04 am #28679

Hi Anissa.

No, you don’t need to touch the database, you just need to add a line of code to your /wp-config.php file. [hilite path]Dashboard -› s2Member® -› General Options -› Membership Levels/Labels[/hilite]

Unlimited Membership Levels ( via /wp-config.php )
With s2Member Pro installed, you may configure an unlimited number of Membership Levels. You can set the number of Membership Levels by adding this line to the top of your /wp-config.php file: define(“MEMBERSHIP_LEVELS”, 4);. This line should be inserted at the top of your /wp-config.php file, right after the [hilite code]

I hope that helps. :)

Posted: Wednesday Oct 17th, 2012 at 9:00 am #28678
Posted: Wednesday Oct 17th, 2012 at 8:52 am #28677

Alternatively, I could use a custom form to do this, but I would want to ensure I was creating the new member within S2Member as level 0.

s2Member Level 0 is the same as the default WP Subscriber role. :)

Posted: Wednesday Oct 17th, 2012 at 8:46 am #28675

Thanks for the suggestions! We’ll keep them in mind for the new interface. :)

Posted: Wednesday Oct 17th, 2012 at 8:44 am #28674

Hi Peter.

1. I want the billing to actually be 1 month. However, it appears that members are billed on day earlier every month. I don’t know if this is due to signing up in a 31 day month or if there is some other issue. We’ve had numerous complains from members that they keep getting billed a day earlier every month. Has anyone else noted this and how can I solve it?

This would be something you need to ask Authorize.Net. s2Member doesn’t manage the recurring payments, the payment gateway does that.

2. When members are posted in, they get an EOT time X days from signup. If they upgrade before X days are up, they are still billed the day of the upgrade. How can I prevent this so they get the entire X days and then are billed?

You’d need to figure out the days left in their trial and add that to your pro-form as a free initial term to the subscription, so that the first regular payment happens after that. http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604

I hope that helps. :)

Posted: Wednesday Oct 17th, 2012 at 8:37 am #28673

Hi Tyron.

You can specify what levels the custom profile fields would be shown to. So if you specify a field for level 1 users, then only the signup for level 1 would show that field. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields -> Applicable levels[/hilite]

I hope that helps. :)

Posted: Wednesday Oct 17th, 2012 at 8:31 am #28671

Thank you.

Okay, I’ll ask Jason for his opinion on this. :)

In the meantime, it’d be good if you could send the site’s info, in case he wants to take a closer look. s2Member® » Private Contact Form

Posted: Wednesday Oct 17th, 2012 at 8:27 am #28669

So I’m hoping this isn’t the reason my EOT is not updating and demoting users, but I’m sure it most likely is since it’s directly related to the users.

About that, it’s possible that your wp-cron is not working correctly. That may be caused by another plugin. Could you test this deactivating the other plugins and setting a test account’s EOT time in the past to see if the demotion happens soon after?

You can also use a normal cronjob instead of WP’s. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior -> Enable[/hilite]

Ok, I think I resolved the site name repetition issue. I also now have the custom registration field options again. Not sure why that was causing such an issue there.

I’m glad that part got solved.

I am still not able to edit users without getting the error message:

This time I didn’t see the error in the profile page, but did when saving the profile. The one I got says:

Warning: Cannot modify header information – headers already sent by (output started at /home/content/25/8474825/html/americanmusclehunks/wp-content/plugins/s2member/includes/classes/users-list-in.inc.php:1) in /home/content/25/8474825/html/americanmusclehunks/wp-includes/pluggable.php on line 881

It says the headers were already sent in line 1 of that file, so I’m guessing you may have a space or linebreak before the opening PHP tag there.

Posted: Wednesday Oct 17th, 2012 at 8:07 am #28667

Hi Tom.

So if I include the MD5 encoded password in the CSV import file, will it import just the actual string from the CSV, or will it try to MD5 encode the string again?

It would encode it again, it’d normally get unencoded passwords.

2. I have about 30,000 members to import, but I see that you can only import them in batches of 100 at a time into S2. Not very time efficient in my case. Is there any way to speed this up?

You can do more, but you risk having issues due to runtime and memory. http://www.s2member.com/forums/topic/adding-many-members-to-s2member-sort-by-date/#post-27389

I hope that helps. :)

Posted: Wednesday Oct 17th, 2012 at 8:04 am #28666

Okay, then do ask Host Monster about it, since it seems to be on their side, please.

Just in case it helps, here’s an article related to email delivery: Knowledge Base » Troubleshooting Email Delivery Problems

Posted: Wednesday Oct 17th, 2012 at 8:02 am #28665

Yes, that’s what he wants. What he doesn’t know how to do is sell the product from that protected page then. Regular PayPal buttons would work, and it wouldn’t be too hard for him to generate, but since he was talking about a cart, I thought he wanted something more advanced.

Posted: Wednesday Oct 17th, 2012 at 8:00 am #28664

Cool. :)

Posted: Wednesday Oct 17th, 2012 at 8:00 am #28663

Generating a link manually is when there might be a problem with one of the customers and besides, where am I supposed to add this link?

I meant that just to test the restriction, not to give to the customer.

I added a paypal button (through the correct video procedure) and still I get redirected to the subscriptions page, I don’t want people to subscribe, I want them to pay “On the page” and then download the pdf.

I just re-read that and wanted to make sure I understand. You want to sell access to a page, without requiring the user to register an account? And when you say you don’t want someone trying to access the protected page to be sent to the Membership Options page (which you seem to be calling the Subscriptions page).

If that’s so, then it would not be possible in the protected page itself, since the page is restricted with the Specific Post/Page restriction and anyone trying to access it will without the access link, will get sent to the Membership Options page.

What you can do is change the content of the Membership Options page if the person tried to access a post/page protected with that restriction. The Membership Options page vars would have that info, which you can use in your conditionals.
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]

Posted: Wednesday Oct 17th, 2012 at 7:47 am #28662

Hi Tony.

I replied in your other thread: http://www.s2member.com/forums/topic/new-field-validation-problems/#post-28661

Let’s continue there. :)

Posted: Wednesday Oct 17th, 2012 at 7:46 am #28661

Hmm…

Are you getting this error in every blog of the network or just some? In the blogs where you get the error, is BuddyPress active?

When do you get the error? What page are you trying to load when you see that error? Is it when you try to load the s2Member URLs for the JS or CSS?

Posted: Wednesday Oct 17th, 2012 at 7:42 am #28660

Hi Michele.

1- My first problem is that i don’t understand if i had to make one level for each type of subcription (monthly,semestral,annual) and so also 3 paypal button (one of each), that i will insert in a specific page not in member options page (the page mentioned in 2.2).

They’re all the same restriction, right? You’re only changing the payment plans. You can have different buttons to sell the same access. You can sell the same Level 1 with no free trial or with one, or with semestral payments, or annual, etc.

The free registration to get the paid access without having paid would need to be done with the free registration pro-form, though, not a button. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms[/hilite]

2- The second question is that i need to add fields in registration form (such as company, piva etc..) for upgrading level form free to any other: this is possible (i understand) if the user is not logged in; but i need to forced free member logged-in to fill-in the additional fields before pay.
So level0 will find that additional fields in order to upgrade his level access but not find this fields during the first registration for obtain level0.

Right, if the user is logged in when paying for the access, he’s not going through a registration form, he’s already registered.

If you want to require the extra fields to be filled out, it’ll be a problem, because if you set the fields to be shown at the higher level, then the user upgrading won’t see them even if he goes to his profile page, since he’s not at the higher level yet. You’d need to show the fields to Level 0 users so they can be filled out before upgrade. [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields -> Applicable Membership Levels[/hilite]

That done, you’d need to have a conditional that checks if that field is empty or not, and based on show the upgrade button or a link to the profile page so he fills them out.
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants[/hilite]

I hope that helps. :)

Posted: Wednesday Oct 17th, 2012 at 7:31 am #28657

Hi Nancy.

I have no experience with Gravity Forms. If it allows you to enter PHP or shortcodes, that would make simpler:

[hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants[/hilite]
http://www.s2member.com/codex/stable/s2member/api_functions/package-functions/#src_doc_get_user_field()

I hope that helps. :)

Posted: Wednesday Oct 17th, 2012 at 7:19 am #28656

Thanks, that worked.

I’m going through the logs now. The RTN log says in every entry that the return variables are missing, and there seem to be several entries for each person. Could this be a problem with the JVzoo integration?

The IPN log shows many transactions that seem okay, but some show the custom attribute (the one with your domain name) to be missing. All those with the problem say the gateway is PayPal, instead of JVzoo as the others do.

array (
  0 => 'IPN received on: Thu Oct 11, 2012 12:27:21 am UTC',
  1 => 's2Member POST vars verified through a POST back to PayPal®.',
  2 => 'Unable to verify `$_SERVER["HTTP_HOST"]`. Please check the `custom` value in your Button Code. It MUST start with your domain name.',
),
'subscr_gateway' => 'paypal',

Are you using a PayPal button too?

Posted: Wednesday Oct 17th, 2012 at 6:57 am #28655

Hi Brian.

If the pages are protected with level restrictions, then you can configure your Alternative Views setting to hide protected content from Navigation Menus when the user doesn’t have access to them. [hilite path]Dashboard -› s2Member® -› Restriction Options -› Alternative View Protection[/hilite]

Otherwise you’d need to find a way to use conditionals in your menus. You could try a text widget, or maybe another plugin that allows it.

I hope that helps. :)

Posted: Wednesday Oct 17th, 2012 at 6:50 am #28654

It looks like the generator isn’t working normally. That looks like a JS problem, probably caused by the theme or a plugin you’re using.

Could you test changing to the default theme for a moment and trying it again? If that doesn’t solve it, try deactivating the other plugins one by one, checking after each if the problem continues.

Even without the generator working, you can copy the shortcode and editing its attributes directly.

I hope that helps. :)

Posted: Wednesday Oct 17th, 2012 at 6:48 am #28652

Hi Paul.

Could you please show me a screenshot of the panel with your customizations? I’d like to try reproducing this. [hilite path]Dashboard -› s2Member® -› General Options -› Login Registration Design[/hilite]

Thanks!

Posted: Wednesday Oct 17th, 2012 at 1:39 am #28630

Yeah, you’d need to edit your navigation menu with a conditional so only logged out users see that page. Maybe there’s a plugin to do that, though, not sure.

Posted: Wednesday Oct 17th, 2012 at 12:02 am #28627

Hi William.

Video(s) were very helpful. I think I understand how to implement and use ccap’s with my posts and pages. Basically, I am trying to implement types of memberships not levels. So, I have corporate ($150), individual ($10), gov’t employee (free). With paid subscription, all gain access to additional info on site (level 1 access) right?

That’d be fine. Content that’s the same for all can be protected with the Level, and content for each particular group with the ccap.

What I am trying to implement with ccap’s then is the ability to distinguish which type of member I am dealing with. And, more specifically, I need to develop lists (I’m using the “amr users plus” plugin to generate lists) and displays the lists on the front-end. Can I filter a list in amr users plus by ccap and by multiple ccap’s?

I’m not sure how to do that with AMR Users, but you could ask its developer, who seems to be on the ball with the plugin and also developed support for s2Member custom profile fields.

Further, I want to send emails through MailChimp and target the email to specific member types, e.g. send an email to all of the members with ccap_individual?

You can add the ccaps of the user as merge fields in MailChimp, which would let you filter the list based on them. http://www.s2member.com/forums/topic/s2member-mailchimp-and-ccaps/#post-17078

Finally, how would I bulk add ccap’s to my current members?

You can use the Export/Import tools for that. [hilite path]Dashboard -› s2Member® -› Import/Export -› User/Member[/hilite]

This will be useful too: http://www.primothemes.com/forums/viewtopic.php?f=4&t=15345#p45063


I hope that helps. :)

Posted: Tuesday Oct 16th, 2012 at 11:16 pm #28623

Okay.

Did you verify that all your PayPal integration is done correctly and doesn’t have any errors? It seems that way, since you can complete some transactions…

Also, make sure you have logging enabled and run a test transaction that causes this error, so we get those logged and can look at the entries, please. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging[/hilite]

Thanks!

Posted: Tuesday Oct 16th, 2012 at 11:07 am #28568

Yeah, if you disable the Deactivation Safeguards, everything that s2Member stored in the database will be removed. And if you leave that enabled, then removing all the files or deactivating the plugin, will not remove that from the database.

The problem with removing everything would, indeed, be that all the s2Member related info tied to the user will be lost too (subscr. ID, s2Member Level role, EOT time).

One thing that could be tried is exporting the users with s2Member, then removing s2Member with Deactivation Safeguards disabled, and then reinstalling clean s2Member, and importing the users to update their profiles with the s2Member fields. You’d need to reconfigure s2Member, and the export tool may also fail because of the same reason the other areas did…

Just deleting the s2Member options from the database would most likely cause problems, too. One thing that you could try, though, would be using a script that queries the s2Member options from the database, and shows you the unserialized array, lets you edit the array to correct the site’s name everywhere, then saves the array, serialized back to wp_options.
http://codex.wordpress.org/Function_Reference/get_option
http://codex.wordpress.org/Function_Reference/update_option

You really need to find what’s doing that with the name of the site, or you’ll keep having problems even if you reinstalled s2Member. There is something, somewhere doing it. Did someone work on the site besides you?

Viewing 25 replies - 3,476 through 3,500 (of 7,376 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.