Quantcast
toolbar_logo graphic

Stats

  • Category: User admin
  • License: GNU General Public License (GPL) version 2
  • Updated: 2012-2-20
  • Downloads: 28625

Images

Other Projects

Jeroen Dalsem's plugins:

150

Recommendations

Summary:

Provides better use of profile fields, replaces (replace profile fields) and configurable group fields

Full description:

Provides better use of profile fields, replaces (replace profile fields) and configurable group fields

Features:

  • ordering of custom fields (drag and drop)
  • add profile types
  • add categories (draggable reordering, drop fields on categories to add)
  • adds pulldown, radio, file, multiselect, calendar and datepicker field types
  • show on register form (profile fields only)
  • show output as tags
  • mandatory fields (for register form, profile fields only)
  • mandatory profile icon on register form
  • disallow editing of a specific field (applies to edit profile only)
  • replace profile fields access control with just one profile access option
  • backup / restore profile fields configuration
  • export user profile (meta)data to csv

Needs to be positioned after the profile plugin!!!

TO DO: 

  • categories and types for groups 
  • multilingual options (in pulldown, radio, multiselect) 
  • Default values for fields (user specified)
  • Force empty fields on profile 
  • dependend fields
  • check existence of input/output views (in get_categorized function) 
  • check if fieldtype is enabled (in get_categorized function) 
  • handle disabled fieldtype options (in get_categorized function) 
  • handle empty fields on group details (in get_categorized function) 
  • handle field options on group edit  
  • replace profile type description with longtext instead of plaintext

Known issues:

  • on register error backward maintaining selected profile icon is impossible due to security reasons
  • longtext with tinymce too small when on first hidden

ColdTrick IT Solutions(c) 2009 ColdTrick IT Solutions

Like this plug-in? Consider making a donation or recommend it!

Release notes:

7.3 (2012-03-15):

  • added: user summary control
  • added: rating field type
  • added: option to allow users to change their username
  • changed: info icons replaced with elgg default info icon
  • changed: version requirement to 1.8.1 to support info icon

 

Compatible Elgg Version: 1.8

Nice!  users can now change their username...  just what the doctor ordered. now all elgg needs is a 'forgot username' button and viola.  recomended and thanks muchly!

Stumpy 61 days ago

How can I change programmatically the value of a custom user field?? I can only "read" value, not "write" it, from PHP code. Thx!!

theshadowmaker 57 days ago

@theshadowmaker do you mean the value of the user? You can set that with $user->metadata_name = value;

Jeroen Dalsem 57 days ago

I just added some extra Custom Field, named "disease", and I want something like

 

$user->disease = 'My Rare Disease';

 

Searched in Profile Manager API but not found anything... thx for help!! :)

theshadowmaker 57 days ago

I'm so sorry, stupid boy I am. @Jeroen you pointed me in the right direction. Sorry for flooding comments in your wonderful plugin with such a dumb n00b questions :)

theshadowmaker 57 days ago

Tks @Jeroen Dalsem!! The rating fields helped a lot ;)

regards!

aethiopicus 52 days ago

what rating fields?

Stumpy 52 days ago

Jerone

Thanks for your excellent plugin. I had a question on usage of your plugin. I have two types of users and corresponding to each type of user I have defined specific profile types. Each profile types has its corresponding fields and categories.

Profile type is assigned to user by the administrator and I do not want the users to change their profile type. So in profile_manager's plugin settings section "Edit Profile" I have set "Who can change the profile type?" to "Admin only".

However when a user edit their profile they see fields and categories for all the profile types not just the one for their assigned profile type. This seems like a bug. Can you clarify.

 

Thanks

Animesh

a4animesh 51 days ago

@Jeroen Dalsem

The profile manager over rules the custom index page. Where can i change the <div> for the frontpage. So i can have a good straight frontpage.

Clinton van Axel 51 days ago

This Plugin is really a good addition.

There is one issue I find most limiting at the moment (and hardest to get around)..

When a field is not editable by the user, it is also not editable by Admin. So noone can edit it. This seems wrong. There is a reason why someone is admin. No? Also, the title of that field option is "User can edit this field". It makes sense to allow Admin to edit it (especially with that title). Any easy way to fix that?

Cheers and thanks again for taking the time to develop this plugin.

Pidgin 50 days ago

OK. I have edited the source [mod/profile_manager/views/default/forms/profile/edit.php] and changed line 272 from

                                if(($field->user_editable == "no")) {

to

                                if(($field->user_editable == "no") && (!elgg_is_admin_logged_in())) { //!!!Edited by Pidgin 2012-03-27: admin login allows edit on user-protected fields

Strangely, it worked without me needing to change the "save" as well. This means that either:

1) Save already checks if admin is trying to save user-protected fields

OR

2) There is a bug, and anyone can change user-protected fields if they know the field name. Could be a security breach.

@Jeroen Dalsem - Thought?

Pidgin 50 days ago

