Hey there,
I am sorry for the delay of this reply,
Unfortunately that was not possible to create new rules to moderate photo upload at this point of time is because the current system only have moderation for event and group, the current moderation action do not available for photo yet.
If you really want to achieve this, you might have to do modify a lot of file to make this work :
- Create a new Easysocial photo pending listing page from backend (
include approve/reject/delete function), so that your moderator can approve/reject or delete it from backend.
- Add a new rule file for your photo moderation
- Upload photo function is under this controller file, you have to add the proper checking in this file update the photo state to pending value if photo moderation setting is enable
JoomlaFolder\components\com_easysocial\controllers\photos.php
LINE 268 uploadStory function
- Also you also need to update the SQL if the photo under moderation, this photo stream shouldn't appear on dashboard or group/event page.
JoomlaFolder\administrator\components\com_easysocial\models\stream.php
LINE 789 getClusterStreamData function
LINE 1330 getStreamData function
- Need to update the SQL here if the photo under moderation, it shouldn't show on the album page as well.
JoomlaFolder\administrator\components\com_easysocial\models\photos.php
LINE 378 getPhotos function