Good day.. I've set up amember and working great.. I'm using the PHP_INCLUDE with the method new_rewrite .. I'm very happy the way things are working, till I just ran into a problem that has been driving me a bit crazy. I have 2 different memberships and 2 different protected folders. The problem is that, membership 1 is able to see membership 2 page. And the member 2 is not able to view 1" which is fine". I would like to know how these memberships can not access eachother. I have there array(2) & array(8) by themselfs, so I dont know why this is happening. Any help would be great! Thanks amember for a great product.
Hi, When you say they are able to "see membership 2 page", what "page" are you referring to? Is this a static php or html page or a CMS (wordpress?) generated page? If a static page, what is the exact code you entered into your page to protect it?
I have 2 memberships and they are both PHP pages.. Membership one is : <?php $_product_id = array(2); // or $_product_id = array(1) if it so include("/home/wwwthem/public_html/amember/plugins/protect/php_include/check.inc.php"); ?> Membership two is : <?php $_product_id = array(8); // or $_product_id = array(1) if it so include("/home/wwwthem/public_html/amember/plugins/protect/php_include/check.inc.php"); ?> The first membership is the month to month The second is for 24 hours ----- Note: The month 2 month is able to access the 24 hour, which I dont want. The 24 hour membership is fine and cant access the month 2 month. I wanted to know how to block the month 2 month from seeing the 24 hour. This is all new to me so I'm sorry if Im explaining this wrong.. Any help would be great! Thanks for your time.
This looks correct, hopefully if I'm missing something someone else calls it out. I would be sure to clear your browser cache, restart your browser between testing of each user.
I tryed it on all browers.. Membership monthly is still able to see the 24 hour one.. This is making my head hurt.. lol..