$Id: README.txt,v 1.10.4.15 2009-09-12 03:08:23 michellec Exp $
CONTENTS OF THIS FILE
---------------------
* Introduction
* Installation
INTRODUCTION
------------
Advanced Profile Kit (http://drupal.org/project/advanced_profile) provides building
blocks for putting together fancy user profile pages like those commonly found on social
networking sites.
INSTALLATION
------------
(Note: This section is currently a dump of what's in the handbook page, HTML and all. Sometime before release I will clean this up and make it readable as a text file but I wanted to wait until I was sure the docs wouldn't be changing.)
Since this is a kit module, it is not necessary to install this exactly as directed. Depending on your experience, you can pick and choose which pieces to use to build your unique profiles. The instructions here will get you up and running with the standard APK profile.
Install and enable APK
- Copy the entire advanced_profile module directory into your normal directory for
modules, usually sites/all/modules
- Enable Advanced Profile Kit in the "other" fieldset at ?q=admin/build/modules
Install modules that APK uses
(submodules needed are listed in parentheses)
Configure Advanced Profile Kit
- Redirect from profile node to user page: When using nodes as profiles, you have the node sitting out there just like other nodes. This redirect will prevent anyone from visiting that node as it will redirect them to the profile page of the owner of the profile node.
- Number of entries: Enter the number of profile visits to show at one time.
- Show only the last visit from each user: If checked, a given person will only be listed once no matter how many times they visit.
- Granularity of time ago: The granularity on the profile vists list defaults to 2. Set it to 1 to take up less room or to 3 for more precision.
- Roles to exclude: Check any roles you don't want to show up on the list. Make note of the performance warning.
Create the user profile node type
@TODO: This is currently changing... will right docs once the change is complete
Configure core
- Navigate to ?q=admin/user/settings and enable picture support if you want users to have avatars on their profiles.
- Configure statistics module:
- Navigate to ?q=admin/reports/settings
- Enable access log: Enabled
Set access control
- Navigate to ?q=admin/user/permissions
- Enable "administer advanced profile" for your admins
- Enable "access user profiles" for everyone that you want to be able to view user profiles.
- Enable "edit any uprofile content" for your admins so they can edit anyone's profile.
- Allow users to create profile nodes by giving them access to "create uprofile content" and "edit own uprofile content". You will not want to give them delete perms.
Configure the user profile page
- Navigate to ?q=admin/build/pages
- Enable the "user_view" system page. If this is not enabled, APK cannot take over the user profile page. If you are using APK in a custom way and don't wish to use it with Page Manager, you can leave this disabled.
- Once it is enabled, click edit on "user_view".
- If you like how APK looks by default, you don't need to make any changes. But you should poke around here to see what's available to you for customizing your profile.