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.

JS 4.1 | JS discussion module | only some groups available for selection

9 years 8 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. stable | JS discussion module

Choosing option 'group specific', 'latest discussion' or 'my discussions'
Trying to add groups, from which latest discussions should be retrieved
But, only some groups are available for selection. Others don't appear in the selection field.

STEPS TO REPLICATE:
1 Choosing option 'group specific', 'latest discussion' or 'my discussions'
2 Trying to add groups, from which latest discussions should be retrieved
3
4
5
RESULT
Only some groups are available for selection. Others don't appear in the selection field.

EXPECTED RESULT
One can see and make selections from all groups

BROWSER
Firefox, IE, Chrome

9 years 8 months ago
Licenses:

Hi, Randolph.

I confirm that issue on your site.

Please, upgrade to stable version of 4.1 and check if issue persist.


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

Hi Michal,

just upgraded, and see that it's the same with 4.1 stable.

Regards
Randolph

9 years 8 months ago
Licenses:

Hi, Randolph.

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
9 years 8 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

ACtually the behavior is not like that, that list of group wont be changed.. so if you choose my discussion or latest discussion, the system will ignore the group list selection.

I hope it will be clear.

thank you

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

Dear Dimas,

absolutely!

However, when choosing option "group specific", all groups should be available for selection.
But the module shows only some groups, while others remain invisible (although there are discussions).

Moreover, the option "latest discussions" is quite useless for us, because it doesn't respect privacy settings. When enabling it, discussions from private groups are visible to everyone. And there seems no way to change this behaviour in the module settings.

Hope this helps
Randolph

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

Hi,

That list modules on JS discussion is a bug, I already reported it.

thank you

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

Hi,

Here is the fix, open this file modules/mod_community_discussions/models/fields/jsgroup.php, find this code :

$groups = $model->getAllGroups(null, null, null, null, false,false, false);
replace to :
$db = JFactory::getDbo();
            $query = "SELECT * FROM ".$db->quoteName('#__community_groups')." WHERE ".$db->quoteName('published').'='.$db->quote(1);
            $db->setQuery($query);
            $groups = $db->loadObjectList();

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

Hi Dimas,

thanks for providing us with this solution. Now everyting works ;)

Best
Randolph

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