-
- 24,544 Posts
MODX is definitely the right tool for this.
ClassExtender adds extra user fields that are not on the User Profile and stores them in a custom DB table, but you need to select the fields ahead of time.
Of course, you'll also need to consider the UI for users to perform the searches.
I'd strongly advise *against* any strategy that involves the User Profile extended fields or Template Variables to store the user data. There are many disadvantages to these approaches, but the main one is that searches can become very slow after the number of users gets too large.
-
- 140 Posts
Thanks both @Devlanda & @BobRay.
I like the ClassExtender approach. The thing I don't really get is the search part. So to put it in a question: Can I search the the ClassExtender fields with "SimpleSearch"?
Kind,
Ilja
-
- 1,145 Posts
Using TinyMagicPublisher (a wrapper for NewsPublisher) - to manage the create and edit pages, flawlessly!
The update profile and other things are easy to do yourself.
When a user registers and is catalogued under the right usergroup with appropriate MODX permissions, he will see a nice link in his member-only brief update profile page upon successful logon.
This link is produced by a snippet that checks if the user has ever created a resource in the parent resource called mysite.com/aboutme!/
This link is to the page mysite.com/profile/?create=true
If user has at least one resource created, this create page will auto forward to (view/edit my public profile)
mysite.com/aboutme!/whatEverPageTitleUserChose.html?edit=true
if user has deleted his resource - the link will signify so much.
* user may not have more than one resource in the aboutme! section, and user has freedom to change pagetitle at anytime, but you can force the pagetitle to anything you want - like Bob Ray has mentioned.
*user may publish and unpublish public profile at anytime
*(easy to set this up) user can edit other user fields provided by update profile snippet or ClassExtender while in a TinyMagicPublisher create or edit page
TinymceWrapper: Complete back/frontend content solution.
Harden your MODX site by
passwording your three main folders:
core, manager, connectors and renaming your
assets (thank me later!)
5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
-
- 24,544 Posts
Quote from: ilja-web at Mar 21, 2016, 11:52 AMThanks both @Devlanda & @BobRay.
So to put it in a question: Can I search the the ClassExtender fields with "SimpleSearch"?
I've never tried, but I very much doubt it. ClassExtender comes with its own search snippets (they're like getResources and getUsers), but anything very complicated might require custom code.