Jeroen Dalsem's plugins:
Provides better use of profile fields, replaces (replace profile fields) and configurable group fields
ColdTrick IT Solutions(c) 2013 ColdTrick IT Solutions
Like this plug-in? Consider making a donation or recommend it!
Your Profile Manager looks great. I just have a couple of questions. Once I have defined 3 user types can i set profile fields for each and prevent the user from making changes.
My idea is to pre set user types with an SQL import and they will have thier fields pre set for them when they log in but not able to change them.
Any other user feel free to comment. Thanks
@Tinmantoo you can do this. You can prevent field changes with the profile manager (profile type selection for admin only, profile fields admin only flag). However be aware when importing users, that the profile type is a metadatafield with a guid referencing the profile type object.
Just installed profile manager - looks great!
One question though - and sorry if it's a dumb one, I'm an elgg newbie - how do I test what profile type a user has? I wan to conditionally display a message on the profile page based on profile type.
Any help much appreciated.
Thank you for your reply. Excelent. There may be some backend work to do here then. Following on form your instructions quoted below:
"@Tinmantoo you can do this. You can prevent field changes with the profile manager (profile type selection for admin only, profile fields admin only flag). However be aware when importing users, that the profile type is a metadatafield with a guid referencing the profile type object."
If I want to do this on the fly I would need to add an identifier to the table which contains the guid and create a new table with a guid identifier against a simple index which can be populated by the user import. Does this sound feasable?
Hello guys, i'am looking for help...
How can we add more language in profile fields?
(profile:[name]) i don't understand this, usauallu in the language file (en.php) i use this type of string
'profile:name' => 'Your Name',
(profile:[name]) must be write in the label field? and the how can we translate it?
Thanks for help guys!
@Genni if you want to translate a profile manager field in the language file you need to replace [name] with the name of the profile manager field.
So for example you have a field with the name 'company_name', you add the following to your language file 'profile:company_name' => "Company Name".
@Jeroen it works perfect on localhost, thanks.
I have another question for you:
I uploaded my site for the first time today and when i try to create a profile field, it returns this message:
"Unable to save new object's base entity information!"
Do you have any idea why this happens?
Thanks a lot :)
I think I have a problem inside the core, even if everything is fine in localhost, on server i can not disable plug-ins, perhaps the problem of your plug-in is caused by this very strange problem that I'm looking for a solution.
I found a problem in Internet Explorer 8, the items displayed in the profile mode accordion suffer from a strange problem: if you click on an item to open it remains attached to the previous one without complying with the margins, you must pass the mouse to arrange the margins in their place.
Anyone has encountered this problem?
I am still struggling to find a solution to the date picker adding -1 to the date.
I am on elgg 1.7.8
using this profile manager plugin from Jeroen
above the pm plugin is the Event_Calendar
below it is the simple datepicker from Sergio De Falco version 1.1
my event calendar dates seem to work fine
but I have a DOB field created in my profile manager set to 'date picker pm style'
and when I put in a date it comes out -1 in the day.
I have tried all the fixes I could find including adding Australia in as the default time zone in the engine\start.php (I am in Sydney which is +10)
I figure this is all down to time zones but am baffled as to the solution and so far cannot find one on that works.
any help would be much appreciated