WordPress.org

Ready to get started?Download WordPress

Forums

GD bbPress Attachments
[resolved] Check this if GD bbPress Attachment is NOT WORKING (5 posts)

  1. LNGU
    Member
    Posted 1 year ago #

    It could be just me but when I uncheck "Allow topics to have tags" from bbPress Setting, GD bbPress Attachments disappear.

    If nothing helps, please check this setting or try default setting of bbPress in order to troubleshoot. I spent hours figuring this out...

    I really appreciate the plugin, but I don't think Dev tested well. I could be wrong.

    http://wordpress.org/extend/plugins/gd-bbpress-attachments/

  2. ThemeCatcher
    Member
    Posted 1 year ago #

    The problem is that the hook this plugin uses to display the attachments form is not run if tags are disabled. You can easily change it to use a different hook that is always run. In code/attachments/front.php find these lines:

    add_action('bbp_theme_after_reply_form_tags', array(&$this, 'embed_form'));
    add_action('bbp_theme_after_topic_form_tags', array(&$this, 'embed_form'));

    change to:

    add_action('bbp_theme_before_reply_form_submit_wrapper', array(&$this, 'embed_form'));
    add_action('bbp_theme_before_topic_form_submit_wrapper', array(&$this, 'embed_form'));
  3. bennygill
    Member
    Posted 1 year ago #

    Hello,

    I'm having the same problem. Tags are generally useless bloat that most users never use, so I'd rather not have them activated. Causes a some SEO problems too.

    Can you please tell me where to locate that code? I looked at the plugin but cannot see any front.php file?

    Thanks,
    Ben

  4. geoffm
    Member
    Posted 1 year ago #

    It's in your plugins folder:

    wp-content/plugins/gd-bbpress-attachments/code/attachments/front.php

    I've just made the code changes and it seems to work fine. But I had to make the changes outside of wordpress, i.e. ftp to my server, copy the file to my local computer, then ftp it back. Making, of course, a copy of the original file, just in case I messed it up.

  5. Milan Petrovic
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed in 1.9.2.

    Uploader is now added at the end of topic/reply form.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.