You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon browsing to the "Network" page, the "Create new group" button was not visible.
Clicking on the "Groups" link under the "Circles" box did not give any of the possibilities described in the documentation.
(I guess that's because User groups aren't circles but instead "Community accounts")
The "Create new group" button on the Network page only displays when the account is already a member of at least one group.
I think this is because of the code in src\Content\GroupManager.php, line 125
if (DBA::isResult($contacts)) {
The DBA::isResult() function checks if the result contains at least one result.
If there are no results then the whole widget, including the add group button, is not rendered.
Steps to Reproduce
Create an account and login
Go to the Network page
No add group button is visible
Go to the "Settings" of your account
Click "manage accounts"
Register an additional account
Switch to that additional account, go to the settings and change the advanced account type to "community group"
Switch back to the parent account
Follow the community account you just created (if the follow request needs approval, switch back to the community account and approve it, after approval switch back to the parent account)
In the parent account go to Network, the group widget will now appear together with the "create new group" button
Bug Description
I wanted to test the "User group" functionality in Friendica.
I did so based on this Documentation entry: https://wiki.friendi.ca/docs/groups-and-privacy
Upon browsing to the "Network" page, the "Create new group" button was not visible.
Clicking on the "Groups" link under the "Circles" box did not give any of the possibilities described in the documentation.
(I guess that's because User groups aren't circles but instead "Community accounts")
The "Create new group" button on the Network page only displays when the account is already a member of at least one group.
I think this is because of the code in src\Content\GroupManager.php, line 125
if (DBA::isResult($contacts)) {
The DBA::isResult() function checks if the result contains at least one result.
If there are no results then the whole widget, including the add group button, is not rendered.
Steps to Reproduce
Platform Info
Friendica Version: Friendica 'Yellow Archangel' 2024.03 - 1557
PHP version: 8.1.24
The text was updated successfully, but these errors were encountered: