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.

Videos & photos location change

10 years 11 months ago
  • anand's Avatar
    Topic Author
  • anand
  • Offline
  • Junior Boarder
  • Posts: 101
  • Thank you received: 0
Licenses:
JomSocial Active AdAgency Expired Socialize Expired

Hi All,

we found we have more than 100 gb pics n videos in the images folder & we see the hard disk size is reducing how do i move to new hard disk location without affecting the site.

Note: i see original photos & original vidoes directory growing is it safe to delete this folders

thanks
anand

10 years 11 months ago
Licenses:

Hi, Anand.

You should enable: Delete Original Videos -> YES in Videos settings in backend.
Yes, it should be safe to remove those files.

You can't change folder with photos or videos. If you do that you'll need to rebuild whole storage system in JomSocial (core files hacks) and your database (to fix paths).


- 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
10 years 11 months ago
  • anand's Avatar
    Topic Author
  • anand
  • Offline
  • Junior Boarder
  • Posts: 101
  • Thank you received: 0
Licenses:
JomSocial Active AdAgency Expired Socialize Expired

You should enable: Delete Original Videos -> YES in Videos settings in backend.
Yes, it should be safe to remove those files.


Yes i did that already

You can't change folder with photos or videos. If you do that you'll need to rebuild whole storage system in JomSocial (core files hacks) and your database (to fix paths).

how to do it ?

10 years 11 months ago
Licenses:

anand wrote: You can't change folder with photos or videos. If you do that you'll need to rebuild whole storage system in JomSocial (core files hacks) and your database (to fix paths).

how to do it ?


By hiring a developer: www.jomsocial.com/jomsocial-developers :D
And now seriously ;) I'm sorry but I can't provide you with a solution regarding "how to rebuild storage system". This is HUGE customization that requires php/html/sql skill... and of course a lot of core hacks. We don't support such a major changes in JomSocial code.
Please read our support policy: www.jomsocial.com/support


- 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
10 years 11 months ago
  • anand's Avatar
    Topic Author
  • anand
  • Offline
  • Junior Boarder
  • Posts: 101
  • Thank you received: 0
Licenses:
JomSocial Active AdAgency Expired Socialize Expired

So you mean that entire jomsocial framework or architecture is not designed in good way & soon it will see end of life & tell me where does the videos photos store after the conversion ?

Hiriing a developer is not a problem & even they are not expert enough to know about jomsocial when your own developers unable to solve this simple path problem

thanks
Anand

10 years 11 months ago
Licenses:

Hi, Anand.

Converted videos are stored in ROOT/images/videos

You described your "Knowledge Level" as "Please explain everything to me very carefully". So how can you say "architecture is not designed in good way" or "simple path problem"?

In most extensions files are stored in "media" or "Images" folders ("images" folder is better as admin has access to it via backend). Then paths to files are saved in database. This is COMMON practice. Files have to be stored somewhere...

Changing existing functionality is not as "SIMPLE" as you think. system stores files, photos, covers, avatars, videos. So every function that stores or converts a file need to be changed to match new storage filesystem and data base path saves. And this is not all. In addition there are functions for Zencoder and Amazon S3 services so files can be converted saved and/or moved.

This change includes DOZENS of file to hack... core files hack. This means that if you want to upgrade your community you'll have to make save copies and restore customized files after EACH update! And if in files will be new features or bug fixes? Then you miss all of them and your system could even be broken for good.

But ask developer first if you don't trust my words... :)


- 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
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