Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to stop Topic Creation for Groups


  • magicvish
    Participant

    @magicvish

    Hey All,

    We need some urgent help,

    We have groups on our learning platform, and we would like TOPIC CREATIONS to be closed for members.

    We want to close topic creations. as we want members to only reply back to to TOPICS ALREADY CREATED by us.

    This is with Groups and not BBPress Forums, Please help we are stuck on this, is their any css that will stop this, please see.

    View post on imgur.com

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

  • sharmavishal
    Participant

    @sharmavishal

    i think buddyboss people would help u more on this as its their theme


    magicvish
    Participant

    @magicvish

    hey they said i should contact buddypress


    sharmavishal
    Participant

    @sharmavishal

    forum.php of your theme file in child theme which u are using and remove

    <?php post_form(); ?>

    also edit, in both forum.php and front-page.php

    <th><?php _e(‘Topic’); ?> — <?php bb_new_topic_link(); ?></th>

    to become

    <th><?php _e(‘Topic’); ?></th>


    r-a-y
    Moderator

    @r-a-y

    We want to close topic creations. as we want members to only reply back to to TOPICS ALREADY CREATED by us.

    This is with Groups and not BBPress Forums

    You mention you want to close topic creations, but you are not using bbPress forums. Can you post a screenshot of what you are referring to? Are you talking about the activity post form?


    magicvish
    Participant

    @magicvish

    Hey no we are using buddypress groups

    View post on imgur.com

    thank you


    magicvish
    Participant

    @magicvish

    Hey @sharmavishal

    “forum.php of your theme file in child theme which u are using and remove

    <?php post_form(); ?>

    also edit, in both forum.php and front-page.php

    <th><?php _e(‘Topic’); ?> — <?php bb_new_topic_link(); ?></th>

    to become

    <th><?php _e(‘Topic’); ?></th>”

    it is not forums though


    buddycore
    Participant

    @buddycore

    @sharmavishal what @magicvish said but instead of removing you could check groups_is_user_admin() and show form if true.


    magicvish
    Participant

    @magicvish

    Hey, awesome @buddycore, how do i do this and where will i need to input as i am not a coder.

    Thank you


    sharmavishal
    Participant

    @sharmavishal

    magicvish its the forum….you want to stop users from creating new topic in a forum!!! this forum is via bbpress and gets attached to bp groups

    so either modify the templates i told u or as buddycore told u


    magicvish
    Participant

    @magicvish

    hi it is not the forum as https://buddypress.org/about/groups/
    if we restrict topic creations in forums it will stop it in forums

    we just would like topic creations in groups

    @sharmavish and @buddycore


    sharmavishal
    Participant

    @sharmavishal

    Would suggest u hire buddycore if he’s willing that would help


    magicvish
    Participant

    @magicvish

    hi, so what code do we need to put down @sharmavishal @buddycore

    groups_is_user_admin() and show form if true.


    buddycore
    Participant

    @buddycore

    @sharmavishal I hear you. @magicvish If you can’t work this out (we’ve given you some good help) you should probably pay someone who can.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Skip to toolbar