[resolved] Restrict posts by group (4 posts)

  1. enidm
    Posted 4 years ago #

    I need to display only posts made by members of one group. Can this be done with Plugin Groups.


  2. itthinx
    Plugin Author

    Posted 4 years ago #

    "Display posts made by members of one group" ... publicly or to members of that group only?

    You can restrict access to posts by group membership, i.e. display posts to members of certain groups.

    If you want to restrict the posts that are displayed publicly to posts authored by members of a certain group, that can be achieved as well, but you would have to code that: using Groups' API to get information about the post author's membership to that group and hook into appropriate actions to limit access. If you want to do that, then you can take a look at how Groups restricts access to posts.

  3. enidm
    Posted 4 years ago #

    Do you know any api code to get the Member group id and then find all other posts from this Group?

  4. bhi.kara
    Posted 3 years ago #

    could not find new topic post, so posting here, sorry enidm,

    hi ittinx,
    i just followed your screen shots and tryed out content visibility
    using the groups,
    i created a group resellers
    created a post, gave the short codes as you said

    1. its not working for the images, and for normal text also,
    2. when i did see, how the text/images, who are supposed to be hidden and popping up on to the top of page,
    3. the one now ur seeing is, trying to hide the text, earlier i tryed to hide the pic, even the pic was popping up like this above


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Groups
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic