Hi Alex, i have to questions, that are important to me: About ADDING FIELD If i choose to add a member field the form ask me to store the field-value in "SQL" or in a "Common field (default)". Where do Amember store the values in the "Common field" ? I am asking because I need the additional field-values in another application, so i need to have access to this values. About PROTECT FOLDER I have an application wich i want to "rent" to my customers (ASP). Every customer have different settings. These settings are stored in folders. Every time a new user is generated via Amember, a folder with the username of Amember should be generated and protected with an .htaccess file. What do you think is the best method to realize this szenario in Amember ? Thanks in advance for your time. Regards Hartmut
Hi Harmut, 0. please update amember/plugins/db/mysql/mysql.inc.php file. 1. Common fields will be stored in "data" field of "members" table in serialized form (as arrray). SQL field will be separate field. 2. No, protect folders is not for you. Use finish_waiting_payment hook (described in the manual). You can write the following: get payment record get member record (by $payment['member_id']) create a separate folder for member (with mkdir(), etc) protect it by writing .htaccess file into this folder (you can write line Require user alex , for example)
Thanks Alex ! *just diving into the "hooks"* Point 0 is unclear to me. I have the latest version of this file online, don't I ?! Regards Hartmut