Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post sticky in all group forums with one topic


  • sfjones1965
    Member

    @sfjones1965

    I have been searching and looking through plugins and haven’t found an answer.
    What I am trying to do is create a sticky post and have it post in all my group forums with out having to do each forum individually. Currently if I create a post it allows a drop down and a choice of one group forum. Is there a way to do all groups with one post?

Viewing 6 replies - 1 through 6 (of 6 total)

  • Tammie Lister
    Moderator

    @karmatosed

    ‘Out of the box’ things are sticky in their own forums. You could start with this discussion though:

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-keep-the-sticky-posts-at-the-top/

    I’d recommend you don’t hack core files though and pull it out into a bp-custom.php file.

    https://codex.buddypress.org/extending-buddypress/bp-custom-php/


    sfjones1965
    Member

    @sfjones1965

    Well maybe to clarify. Lets say my site has 50 groups and I want to post a “Please read first” topic in all 50 groups without having to individually post in each group. Basically my site is going to cover all 50 of the States in the US with sub-groups of major cities within those States. I am looking for a way to post in every group forum with one single post.


    r-a-y
    Keymaster

    @r-a-y

    Unfortunately, this isn’t possible by default; it would require custom development.

    The easiest way to achieve what you want is to create one group forum topic in a specific group. Then, modify your group forum template (/groups/single/forum.php or /forums/forums-loop.php depending on where you want the link displayed) to manually add a link to this topic.


    sfjones1965
    Member

    @sfjones1965

    Well darn. This would definitely be a great Administrator option as an addition to a plugin. I am amazed that this hasn’t been pursued before. Being able to notify all groups with a topic/message in their respective forums would be awesome. Even the option for administrator to see in the drop down group menu when posting an “ALL” tab that would post to all of them.


    raphadko
    Participant

    @raphadko

    Have you had any success with this? I am also looking for it.. My solution for now is to create a ‘Read this first’ page, not a topic post.


    @mercime
    Participant

    @mercime

    @raphadko aas r-a-y mentioned above, it would require custom development.

    Simplest way to add a notice is to create a function where you can add/revise the announcement/s and hook it into `do_action( ‘bp_before_group_forum_content’ );`
    OR
    copy over https://buddypress.trac.wordpress.org/browser/tags/1.6.1/bp-themes/bp-default/groups/single/forum.php into your theme folder wp-content/themes/yourthemefolder/groups/single/forum.php and add/style announcement on line 2 or line 4 of that file. It will show up in all group forums but won’t show up in Forums Directory list of topics.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post sticky in all group forums with one topic’ is closed to new replies.
Skip to toolbar