Hello, this is exact the plug in I want. It's really cool.

However, could any one tell me how can I internationalize the profile. I implement 3 languages in my site and I would like the label can show the language selected by users. I read the guide shows in the pop-up dialogue box but cannot understand. Thank you very much.

nurapipi55 49 days ago

Go to the mods directory. in it, go to the profile_manager directory. and then into languages. You will see there a en.php file. you can copy it to a new language and translate it. More info about it here: http://docs.elgg.org/wiki/I_don%27t_like_the_wording_of_something_in_Elgg._How_do_I_change_it%3F

Also, you can put the titles of all the fields in the per-language files. But note then, you MUST leave the title of the fields empty. Only then, it will use the titles you place in the language files. When doing so, if for example you created a field called 'FavoriteMovie', you need to put the following line in the language file (for example, in english):

'profile:FavoriteMovie' => "My favorite movie",

Naturally, you need to put this line in all the language files in that directory, each with the localized title (instead of the "My favorite movie" part)

Cheers,

Pidgin 49 days ago

@pidgin the non-editable fields serve the purpose of fields not being able to edit through the front end. The fields then should be maintained by another plugin or by a backend system. So it is by choice that an admin also can't change the field.

@a4animesh i will look into this as it sounds like a bug

Jeroen Dalsem 49 days ago

@a4animesh did you link the categories to the related profile types? Because on my test setup it works fine. Only the fields and categories show for the profile type of the user. If the user has a default profile type i wont see the other tabs (if they are linked to a specific profile type)

Jeroen Dalsem 49 days ago

Hi Pidgin, Thank you very much. It works!!

And please allow me to ask one more question: Do you know how I can setup the multilanguage options in pulldown, radio and multiselect? Thank s again!!

nurapipi55 48 days ago

@jeroen Yes I linked categories to the profile types, I am using your most recent release. In the plugin setting I had set the "How to show the 'edit profile' screen" to "List". I can reproduce the problem. If the setting is "Tabbed" then it shows correctly. However when I use firebug, I see that even when setting is "Tabbed" the HTML generated has all the categories. I think using javascript manipulation only the relevant category from HTML is shown.

 

I also checked the code in the call to functions.php#profile_manager_get_categorized_fields all the categories are returned not just the ones that are associated with user's profile type.

I will debug more but this looks like a bug.

 

 

a4animesh 46 days ago

Gracias por el gran aporte Jeroen!!!! Una pregunta cuando intento crear un perfil y le digito el nombre me sale el siguiente error "No name or an invalid name provided for the Custom Profile Type".

Y se debe a que el nombre del perfil lo coloco con espacios. Cómo puedo arreglar esto?

Gracias por su ayuda!

Alvaro 45 days ago

Jeroen, i´ve tried to install the pluigin but i get this mistake: event_manager_V2.0.2 (guid: 87) cannot start and has been deactivated. Reason: Cannot include start.php for plugin event_manager_V2.0.2 (guid: 87) at C:/xampp/htdocs/myfansick/mod/event_manager_V2.0.2.

how i can fix this?

Thanks in advance!

Antonio González 43 days ago

Lovely plugin... I have a problem & i dont know where i made a mistake... for birthday option i used datepicker (profile manager style) but i am not able to give any input to the field.... during registration process as well as during editing the profile.. 

 

meril 43 days ago

everything works fine.. its an awesome plugin... i just get this error alone... I dont know where i made mistake.... I made calender for birthday date input.. i am able to give input but when i view my profile near birthdate i get this error & then my output is displayed.... 

Deprecated in 1.8: output/calendar was deprecated in favor of output/date Called from [#9] /home/xxxxxxx/public_html/engine/lib/views.php:503

meril 43 days ago

Jeroen

I added a field birthdate to profile fields of type pm_datepicker. When I set the field in Edit Profile as let's 1/1/2012 it gets recorded as "Sun Jan 01 2012 12:00:00 GMT-0700 (Pacific Daylight Time)"

In View Profile it shows the long string ""Sun Jan 01 2012 12:00:00 GMT-0700 (Pacific Daylight Time)" and when I edit the profile again the value does not show up as it can not format it back.

How can I fix this? I do not need to store the date in long form is there a way to configure it.

 

 

 

a4animesh 39 days ago

Hi,

I have recently installed this plugin and get the following error message when trying to edit a new profile.

"array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object" in file ..\mod\profile_manager\views\default\forms\profile\edit.php (line 180)

Has anyone seen this error before?

It seems as though the code at line 180 expects values to be passed in before it switched the profile to edit mode, however, new users do not have values in the profile.

is there a way around this? Maybe by putting default values in - i dont know how to do this :/

Thanks in advance

mdaly 38 days ago

Is there possible for users to select there profile type in registry field...

meril 29 days ago

sorry... I did not see my register page.. so i was asking such a stupid question.... profile type is diplaying in registry field... i want to remove default profile type in the profile type selection...

meril 29 days ago