Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

How to increase limit of 8 images for 1 patch upload

11 years 1 month ago
  • Phu's Avatar
    Topic Author
  • Phu
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Licenses:
JomSocial Active GURU Expired Socialize Expired

Hello all,
Please help, I'm using JS 4.09 and I would to to increase the upload limit of 8 photos per 1 patch on the stream to perhaps 12 but couldn't find where the setting is for this or if it's possible?

Many thanks.

11 years 1 month ago
Licenses:

Hi, Phu.

There is no setting to control this. Only 8 photos are allowed to upload at once in postbox.
If you want to upload more at once - then upload them directly in album.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
11 years 1 month ago
  • Phu's Avatar
    Topic Author
  • Phu
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Licenses:
JomSocial Active GURU Expired Socialize Expired

Thank you Michal. What about hacking the code? Is it possible?

11 years 1 month ago
Licenses:

Hi, Phu.

Core hacks are not recommended nor supported as they may not working with future JomSocial releases and/or cause issues that will be not supported. Users with core files hack refuse to upgrade their installation to keep those hacks and they are stuck with outdated and unsupported versions.

So yes it could be done by core hack in postbox scripts... but you'll be on your own in this case.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
11 years 1 month ago
  • Phu's Avatar
    Topic Author
  • Phu
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Licenses:
JomSocial Active GURU Expired Socialize Expired

Great Michal, thank you! I've got that and willing to do it because it is important that the the site must be able to post more than 8 photos in 1 batch.

Basically, I needed to be able to duplicate our WeChat's Moments on our website, and very often WeChat Moments have 9 photos in one post.

Please can you tell me which file and where it is and which code needed to be modified? Many thanks.

11 years 1 month ago
Licenses:

Hi, Phu.

Open JOOMLA_ROOT/components/com_community/assets/release_32/js/bundle.js with text editor, and find these strings below:
- "this.preview.pics.length>=8"
- ".length>8"
- ".length-8"

There should be only one match per string. Change the value (8) with desired upload limit per batch (9, 12, etc). Max upload limit should have changed now


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Phu
11 years 1 month ago
  • Phu's Avatar
    Topic Author
  • Phu
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Licenses:
JomSocial Active GURU Expired Socialize Expired

Sorted, working just the way I wanted it! Thank you Michal!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW