By James on Saturday, 16 February 2019
Posted in General Issues
Replies 3
Likes 0
Views 526
Votes 0
Is it possible to force the user to take certain actions when creating a stream post? For example, require them to add a Location? Or an emotion?

James
Unfortunately currently that is no setting to force user required to add those info before submit stream post.
·
Saturday, 16 February 2019 10:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Arlex, given your understanding of the code behind these applications does it seem like this would be something easily achieved with some rewritting of the code?

James
·
Tuesday, 19 February 2019 01:29
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.

Based on what I checked, you can apply some Javascript code to check whether the story form got insert location or emotion or not from this js file JoomlaFolder/media/com_easysocial/scripts/site/story/story.js https://take.ms/xy2v7

Since the custom code have to apply under Javascript file then you have to do the recompile all the Javascript files in Easysocial then replace to this minified js file. JoomlaFolder/media/com_easysocial/scripts/site-3.0.3.min.js , so it will only take effect.
·
Tuesday, 19 February 2019 12:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post