Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allow anonymous users to add topic tags

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

  • Robin W
    Moderator

    @robin-w

    as far as I know they can – link to your site please


    pzod5
    Participant

    @pzod5

    Is there a way I can share my URL privately?

    I was able to get the form to show by altering form-topic.php, but it doesn’t register the tags after submitting it. Assuming it’s because ‘assign_topic_tags’ is not set anywhere for anonymous. Works fine for logged in users.


    Robin W
    Moderator

    @robin-w

    if you amend form-topic – then change this line

    <?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags', bbp_get_topic_id() ) ) : ?>

    to

    <?php if ( bbp_allow_topic_tags() ): ?>


    pzod5
    Participant

    @pzod5

    Thank you for your help. Unfortunately, that doesn’t work. The topic gets submitted but without topic tags. I think user caps get checked somewhere else, as it works with any role including custom ones.

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