Important:
There is now a new snippet (WebLoginPE) that does almost everything PPP does, and more... Check out:
http://modxcms.com/forums/index.php/topic,17359.0.html
=====================================================
Updated Jan 2, 2007: PPP 0.3 beta - Extended user profiling with custom fields
Check the
demo site for example use of the new functionality
WARNING: I made this snippet as a project for learning MODx, php and MySql. Please note that this is a beta and that it could be unsafe to use it on a live site.
FEATURES:
User profiles:
Let your web users have their own profile with any standard or custom field of your choice
The user can edit anything he/she wants on his/her profile
No need to create separate documents for each user
Anyone can see other people’s profiles
Makes placeholders automatically - style your users profile pages as you want
Full validation available through the use of eForm
New in 0.3: Admins can edit any users data.
Admin page:
List available fields/placeholders
Create custom table without any knowledge of MySql - just specify your desired table name in the snippet call
Easily add any field to your custom table - no MySql here either
New fields are automatically added as placeholders to use in profiles and in eForm
Use multiple custom tables / multiple admin pages
User lists /reports::
Creates customizable link lists of web users - click link to see the user profile for that person.
User link list is in a placeholder, place it where you want.
List online users, users per group, choose field to order by, list user forgotten to fill in certain fields, list only users with pictures or with complete profiles and lots more.
Other:
Enables use of any user field from standard table web_user_attributes in eForm as a placeholder for updating (and for populating fields from database)
Could be used for other purposes besides user profiles, use it for anything where you need a custom table and automatic creation of placeholders that could be used together with eForm.
Requirements:
eForm 1.4.1+
MODx 0.95 (Should work with earlier versions.)
Known errors, limitations and troubleshooting:
Please check the attached instruction file
Available parameters:
Included in the instructions
Instructions and tutorial:
Download instructions attached to this post. Also included in the snippet zip.
Demo:
See a simple unstyled demo with limited functionality at
http://www.learningmodx.com
Too see the snippet in full action you should create an account.
When going through the tutorial the demo page will help you understand what to do, as the tutorial pretty much is based on the creation of the demo.
[i]Instructions attached are also in the zip-file. I’ve put them here if you just want to read some more about ppp before testing it.
Use eFreg snippet (
http://modxcms.com/forums/index.php/topic,15674.0.html) to enable input to ppp tables at register time.
NOTE! - Before install, read this:
There are some information missing in the instructions attached (I’ll update them soon). Please read
http://modxcms.com/forums/index.php/topic,8922.msg73417.html#msg73417 for more info before making a new install (or before upgrading to ppp 0.3)
NOTE! - Use WebLoginPE instead of PPP (0.1 beta 1: DL 14+19)(0.2 DL=35)