Support

  1. lutsmi
  2. Features Request
  3. Monday, September 01 2014, 11:14 AM
Hello,

is it possible to create a calculated field wich will be automaticly filled.
Example: new Field3 = (Field1 x Field2)

Thanks a lot :-)
admin Accepted Answer
Admin
Hi,
Yes you can do this, but you will write simple plugin based on our Skeleton plugin.

here a plugin and documentation of our Triggers https://www.easy-profile.com/docs/44-triggers.html

You can do something like this:
- Download, install, and enable our Skeleton plugin
- Go on file /plugins/jsn/skeleton/skeleton.php
- delete examples functions triggerFieldAvatarUpdate and triggerProfileUpdate
- write a function like this
triggerProfileUpdate($user,&$data,$changed,$isNew){
$data['field3']=$data['field1']*$data['field2'];
}



NOTE: this code is not tested and not supported and require minimum PHP knowledge
  1. more than a month ago
  2. Features Request
  3. # 1
lutsmi Accepted Answer
Hello an thanks,

where can i download the plugin?
I dont know how to write a plugin:-)
THX
  1. more than a month ago
  2. Features Request
  3. # 2
lutsmi Accepted Answer
I´ve found it ... sorry
  1. more than a month ago
  2. Features Request
  3. # 3
lutsmi Accepted Answer
Thanks for you help .. but this is to difficult for me ..
  1. more than a month ago
  2. Features Request
  3. # 4
admin Accepted Answer
Admin
In future we plan to add a plugin like CB auto action when you can do this from a user friendly component.
  1. more than a month ago
  2. Features Request
  3. # 5
lutsmi Accepted Answer
oh good, whren do you think will the plugin be ready?
this funktion is realy important for me ...:-)
  1. more than a month ago
  2. Features Request
  3. # 6
admin Accepted Answer
Admin
I think in the last quarter of the year. I am sorry that time is long, but we have many other priority features to implement.
  1. more than a month ago
  2. Features Request
  3. # 7
lutsmi Accepted Answer
ok, is it possible to create me the plugin with the funktion
field1 = field2 + field3
fielda = fieldb - fieldc
the alias an the operation i can change or add
If its not to much work ...
:-)
  1. more than a month ago
  2. Features Request
  3. # 8
admin Accepted Answer
Admin
Yes, it's simple, download the attached file and edit fields alias from /plugins/jsn/skeleton/skeleton.php ;)

Before edit you need to download,install and enable it from Extensions->Plugin Manager
Attachments (1)
  1. more than a month ago
  2. Features Request
  3. # 9
lutsmi Accepted Answer
hy and thanks ...
but the attached file seems to be the original??
THX
  1. more than a month ago
  2. Features Request
  3. # 10
lutsmi Accepted Answer
Hi again, i installed a user to my testsite, maybe you can help...

i only need:

field2 = user has to enter a number ex. "5"
field3 = user has to enter a number ex. "3"

field0 = shows automaticly the result = 8

Group an field are installed ...

i´ve created a super user and an extplorer for you ...

maby you like to helb me
THX
  1. more than a month ago
  2. Features Request
  3. # 11
admin Accepted Answer
Admin
Hi,
Field0 must be integer not delimeter.

You can set field0 to hide on edit profile and registration and show only on profile
  1. more than a month ago
  2. Features Request
  3. # 12
lutsmi Accepted Answer
Thanks again, but i dont find integer in the select box for field types ..:-(
  1. more than a month ago
  2. Features Request
  3. # 13
admin Accepted Answer
Admin
Yes sorry, Number type
  1. more than a month ago
  2. Features Request
  3. # 14
lutsmi Accepted Answer
I believe i give up ... i´ve done all tipps but it doesn´t work.
i´ve you hav enoght time , you can look on the plugin and my fields...

FTP is not nessecary - i´ve a joomla explorer in components ..

Thanks
  1. more than a month ago
  2. Features Request
  3. # 15
admin Accepted Answer
Admin
Hi,
these is some error on plugin, we have solved.

Also the plugin was disabled, we have enabled.

Now works, field0=field2*field3
  1. more than a month ago
  2. Features Request
  3. # 16
lutsmi Accepted Answer
Did you work on my site .. there it doesnt work.
:-(
  1. more than a month ago
  2. Features Request
  3. # 17
lutsmi Accepted Answer
is it maybe possible to send me the prepared php file, so that i´ve only the job to create the numeric fields ...
thx
  1. more than a month ago
  2. Features Request
  3. # 18
admin Accepted Answer
Admin
Hi,
sorry but you have re-installed skeleton plugin and you have overwritten my work!!!

I have rewrite the code (and tested). You can find PHP file here: /plugins/jsn/skeleton/skeleton.php

Now do a sum of field2 and field3 and put result into field0
  1. more than a month ago
  2. Features Request
  3. # 19
lutsmi Accepted Answer
Hi, that works perfect now.
Thanks a lot for your patience:-) ...
I saved the file now and can customize it for me...

Thanks again and have a nice day ...
regards
  1. more than a month ago
  2. Features Request
  3. # 20
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.