Your cart is currently empty!
Finding Users within a Group or Forum tree
—
by
Hi Antonio,
I have been looking through the documentation (and the search which is pretty useless) and I cannot find any shortcode or API that allows me to find all the users within a group, or set of groups below a single selected group.
Same applies to finding users in a forum, or set of forums who are children to a forum.
1 This is important to my project, as I must have the ability to constrain access to users by either their membership in a group or a forum. Alternatively, can a report or CSV be generated to list users in a group?
2 Can I set permissions to allow a parent group to give access to a child group etc?
3 is there an API that provides access to the set of user data in PHP defining the users in a selected group or forum. If so I can take it from there.
If there is no such thing, how much would it cost to get it?
Finally, what are the benefits of the ITTHINX forum against the BBPress forum which I have operational?
thanks
Phil
Comments
9 responses to “Finding Users within a Group or Forum tree”
Couple of related questions:
1. Is there an API that we can all to determine which users are in a Group ?
2. Is there an API to create, add, delete a user from a group ?
3. Is there the concept of an owner of a group ?
Hi Mark,
To not mix subjects in the same topic, answered on this.
Thanks,
Antonio B.
Thanks for the shortcode ( https://github.com/itthinx/groups-list-users ) you can list the users on a group.
I downloaded it, but I don’t know how to get it to work. I have placed the php into the wrong location probably.
Please provide detailed steps to implement the shortcode. I have placed it into a page:
https://contemplativefire.net/lisn/pm_groups/
and as you can see, it just shows up as code, not implemented.
help please!
Phil
Hi Philip,
Be careful, they’re underscores, I think that’s the mistake. The shortcode is: [groups_list_users group=”Anglican”]
Kind Regards,
Antonio B.
Hi Antonio,
No that is not the mistake, i originally used that shortcode with underscores and it didnt work so i tried with hyphens as in the php, and that didnt work either. It is https://contemplativefire.net/lisn/pm_groups/ now back to underscores, and still not working.
I believe, as I said, that the problem is about where to put the PHP code for the shortcode.
Can you please give detailed steps to implement the shortcode.
Otherwise, if you wish to gain access to my site to fix it, I can provide that.
thank you.
Phil
Hi,
You can execute shortcode with php using the do_shortcode function.
Kind Regards,
Antonio B.
Hi Antonio,
I have now purchased the Groups Import Export plugin , thank you
I am still none the wiser about forums, as the blog was just about speed, and i am looking for a functional comparison. Is there a demo of the Groups Forum I can look at or play with?
Thanks
Phil
Here you have a demo: http://demo.itthinx.com/gf/
cheers
Hi Philip,
With this shortcode ( https://github.com/itthinx/groups-list-users ) you can list the users on a group.
1.- With Groups Import Export plugin you can import users from a csv file.
2.- If a post/page/forum is restrcited to a group_A, then only the users on this group_A or group_A_1/group_A_2… (children of group_A) can access to this post/page…
3.- You can use this code as reference, also you have available the Groups API and this WordPress codex.
Here you have a comparison between different systems of forums.
Kind Regards,
Antonio B.