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.

Fix for groups module not working ... only 1 featured showing up

10 years 10 months ago
  • Randolph's Avatar
    Topic Author
  • Randolph
  • Offline
  • Junior Boarder
  • Posts: 126
  • Thank you received: 13
Licenses:
JomSocial Active Socialize Expired

ISSUE SUMMARY:
JS 4.1.3

Applied new fix for groups module, but module displays only 1 featured group out of many.
Also cleared cache, without effect.

STEPS TO REPLICATE:
1 applied fix ( www.jomsocial.com/media/kunena/attachmen...modules-featured.zip )
2
3
4
5
RESULT
Module shows only 1 featured group irrespective of the settings in the group module

EXPECTED RESULT
Module should show all featured groups

BROWSER

Firefox Chrome

10 years 10 months ago
Licenses:

Hi, Randolph.

I've just tested this fix on my test site and it works 100%.
Please, make sure that you applied patch correctly.
Also check module settings.


- 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 10 months ago
  • Randolph's Avatar
    Topic Author
  • Randolph
  • Offline
  • Junior Boarder
  • Posts: 126
  • Thank you received: 13
Licenses:
JomSocial Active Socialize Expired

Hi Michal,

followed exactly the description. But doesn't work on my side.

Sorry!

This fix even made it worse. Before applying the fix all featured groups were properly displayed on the JS community main page. Problem was that the module didn't work on other Joomla pages (if placed outside JS community pages an empty message appeared "no groups created yet").

Now, even inside the JS community only 1 featured group is displayed.

But of course, you can test yourself.

Best
Randolph

10 years 10 months ago
Licenses:

Hi, Randolph.

Your case seems to be a bit different.
it seems like module went crazy as when I've set "my groups" it shops more than one but... they are not actually "my".
I assign developer to this thread.


- 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 10 months ago
  • Randolph's Avatar
    Topic Author
  • Randolph
  • Offline
  • Junior Boarder
  • Posts: 126
  • Thank you received: 13
Licenses:
JomSocial Active Socialize Expired

Hi Michal,

facing these issues I decided to go back to the original 4.1.3 files. Following your advise I had renamed the original files before applying the fix.

But surprise surprise, after rollback of the original files also those don't work anymore. When selecting "featured groups" in the groups module I now get "no groups created yet".

Cleared all cache, but no chance to get back the initial state.

Any advise?

Randolph

10 years 10 months ago
  • Randolph's Avatar
    Topic Author
  • Randolph
  • Offline
  • Junior Boarder
  • Posts: 126
  • Thank you received: 13
Licenses:
JomSocial Active Socialize Expired

Played a bit with the module settings, and discovered that if I enter a larger number such as "120" the featured groups are being displayed!

Hope this helps
Randolph

10 years 10 months ago
Licenses:

Hi,

its strange issue. could you please provide me FTP access detail by editing your first post at this topic?
put it at site info form (private). I need it for debugging purpose.

Regards

10 years 10 months ago
  • Randolph's Avatar
    Topic Author
  • Randolph
  • Offline
  • Junior Boarder
  • Posts: 126
  • Thank you received: 13
Licenses:
JomSocial Active Socialize Expired

Hi Albertus,

provided ftp credentials in initial post.

Hope this helps
Randolph

PS: Here's another observation: the number of featured groups displayed is varying with the login status. Logged in users see less featured groups than visitors.

10 years 10 months ago
Licenses:

Hi,

its a bug. for temporary fix I did this:
/modules/mod_community_groups/mod_community_groups.php at line 34 I changing the code from

$tmpGroups = $model->getAllGroups(null, null, null, null, true, false, false);
to
$tmpGroups = $model->getAllGroups(null, null, null, 1000, true, false, false);

Regards

The following user(s) said Thank You: Randolph
10 years 10 months ago
  • Randolph's Avatar
    Topic Author
  • Randolph
  • Offline
  • Junior Boarder
  • Posts: 126
  • Thank you received: 13
Licenses:
JomSocial Active Socialize Expired

Hi Albertus,

thanks a lot. Seems to work now.

Best
Randolph

10 years 10 months ago
  • Randolph's Avatar
    Topic Author
  • Randolph
  • Offline
  • Junior Boarder
  • Posts: 126
  • Thank you received: 13
Licenses:
JomSocial Active Socialize Expired

Issue returned with update 4.1.4

Like before the module now returns "no groups created yet" if "featured" is selected.

Applied your temporary fix, which brought featured groups back. However, the groups now are ordered somewhat differently to version 4.1.3.

Best
Randolph

10 years 10 months ago
Licenses:

Hi,

about featured group issue at groups module still not fixed yet in officially.
if you got other issue about group ordering. please open new topic for that.

I will let you know if this bug has been fixed in officially.

Regards

10 years 9 months ago
Licenses:

Hi,

this bug has been fixed and will be included at jomsocial 4.1.5
here the fix:

This attachment is hidden for guests.
Please log in or register to see it.

unzip and put the files at:
/components/com_community/models/groups.php
/modules/mod_community_groups/mod_community_groups.php

Regards

This message has an attachment file.
Please log in or register to see it.

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