|
Hello,
James P. is getting an 503: Service Temporarily Unavailable
Too many IP addresses accessing one secure area! When he tries to log into this page in order to reply to this topic. Can you look into it when you are back, so he can finish this topic? (he’s asked me to alert you to his issue)
Thanks!
|
|
Hi Jason,
Sorry for taking so long in getting back to you. I spoke to my hosting company and you are right, they were running version 1.3 (or similar). they are going to upgrade on Friday and hopefully all will be well.
Do you think that my using your s2member file area should work then? I’ll let you know how it goes.
Thanks for all your help.
|
|
email me at marys477 at hotmail.com and I’ll see if I can help better. I’m only learning this now, and hoped that your site would be similar to mine.
|
|
I was passing on what I did for one of my sites, but it didn’t work for the second, so I will have to change that one and see where to put it! Sorry, you are getting my help sort of second hand. I know how frustrating that is. The fellow that was helping me had asked me to look in the pages.php file instead. You could try that?
|
|
I’m kind of stuck then, Give me a bit and I’ll see what I can find out.
|
|
I’m sending you a private contact form now.
The link for the page that has the attachment is: http://opt-assess.com/test-attachments/
The link I created is http://opt-assess.com/wp-content/plugins/s2member-files/pp.1_Welcome.pdf.
I hope that helps.
|
|
Do you have a horizontal menu already?
I had this issue with another site i was doing, but I realized I didn’t have a horizontal menu!
|
|
Hi Jason,
I put the s2Member-check-my-server.php in and I get passes in all the categories. It says it isn’t necessary, but I could raise my wordpress memory limit.
I uploaded a pdf file to the opt-assess.com/wp-content/plugins/s2member-files folder/ and I then create a link on a protected page as I normally would, and I get the 500 error. The file is pp.1_Welcome.pdf. And I get the Error 500/internal server error.
In fact, I get this on other sites I’ve tried it on as well.
|
|
Thanks Darryl,
I’ll try that option on another site I’m working on.
|
|
Hi James,
Okay, here it goes.
1. Download a plugin called TagPages. This allows you to tag, well, pages.
2. In your Function.php file of your theme, add this code
register_nav_menus(array('primary-menu' => __('Primary Navigation', THEME_NS)));
register_nav_menus(array('secondary-menu' => __( 'Secondary Navigation', THEME_NS)));
This is so you can add a second menu to your site. It goes after the section (around line 93) that has add_theme_support and before function theme_header_image_script() {
3. In your header.php file you should have some code that is:
original code was --
echo theme_get_menu(array(
'source' => theme_get_option('theme_menu_source'),
'depth' => theme_get_option('theme_menu_depth'),
'menu' => 'primary-menu',
'class' => 'hmenu'
)
);
So put in this code instead (overwriting the above code)
if (has_tag( 'private' )) {
echo theme_get_menu(array(
'source' => theme_get_option('theme_menu_source'),
'depth' => theme_get_option('theme_menu_depth'),
'menu' => 'secondary-menu',
'class' => 'hmenu'
)
);
} else {
echo theme_get_menu(array(
'source' => theme_get_option('theme_menu_source'),
'depth' => theme_get_option('theme_menu_depth'),
'menu' => 'primary-menu',
'class' => 'hmenu'
)
);
}
4. Then go to your menus and add your new menu (I put all the usual items from the main menu in the second menu and added the private pages as well). You’ll see that you now have two levels of menus on Navigations section under Theme Locations. Choose your second menu (I called mine PrivateMenu) as your Secondary Navigation.
5. Under Pages, you will have another submenu called Tags, Create one called Private and then tag any pages you want to be private (and more importantly, included in the secondary menu) with this tag.
6. Finally, what I did is had my login page under “about us” go directly to mydomain.com/wp-login.php. Then the first page they come to is the login-welcome page. I now have the secondary menu showing. (I’ve created a user that has level 1 privileges).
This is all with the free version. I hope this helps. Sorry for the delay, but I had to work through how it was done myself!
|
|
Yes, a friend helped me with adding another menu with some php. I have to look at it today, and I’ll let you know the code to put in.
When you update your WordPress site, it won’t wipe this out either.
|
|
Thanks Bruce, but the options within Dashboard -› s2Member® -› Restriction Options, has been saved for quite a while, but this has come up a few times.
If I get more complaints about it, I’ll come back again to revisit. Thank you for understanding the problem.
|
|
He’s one of the directors of the company, so it isn’t likely he would fib about sharing his login, and he used it while away, got blocked and the punishment just continued. For two weeks! When it is set for 30 minutes.
That’s the issue, once blocked, we find that we always have to manually clear their account again. The punishment period doesn’t clear. And as he used a totally different computer when he got home again, the cache shouldn’t be an issue as that was the one he usually logs in from.
|
|
Sorry, I mean does it depend on what theme we use. I use iThemes for some sites and they allow you to create different template pages, and you can drop a different menu into a template that would include the protected pages. So the page you create for your membership landing page would use that different template as would any private pages. So I’d call the new template = membership and any private pages would see that menu.
However, when I’m using a different theme that may say it only supports one menu, I have no idea how to add the different menu that includes the additional pages. And if you add them to your regular menu, you will annoy your viewers if they keep clicking on pages that they aren’t allowed to view.
That’s what I meant. It would be ideal if those pages didn’t show up in the menu at all unless the person was signed in. that’s what I would love to see. So if a moderator can tell us if that is possible somehow it would help both James and I!
|
|
I’m trying to figure out how to do this as well. Is it a function of our theme? I don’t want everyone to see all the pages if they aren’t allowed to see them, it will just be annoying to them.
|
|
Thank you, thank you, thank you. What a crazy reason for it not to work. I can’t even see an open ended
tag anywhere, but that did the trick.
I was about to give it all up for lion taming, or bee keeping.
thank you all for your perseverance.
Mary
|
|
I looked yesterday at the HTML and didn’t see any
tags at all, and I even copied it to Notepad++.
However, because believe me I want this to be over as much as you do, I removed any spacing at all between the paragraphs before and after the check out form, and it doesn’t work.
But your code above
<form id="s2member-pro-paypal-checkout-form" class="s2member-pro-paypal-form s2member-pro-paypal-checkout-form" method="post" action="/membership-options/">
Wasn’t even on my page. Where did you see that? Are you looking at the opt-assess.com page? I added it just to see if it would help, but that hasn’t changed anything either. Sorry.
The code below is all I had on my page (to do with the form), and although the html doesn’t show any
tags, as I said, I’ve removed any spaces just to make sure.
[s2Member-Pro-PayPal-Form level="1" ccaps="" desc="$500.00 CAD + tax / One Time - Assess Certification Training" ps="paypal" lc="" cc="CAD" dg="0" ns="1" custom="opt-assess.com" ta="0" tp="0" tt="D" ra="500.00" rp="1" rt="L" rr="BN" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]
This is so frustrating.
|
|
I was really excited to finally find the solution, but I don’t have any paragraph tags around my Member’s Pro Form. I wish I did, really I do.
What other page would I have anything on it apart from the Membership Options page? Perhaps I’m missing something?
|
|
thanks, I’ll look out for it!
|
|
Well, I’ve gone through everything and have found out that if I put on compatibility mode in IE9, the button works.
What would cause that? I have found code to turn off compatibility code, but not turn it on. And will that screw up any other parts of your program?
|
|
Okay, I will do all of that. Thanks for all of your help. I think you guys are great!
Mary
p.s. I’ll let you know if I figure out what it is, so you can help some other person should it ever come up again.
|
|
So to double check, I have loaded on every plugin that is on the live site, onto the testing site, and it still works. I also put the theme back on there too. (the testing site.) I’m stumped.
|
|
Hello again,
Well, I seem to have corrected the issue in my test site, but I can’t duplicate it in the “real” site.
I even recreated the Pro button to see if just doing it again would somehow “fix” the problem, but it isn’t. I’m sorry this is so frustrating!
Cristián : You said this earlier in this thread:
Okay, I looked at it and I then tried your shortcode in my test installation, and can confirm that the displayed pro-forms are different. Yours shows the Billing Information section, which shouldn’t be there, since you’re only accepting payments through Express Checkout, which collects the billing information over at PayPal’s site
I’m not sure what you mean here. Could this be an issue as to why it only works with IE9 though?
I have also disabled all the addons associated with Internet Explorer and that didn’t help me be able to pay.
Any other suggestions? I really appreciate your help.
|
|
Sorry, that wasn’t very clear. What I mean is, that I have to go into the API settings in Paypal, and I’m afraid that it will change the settings or it may be a random setting and will screw up the settings for the live site. Is that not the case?
|
|
Well, don’t I get the password from Paypal? I’m afraid that it will change that when I go to look for it. Will it?
|