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.

New Album Activity not deleted when album is.

11 years 2 weeks ago
  • Arthur's Avatar
    Topic Author
  • Arthur
  • Offline
  • Fresh Boarder
  • Posts: 70
  • Thank you received: 7
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired

This is an old bug that I recall reporting like 5 versions ago. It has appeared again in the newest one.

ISSUE SUMMARY:
When I delete albums (be it personal albums or group albums) the wall activity is not included with this action

STEPS TO REPLICATE:
1 Create and upload photos to a new album within groups
2 Confirm photos appear on activity walls of both the home page and group page
3 Delete album

RESULT:
Visit both the group and home activity walls. Images will still appear there. Click them and the modal window even shows them. But if you click to view album itself you go to a page saying, "You are not allowed to access this section."

EXPECTED RESULT:
I expect photos to not be viewed nor the albums they are in.

BROWSER:
Chrome

11 years 2 weeks ago
  • Arthur's Avatar
    Topic Author
  • Arthur
  • Offline
  • Fresh Boarder
  • Posts: 70
  • Thank you received: 7
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired

While I'm on this topic, do you mind answering this.....

Why after an album is deleted we are directed to the Multi Photo upload page instead of the album index page? That was the page we were on when we started. So why aren't we directed back to it?

Attachments:
11 years 2 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

I marked this issue as a bug..

Regarding redirect after deleted it should be redirected to the album list page, and its fine on my end.. I am not sure what happens on your site.. I suggest you create different topic.

thank you

11 years 2 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

This is the patch, open this file components/com_community/models/activities.php, find this code :

$additionalQuery = $db->quoteName('app') . ' like' . $db->Quote('%' . $app . '%');
replace to :
$additionalQuery = $db->quoteName('app') . ' like' . $db->Quote('%photos%');

find this code :
$status = $db->query();
replace to :
$status = $db->execute();

open this file components/com_community/tables/album.php, and remove this code :
CActivityStream::remove('photos', $this->id);

Cheers!

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