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.

Duplicate Groups apearing in "My Groups".

9 years 5 months ago
  • Dale's Avatar
    Topic Author
  • Dale
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Licenses:
JomSocial Active

ISSUE SUMMARY: We are seeing 3 duplicates of a group even tho there is only 1 group in the admin area for that group.


STEPS TO REPLICATE:
1 Login and got to "My Account"
2 Click on "Groups" under the profile banner
3 See all groups listed for the user.
4 I also see that the"Public" is overlapping on a link in the group listing page. See pics.
5
RESULT Duplicates 1 group 3 times in the group listing
EXPECTED RESULT Should only show 1 listing of that group
BROWSER Firefox 43.0.4

Attachments:
9 years 5 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Dale,

This issue caused by old Jomsocial version, this issue can be fixed on the latest version 4.1.4, so please you update your jomsocial to the latest version.

thank you!

9 years 5 months ago
Licenses:

Hi,

the issue from 3rd party extensions. but its hard to find what code causing it.
to tackle this issue I put extra code at:
/components/com_community/models/groups.php at line 291, change the code from

$extraSQL	= ' AND b.memberid=' . $db->Quote($userId);
to
$extraSQL	= ' AND b.memberid=' . $db->Quote($userId).' GROUP BY a.id';

Regards

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