i
TIPS on configuring your phpAutoMembersArea
* new, or updated, in version 3.6
- * When testing a new member account
There is no need to log off from your admin area, you can now login automatically just search for the member then
click the "LOGIN as this member" link.
- Removing the demo files and folders - you can remove all the subfolders beneath the "content" folder except:
"DEFAULT_specific_member_pages"
"Private_folders_ONLY"
Both these folders should be retained as they are used by phpAMA. If you need a copy of the Example files you can download a copy here.
- Adding the login box
to your homepage is now easy. To create a link like this:
Login
(which displays the
login box within your page). All you need to do is add the PHP code below to your
homepage:
Note: only add the link at the top of a page
- Creating private content
(allows you to provide individual files for each member if required)
To activate this all you need to do is:
- Your system will automatically create private
folders - to change this see the $create_private_folders variable in the
file: /members/constants.inc.php
New folders are automatically created in
this location:
/members/content/Private_folders_ONLY/[username]/
So if their username was "them@theirdomain.com" it would be:
/members/content/Private_folders_ONLY/them-at-theirdomain.com/
* new folders are now created by replacing the "@" with "-at-"
(if old folders exist with the "@" symbol then it will still work)
- Set the folder:
/members/content/Private_folders_ONLY/
to read and write - chmod to 777 (there are several help pages devoted to this task here)
- Then, each time a new member joins the files, if any
exist, will be copied from:
/members/content/DEFAULT_specific_member_pages/
to the new folder automatically.
Optional config:
change the constant on line 22 of file
/phpautomembersarea/members/specific_member_pages.php, change this text to your
requirements:
"<b>Your personal files:</b>"
ONLY when there are files (.html or .php)
within a members folder will the personal menu appear.
- Display a Notice to New members
- displayed to new members on first login only.
New members will be shown the file:
/members/content/_NEW-member-welcome.html
This is shown just once, on first login if the variable $show_new_member_welcome
is set to true in the file: /members/constants.inc.php
- Integrating phpBB forum
Note: You must make a separate install of phpBB to use the following
phpAutoMembersArea
members |
give access to >>
|
phpBB |
Backup before implementing.
BACKUP now, wait, someone will still not bother!
Backup, do not come whinging.....
If you intend to use phpAutoMembersArea as your
authentication system (allowing automatic access to phpBB by all existing and new
phpAutoMembersArea members) then complete the following:
- edit the file: /members/constants.inc.php
changing the constant FORUM_ENABLED to true
- edit the phpBB register file:
/forum/styles/[style-name]/template/ucp_register.html
Remove the HTML and replace with your own HTML such as:
Please login or register here:
[create a link to your phpAMA login page]
Note: you may also need to amend
the constants: FORUM_LOCATION and FORUM_FOLDER_NAME within the /members/constants.inc.php
file.
The default settings are for the following folder
structure:

Also, for this to work correctly both
phpAutoMembersArea and phpBB need to be on the same domain/web space (but can use the same
or different databases). When setup you will be able to access your
phpBB forum as an administrator from the main menu (system
watch section).
Creating a link to the forum - use the file:
/members/content/Forum (phpBB access).html
or just make a link to /members/phpbb/_phpbb_login.php
it is secure to link directly to this file - only if your member is logged
in will they be logged into your forum.
Existing phpBB members!
If existing phpBB members logs into phpBB from within phpAMA then it will create a new phpBB account, unless they have logged into phpBB via phpAMA previously.
If you have phpBB members who wish to retain their existing forum account then ask them to login to the forum as normal via the phpBB login page.
New phpBB members
The new
username will be the same as the phpAutoMembersArea username
(trimmed to maximum length of 250 characters) with the "@" symbol
replaced with " - " (space hyphen space), this is done to prevent spam bots
collecting email addresses.
Restricting access to phpBB
Login as an
administrator to phpBB and Go to Administration Panel
- then click on the permissions link on the left.
For more details on this please refer to the phpBB site.
Altering the Company name
This can be changed by altering the value assigned to CO_NAME within the config.inc.php
file. This is set when you first install the application.
Changing the footers
You can easily add your own html to both /members/footer.html
and /_admin_/footer.html
(where _admin_ is the original name of the admin folder)
Changing the headers
Changing the headers can result in errors as these contain PHP.
However, you can still add your own html, but this requires a greater amount of
care. The header files are /members/header.html and /_admin_/header.html
(where _admin_ is the original name of the admin folder)|
Registration: Changing the final
message displayed
The message displayed to NEW members having just registered is either
MANUAL_ACTIVATION_MSG or AUTO_ACTIVATE_MSG depending on if you have auto activate set to
manual or not. You can change this in /members/constants.inc.php
file.
|