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.

Unable to Set Cover Photos for Groups and Events

10 years 10 months ago
Licenses:
JomSocial Active iSEO Active Socialize Active

Hello,

On our site, we are unable to set the Cover photo for Groups and Events. When users click Modify Cover on a Group or Event Page, the dialog pops up, allowing users to select from either an existing album or Upload a photo. When we select Upload photo, the photo and the thumbnail also gets uploaded to the \images\cover folder. However, after that, nothing really happens and users have to manually close the select Photo dialog.

Strangely, this is happening only for the Groups and Events pages. On the Profile pages, this seems to be working well.

Can you please help us identify the issue?

Thank you
Warm regards

10 years 10 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Praveen,

You are using old Jomsocial version, please you update it to the latest first and use Jomsocial default template, this issue maybe come from that old version and your ja_social template.

thank you

10 years 10 months ago
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi Dimas,

Thank you for the response. We are in the process of upgrading to the latest version. Unfortunately, our developers will need to do a detailed impact analysis, as we have modified a few source files (only the look-n-feel). So the typical Uninstall-Re-install method won't work for us.

Plus, we used the JA_Social template because it was promoted as one of the best templates for Jomsocial, in the Addons section of this site. Our choice of template, to a great extent, was based on the write-up on the Jomsocial site. It is therefore, not possible to move away from JA social at this time. However, I have renamed most of the template files and we are using the default Jomsocial template .php files for the Groups and Events functionality (If you FTP to the server, you will notice that all .php files for groups and events under /akjn/components/com_community/templates/ja_social have been renamed to .old. There is also no override file in the ja_social/html/com_community folder.

In addition, the same functionality works like a charm in the Profile cover upload. While uploading the Group and Events covers, the file is also being uploaded to the /images/cover/group folder on the server. Things are not progressing from there on.

I understand this may be beyond the scope of your standard support. Our developers will do the needful. What we are unable to get at is the specific source of the problem. If you could provide some hint and/ or insights into this, we will take it from there. I am sure Group / Cover upload functionality is not a confirmed bug in 3.1.1 (the version we are using). So until we upgrade to 3.2, which might take some time, we really need to get this going, as we have an investor presentation lined up.

Request your help and understanding, please.

Thank you
Warm regards

10 years 10 months ago
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi Dimas,

We managed to resolve the issue. The 'cover' field is missing from the _community_groups and _community_events tables. After adding the two fields to the database, with the following queries, the uploads work like a charm. This was not a template issue, but a database issue. I also noticed that the SQL file shipped with 3.1.1 as well as 3.2 version of Jomsocial, does not have the 'cover' field listed in the Create table statements. You may want to inform your developers to fix this.

ALTER TABLE `_community_events` ADD `cover` VARCHAR( 100 ) NOT NULL;
ALTER TABLE `_community_groups` ADD `cover` VARCHAR( 100 ) NOT NULL;

Thank you
Best regards

Praveen

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