Hi Maximus Marius and mahmoudimus ,
In one hour aprox I will send you an email with the information about it, I already created the project at google projects, I will add you so we can start working colaborative
This is the code google project link
http://code.google.com/p/translationbrowser/
Hi there ...
elgg 1.7.1 says missconfigured plugin and deactivates it :-( can anyone help me ?
it runs now but i see paths like Kiwi_chris and not like Maximus Marius
I also can't save the files ... which folder do i have to give accessrights it always tells me i didn't got the right to save the file ...
form_set_data($entity, $data)
This function takes an array data, with the internal_data strings as array access keys, which has instantiated stdClass() objects per field definition (internal_data strings). The attribute "value" stores the value respective to it's internal data string.
$entity is the ElggEntity that allows metadata, for flexprofile, it's the ElggUser.
Looks like form_set_data() and flexprofile_set_data() are exactly the same function.
Looks like the metadata is being set using create_metadata(), so you can technically get the $user object and just use the regular metadata methods to set and retrieve values.
For example, if a form field internal_id is "flex_plugin" then $user->flex_plugin = "somevalue"; or echo $user->flex_plugin; would work
Yep, just confirmed it
$user->setMetaData(%internal_name%, %value%);
$user->getMetaData(%internal_name%);
works fine.
I think it would be wise, however, to use form_set_data() to control the access. You can always use access_id to override it.
Hope this helps someone:)
form_set_data($entity, $data)
This function takes an array data, with the internal_data strings as array access keys, which has instantiated stdClass() objects per field definition (internal_data strings). The attribute "value" stores the value respective to it's internal data string.
$entity is the ElggEntity that allows metadata, for flexprofile, it's the ElggUser.
Looks like form_set_data() and flexprofile_set_data() are exactly the same function.
Looks like the metadata is being set using create_metadata(), so you can technically get the $user object and just use the regular metadata methods to set and retrieve values.
For example, if a form field internal_id is "flex_plugin" then $user->flex_plugin = "somevalue"; or echo $user->flex_plugin; would work
Yep, just confirmed it
$user->setMetaData(%internal_name%, %value%);
$user->getMetaData(%internal_name%);
works fine.
I think it would be wise, however, to use form_set_data() to control the access. You can always use access_id to override it.
Hope this helps someone:)
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.