By Alex Ortner on Saturday, 09 January 2016
Posted in Technical Issues
Replies 1
Likes 0
Views 388
Votes 0
First of all, this is a great peace of software. I am super excited and testing non stope since days
It's so super intuitiv and structured coded that customizations are quite easy to achieve


So I want to do the follwong but don't know what would be the best way:

1) Add a stream entry if a certain custom field is changed
====================================================
I want to have a message in the stream not for all profil changes but just for certain fields (change of Address,Mail,Phone) with a custom message like "User changed his address to NEW ADDRESS"
I found the option to deactivate the profile changed message in general in the stream but

<blockquote>Q:</blockquote> How could I realize that function? With an App that checks new entries in the DB or with an Custom Field that pushes a message to the stream on the onEdit (onSave?) Trigger? Can you maybe recommend an example?

2) Add a custom view that survives component updates
====================================================
<blockquote>Q:</blockquote> Is it possible to add/push a additional view via in a new theme? I createt my own theme but had to add some customized views to directily to the component code. Understandably I don't want to lose this view/controler everytime I update the EasySocial Component. So I need some automated / semi automated way to copy the files back. What would be the best way to realise that?
A kind of app that copies the files back after the update? Do you have some ideas how to solve that elegant?

3) "In relation with ..." field
=========================
I would like to have a in relation with/family tree functionallity.
I found a forum entrie from May 2014 http://stackideas.com/forums/relationship-status-field
about that. Any news if this might be implemented.
<blockquote>Q:</blockquote> If I have to implement it myself would it be better as a app or a custom field, as I will need a new DB Table for the mapping, which also has to be installed via an app/custom field/plugin?

Thank you a lot for helpfull answers

Kind Regards

Alex
Hey Alex,

Thank you for the kind compliments Please find my response to your inquiries below:



1) Add a stream entry if a certain custom field is changed
====================================================
I want to have a message in the stream not for all profil changes but just for certain fields (change of Address,Mail,Phone) with a custom message like "User changed his address to NEW ADDRESS"
I found the option to deactivate the profile changed message in general in the stream but

<blockquote>Q:</blockquote> How could I realize that function? With an App that checks new entries in the DB or with an Custom Field that pushes a message to the stream on the onEdit (onSave?) Trigger? Can you maybe recommend an example?

You need to create an app that detects for changes. To do so, you need to hook to the method onUserProfileUpdate . When a user updates their profile, this method of your app will get called.


2) Add a custom view that survives component updates
====================================================
<blockquote>Q:</blockquote> Is it possible to add/push a additional view via in a new theme? I createt my own theme but had to add some customized views to directily to the component code. Understandably I don't want to lose this view/controler everytime I update the EasySocial Component. So I need some automated / semi automated way to copy the files back. What would be the best way to realise that?
A kind of app that copies the files back after the update? Do you have some ideas how to solve that elegant?

Unfortunately right now there is no way to add a new view without being overwritten.


3) "In relation with ..." field
=========================
I would like to have a in relation with/family tree functionallity.
I found a forum entrie from May 2014 http://stackideas.com/forums/relationship-status-field"> http://stackideas.com/forums/relationship-status-field
about that. Any news if this might be implemented.
<blockquote>Q:</blockquote> If I have to implement it myself would it be better as a app or a custom field, as I will need a new DB Table for the mapping, which also has to be installed via an app/custom field/plugin?

It's best to create a new custom field if you want to implement this on your own
·
Saturday, 09 January 2016 12:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post