I need to set the published state of all uploaded images to 0.
This way admin can moderate all uploaded images.
Please tell me what line of code I need to change. Perhaps there is an option for this. There should be.
HI, Rajeev.
Thank you for contacting us.
No, sorry, there is no option for this. Imagine that your users will upload DOZENS of photos each hour... how you'll manage to moderate them?
Will you allow users to WAIT till their content is visible?
Such a solution will become a burden very soon.
I can't provide you with solution as we do not support customizations - please, read our Support Policy here:
www.jomsocial.com/support-policy
thanks for nothing.
I paid a lot of money for this and you cant even spend 5 minutes to ask one of the developer where I can change the code for this.
Shocking support and will get a no star vote on JED
HI.
I'm sorry to hear that.
I've tried to explain that this is not a matter of a simple change of code - this will be a huge change that will affect many elements.
And will be a core hack.
Core hacks are not recommended nor supported as they may not working with future JomSocial releases and/or cause issues that won't be not supported. Users with core files hack often refuse to upgrade their installation to keep those hacks and they are stuck with outdated and unsupported versions. Also, core hack will be overwritten during upgrade.
Yes, you've paid for support but we clearly stated what is covered in our Support Policy:
www.jomsocial.com/support-policy
I don't care.
I see that you are simply lazy and refuse to provide support to your users that will change any of your code because such a simple option wasn't thought about.
I've been developing joomla extensions since before Joomla was even called Joomla.
You are simply lazy developers.
Merav would have simply TOLD her developers to find it.
HI.
You're misjudging us to force us to fulfill your request.
I explained that core hacks are not supported the same as customizations.
[EDIT]
Your request will break JS functionality as the same function is used to handle avatars and covers. Unpublished images will cause layout breaks and lack of image elements.
EDIT 2]
I talked with Project Leader and our developer will check if he could provide you the code.
HI.
Add attached file to
/components/com_community/controllers/
The changes only replacing:
$photoTable->published = 1;
with
$photoTable->published = 0;
Disclaimer: we kindly warned of results of such a customization. Please, be aware that we do not support customizations and if it cause any unpredictable issues - we'll ask you to revert the changes and use original source.