I am using Drupal but have decided not to integrate members with the Drupal module yet. I want a simple protection method to work first. I have specified the folder in "Protected Folders" and placed the following code in my page.tpl.php file: $_product_id = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24); require_once '/usr/local/web/www/amember/plugins/protect/php_include/check.inc.php'; I am required to log in, but when I do so, I get this error: "Access to this membership area is not allowed. Please go to "Membership information page" to renew or add subscription" What else needs doing? -Bram Moreinis (for Robert Middleton)
I know you didn't ask, but I also use drupal, and to me the simplest method is to just have 2 user types, anonymous and authenticated. Someone has signed up via amember, logs in via amember, they are an authenticated member. Anyone else coming to your site is an anonymous member. Very simple then to control access to various areas of the site using Drupal's controls, no file mods required. my 2 cents worth, John