kajoiner Posted March 17, 2004 Posted March 17, 2004 I am trying to install aMember on my website, but I am running into some problems. I have it set up so that I can log in, but when I try to go to the password protected folder, the log in screen comes up and it will not let me through. I assume that I have something wrong in the .htaccess file, but I do not know what. Here is what I have. AuthType Basic AuthName "Troop 98 Members Only" AuthUserFile /home/public_html/amember/data/.htpasswd AuthGroupFile /home/public_html/amember/data/.htgroup Require group PRODUCT_4 The group that I am a member of is number 4. Any help? Quote
ThumpAZ Posted March 17, 2004 Posted March 17, 2004 I took a quick read through http://membership.cgi-central.net/scripts/amember/docs/html/ and found the following. Not sure if it will help you at all, but here it is. There is a LOT of other good info there as well. Also, Lianna wrote up some quick notes of an order of operations for this at http://www.totalchoicehosting.com/help/id110.htm Setting Up Protection Step 1: Enable php_include plugin. Open the aMember Admin Control Panel Click on Setup/Configuration from the left menu The Configuration : Global screen opens From the top menu on this page click Plugins The Configuration : Plugins screen opens Select Protection Plugins A list of the options available for protection appears, select php_include. Step 2: Include check.inc.php in your pages For this plugin to work the file /ammember/plugins/php_include/check.inc.php must be included at the very top (before the opening <html> tag) of the PHP pages you wish to protect as follows: ======================================== <? $_product_id = array(1,3); include("aMember_Root_Dir/plugins/php_include/check.inc.php"); .. any existing PHP code goes here .. ?> ========================================= Note: You must edit the $_product_id array to reflect the aMember product which gives access to the page. For example, if access is confined to those with products 1 and 3 it will be as above. If it is confined to those with products 2 and 5 you would use $_product_id = array(2,5); Quote
kajoiner Posted March 18, 2004 Author Posted March 18, 2004 I read the documentation before starting, but I can not find a setup on the admin control panel. Attached is a screen shot. Quote
kajoiner Posted March 18, 2004 Author Posted March 18, 2004 I figured it out. The documentation is for the PRO version. I had a small error in the .htaccess file. Does anyone know how to modify the membership feilds on the signup page. I wanted to change country to a different feild. I changed it so that it asks for the new information, but I does not store the information in the database. Quote
kajoiner Posted March 19, 2004 Author Posted March 19, 2004 I figured it out. I had to rename a few things. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.