Skip to:
Content
Pages
Categories
Search
Top
Bottom

Seeking Groups Conditional Template Tag Advice

  • Avatar of gswaim
    gswaim
    Participant

    @gswaim

    I am trying to set up a BuddyPress-powered site to deliver premium content to members of private groups. Most of the content will be available as links in a given group’s sidebar.

    It seems that the Widget Logic plugin is the best approach for a non coder, like myself. I have spent a fair amount of time with this plugin and I can tell it is going to work when I hit the right combination. I am soliciting advice from the BuddyPress gurus so I can get past this challenge quicker and get back to saving humanity :)

    Using Widget Logic, I can get a sidebar to show up for a given group at the “Join / Request to Join” page. But I don’t want to show the sidebar (remember – premium content is located here) until they are an actual member of the group.

    So, Which of this tags should I be using?

    bp_is_user_groups()
    bp_is_group()
    bp_is_group_home()
    bp_is_group_create()
    bp_is_group_admin_page()
    bp_is_group_forum()
    bp_is_group_activity()
    bp_is_group_forum_topic()
    bp_is_group_forum_topic_edit()
    bp_is_group_members()
    bp_is_group_invites()
    bp_is_group_membership_request()
    bp_is_group_leave()
    bp_is_group_single()

    Also, what is the syntax for specifying a specific group? I think you put the group’s name or number inside single quotes inside the parenthesis. If it is a group number, where is that? Is it the order they are created?

    Thanks in advance on any help with this!

You must be logged in to reply to this topic.