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 - 826 through 850 (of 7,376 total)
Author Replies
Author Replies
Posted: Friday May 31st, 2013 at 7:53 pm #51085

Sorry I forgot you said that in the first post.

I’m sorry I couldn’t reproduce the problem you’re having. I’m just suggesting the things I’d try myself in case they help you.

Like trying raw tags around your code, or try other PHP execution plugins. Did you try those?

Posted: Friday May 31st, 2013 at 7:36 pm #51083

Okay.

You can try the suggestions I gave my my previous reply.

These can help find the cause if it’s because of a plugin/theme conflict: Knowledge Base » Common Troubleshooting Tips

Posted: Friday May 31st, 2013 at 6:49 pm #51081

Thanks for your tests and detailed feedback. I’ll forward this to Jason to review it.

Cristián Lávaque said:
But you need something like the custom capabilities

Regarding what I said earlier about not being able to use ccaps to restrict access to bbPress, here’s a possible solution that Jason told me about: http://www.s2member.com/forums/topic/visitors-blocked-from-bbpress-why/#post-50991

Posted: Friday May 31st, 2013 at 6:35 pm #51080

I understand you’re working with a local server for your development. (By the way, did you see this section? [hilite path]Dashboard -› s2Member® -› General Options -› Localhost WAMP/MAMP Developers[/hilite])

Would it be possible for you to put it online somewhere (not the live site, just an online copy of the dev one) so I can have access to it to reproduce your problem and investigate it in your installation? s2Member® » Private Contact Form

Also, there’s a plugin that lets you use conditionals in your menus, which is another option to hide things. See:
http://wordpress.org/plugins/menu-items-visibility-control/
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]

This one may also help, lets you limit the menu visibility by WP role: http://wordpress.org/plugins/nav-menu-roles/

Posted: Friday May 31st, 2013 at 6:27 pm #51078

I tried to test the free registration, but when I attempt to load your site, I get a redirection problem to wp-signup.php and can’t open it. This wasn’t happening the last time I visited it. Could you let me know when it’s online again so I can try the free registration?

I have another domain with an entirely different theme and less plugins. What I’m going to do is start using s2member pro on that see if they problem remains. Will let you know.

Cool.

Posted: Friday May 31st, 2013 at 6:19 pm #51077

This answer does not apply to what’s happening. I am only using the TEXT editor. Please re-read the whole of my post above. (I also said there, “I only use the text editor when editing/saving a post or page with PHP.”

Not using the visual editor is not the same as having the visual editor disabled. [hilite path]Admin -> Profile -> Personal Options -> Visual Editor[/hilite]

With all respect but THAT is not a solution. I use the visual editor 99% of the time and only every once in a while I use the html/text tab.

I don’t know under what circumstances this problem happens. It doesn’t for me, but it does for you. Maybe it’s a combination of plugins.

You can try other PHP execution plugins, maybe one of those doesn’t run into this problem in your installation. http://wordpress.org/plugins/search.php?q=php+execution

Or you can try a raw tag plugin and maybe WordPress won’t filter that content where you’re using the PHP tags. http://wordpress.org/plugins/raw-html/

Posted: Friday May 31st, 2013 at 6:07 pm #51075

No problem. :)

Posted: Friday May 31st, 2013 at 6:06 pm #51074

Thanks for the kudos. :)

Posted: Friday May 31st, 2013 at 5:48 pm #51070

Cool. The redirection works, but the page you’re pointing to is the one with ID 2202, which will redirect the user to the Membership Options page, because the URL in the redirection doesn’t have the access credentials, he’ll get the access link in the confirmation email. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Specific Post/Page Confirmation Email[/hilite]

To redirect him to the protected page after payment, you’ll need to generate the access URL behind the scenes and then redirect him there. So your [hilite mono]success[/hilite] attribute’s URL could be

success="http://clubedasvendas.com/?success=%%sp_access_url%%"

and in a hack have something like this (not tested):

Create this dir/file: /wp-content/mu-plugins/s2hacks.php
Knowledge Base » Hacking s2Member® Via Hooks/Filters
[hilite pre_code]
http://adambrown.info/p/wp_hooks/hook/wp_loaded
http://php.net/manual/en/function.urldecode.php
http://codex.wordpress.org/Function_Reference/wp_redirect

Posted: Friday May 31st, 2013 at 5:19 pm #51068

Ok, we got confirmation from FireHost that it is indeed a banned IP. Here’s what they said:

FireHost said:
This IP address is being blocked by our IP reputation service as it is listed on the Dshield top 4000 list which means that this IP address is listed as one of the top 4000 malicious IP addresses on the internet.

I suggest that you have your webhost fix that IP’s reputation, or moves you to a server with a good IP, or you get your own IP (not shared) for your server, or change to another webhost.

Posted: Friday May 31st, 2013 at 5:07 pm #51067

Thanks for your patience, Timothy. Here’s what Jason said:

Jason Caldwell said:
How to reproduce the behavior:

– Sell a yearly recurring subscription with an Authorize.Net Pro Form. (e.g. [hilite code]rt="Y"[/hilite] and [hilite code]rr="1"[/hilite]).
– Signup today and use a credit card that is good today, but it expires before this time again next year.

What happens is that s2Member charges you today for a full year (and you get in no problem); but s2Member does NOT create an ARB, because it’s not possible. Your credit card will expire before next year comes around.

You will see this in your authnet-api.log file (e.g. the charge for today’s transaction).

array (
  0 => '1',
  1 => '1',
  2 => '1',
  3 => 'This transaction has been approved.',

Followed by s2Member’s attempt to create the ARB to handle billing next year.

array (
  'response_reason_code' => 'E00018',
  'response_code' => 'E00018',
  'response_reason_text' => 'Credit Card expires before the start of the subscription.',
  'response_text' => 'Credit Card expires before the start of the subscription.',
  '__error' => 'Error #E00018. Credit Card expires before the start of the subscription.',
)

s2Member ignores this error, because you did pay for a full year today. So you’re good for a full year. Instead of producing an error during checkout, we let this slide through, and instead of creating an ARB (which is not possible in this scenario); we set an EOT Time for this user (forcing the EOT Time to this time next year).

I investigated the log files submitted by this site owner and found this is exactly what’s happening to them.

So basically the subscription can’t be created because of the card’s expiration date, but the first charge is okay and is processed as a one-time payment.

Posted: Friday May 31st, 2013 at 6:19 am #51023
Posted: Friday May 31st, 2013 at 6:18 am #51022

No problem, Tony.

Okay, it looks like you’re ready to do your tests and have them logged.

By the way, I noticed your s2Member admin menu to be all weird. You may want to try these tips to find what’s causing it, in case it’s causing other problems that aren’t as obvious: Knowledge Base » Common Troubleshooting Tips

Posted: Friday May 31st, 2013 at 6:11 am #51020

Here’s what Jason said:

Jason Caldwell said:
This is a known issue in WordPress®. It’s not specific to ezPHP.

Solution: Disable the Visual Editor completely by editing your profile in the Dashboard. Turn off the Visual Editor completely. It’s not enough just to use the HTML tab; as that can still lead to some corruption; particularly if you switch back and forth between the HTML and Visual tabs in the editor.

For example; this:

<?php ?>

Might be converted into something like this:

< ?php ? >

Or even something like this:

&lt;?php ?&gt;
Posted: Friday May 31st, 2013 at 6:04 am #51019

If the box is unchecked he won’t be added, if the box is not shown he will (he wasn’t given the option).

[hilite path]Dashboard -› s2Member® -› API / List Servers -› Registration Double Opt-In Box[/hilite]

An email confirmation will NOT be sent to the User, unless the Box is checked, or you’ve disabled the Box; by choosing No.

In other words: The email confirmation will be sent if the box is checked or you disabled the box.

Posted: Friday May 31st, 2013 at 5:57 am #51004

So the users have an s2Member Level 1 (s2member_level1) role and an EOT time in the past, but the EOT behavior is not happening?

Could you verify in the user’s profile what role he has and if the EOT time looks okay?

If that doesn’t help, could you submit your site’s info so I take a look? Please leave a reply here after you send it. Thanks! s2Member® » Private Contact Form

Posted: Friday May 31st, 2013 at 5:49 am #50998

Got it. Thanks for the update.

Posted: Friday May 31st, 2013 at 5:40 am #50995

How do you get a buy button url that works with paypal and s2member and the webinar script I have (evergreen)?

There are two ways to do this:

With an s2Member shortcode for the button, change the output attribute to URL like this: [hilite code]output="url"[/hilite], paste it in a page/post of your WordPress installation with s2Member, save and log out (important), open that page with the shortcode and copy the URL it outputs.

Create the URL over at PayPal. Here’s an article on creating a PayPal button that integrates with s2Member, it may be helpful to create a link: Knowledge Base » Using Buttons Generated @ PayPal.com

Posted: Friday May 31st, 2013 at 5:34 am #50994

Not sure if it’s why you’re having this issue, but have you seen this? [hilite path]Dashboard -› s2Member® -› General Options -› Localhost[/hilite]

Posted: Friday May 31st, 2013 at 5:27 am #50992

Unless this form can be used when the visitor clicks Register in the Login widget?Those are the registrations that i need to put somewhere else than the Level 0.

Cassel, this old hack may help: http://www.primothemes.com/forums/viewtopic.php?f=36&t=2819

Jason Caldwell said:
Here is more of a real-world example of how this might be implemented on your site.
[hilite pre_code]
add_action("init", "register_level");
function register_level(){
if(isset($_GET["register_level"])){
$link = c_ws_plugin__s2member_register_access::register_link_gen ("none", "-", $_SERVER["HTTP_HOST"], $_GET["register_level"], false);
wp_redirect($link); exit();
}
}
[/hilite]

Here are how the actual links would be formulated:

http://example.com/?register_level=1

See: Knowledge Base » Hacking s2Member® Via Hooks/Filters

Then in your s2 Pro login widget, for the “Signup Now” link use the URL Jason mentions for the hack.

Posted: Friday May 31st, 2013 at 5:12 am #50991

Here’s what Jason said:

One way to deal with this, is as follows.

– Leave the s2Member® defaults like they are.
– Integrate WordPress® Conditional tags into your bbPress theme.
– Use Custom Capabilities to prevent access where you like.

[hilite pre_code]

Display post form.

[/hilite]

See: Video » s2Member (Custom Capabilities)

Posted: Friday May 31st, 2013 at 5:05 am #50989

Thanks for the info, Drew.

I see that for your product’s thank-you page you entered the wrong URL in ClickBank. Please see: [hilite path]Dashboard -› s2Member® -› ClickBank® Options -› Thank-You Page Integration[/hilite]

It’d be like this (I changed the domain name):

http://mysite.com/?s2member_pro_clickbank_return=1&s2member_pro_clickbank_return_success=http%3A%2F%2Fmysite.com%2Fthank-you%2F
Posted: Friday May 31st, 2013 at 4:55 am #50987

Jason tells me that those settings still exist and showed me this screenshot to help you find them:

I hope that helps. :)

Posted: Friday May 31st, 2013 at 4:30 am #50986

Thanks for the email.

I reviewed your installation and after some tests found the problem. You had a space at the end of the s2Member Pro directory’s name. I had never seen this before, but it looks like the GoDaddy file manager lets you have trailing spaces, and this was the reason the add-on was not being recognized. Since it’s a space, it wasn’t obvious, until I decided to try renaming it for a moment to test something, and noticed the trailing space when I tried to give it a suffix.

Anyway, I fixed that and it’s active in your WordPress now. :)

Posted: Friday May 31st, 2013 at 1:55 am #50982

Yes, that’ll be the right way to go. Sorry I wasn’t sure how to answer that yesterday. Here’s what Jason said:

Jason Caldwell said:
A shared SSL certificate is one which is NOT tied to a site owner’s domain; it’s tied to a domain associated with the hosting company. It generally requires a site to be accessed from a different (alternative) domain name which belongs to the hosting company. It’s NOT compatible with s2Member, or any other software that I can think of.

It’s really just there as a way to access a set of files over SSL (and so a hosting company can say they provide SSL in their list of features :-). It’s not designed to replace the need for an SSL certificate that would power a domain name. Shared SSL is almost like not having any SSL certificate at all, really. You still need to purchase an SSL certificate.

Viewing 25 replies - 826 through 850 (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.