Hello, How does Amember plugin work with Wordpress to restrict access to posts/pages? (Trying to understand the backend operations.) For example: 1) Do the members-only pages/post have to reside INSIDE Wordpress (i.e. as regular posts/pages created in Wordpress)? 1a) If residing within Wordpress - how do you protect it from Google, RSS feeds, and non-paying members? 2) Or, does the members-only content need to reside in separate folder OUTSIDE of Wordpress? 2a) If residing in folders OUTSIDE of Wordpress, how can you integrate it so it still looks like part of your blog? If anyone has a video, or instructions on the above, I'd gladly appreciate it. Right now, Alex is helping me upgrade so haven't tried out the plugin yet... Thanks
First, no matter where WordPress and aMember folders are located. aMember creates user records in WordPress with configured "role". You can then use WordPress plugins to configure access to pages by user role. Here is the plugin readme: --- WordPress module installation The plugin has been tested with WordPress v. 2.0.5. 1. Upload plugin to amember/plugins/protect/ folder, so there must be file amember/plugins/protect/wordpress/wordpress.inc.php on your FTP 2. Enable plugin in aMember Admin CP/Setup, then go to plugin settings page and configure it. You will have to enter something like worpress_databasename.wp_ into "database and prefix" field. You may find database name and prefix in file "wp-config.php" in the WordPress installation. 3. Add this to "wp-config.php" in your WordPress installation before : require_once(ABSPATH.'wp-settings.php'); add : define('COOKIEPATH','/'); define('SITECOOKIEPATH', '/'); define('COOKIEHASH', md5($_SERVER[HTTP_HOST])); 4. Go to aMember CP -> Manage Products, and set "WordPress Role" and "WordPress Level" to desired values. 5. Click aMember CP -> Rebuild Db to add your existing aMember subscribers to WordPress. 6. By default, WordPress does not allow to limit access to posts on "Role" level. You can install the following plugin: http://blog.firetree.net/2005/08/25/viewlevel-20/ to be able to do that.
Exact Configration? Alex - what is the exact configuration for Wordpress to work with aMember? My wp-config.php info is: profecti_maindb wp_ would I use profecti_maindb.wp_ because that is NOT working. You will have to enter something like worpress_databasename.wp_ into "database and prefix" field. You may find database name and prefix in file "wp-config.php" in the WordPress installation.
alex and I doing something wrong? my wordpress prefix is dlk, and my database name is shb12_084_1 so wouldn't it look something like wordpress_shb12_084_1.dlk_ ? in doing so i get the following: wordpress Board Db and Prefix - incorrect value. Error: SELECT command denied to user 'shb12_084_1'@'myip' for table 'dlk_users'
i am using the same db for both wordpress and amember. i have tried just entering dlk_ into the wordpress Board Db and Prefix field and hit save but nothing happens. no error or confirmation