WordPress.org

Support

Support » Plugins and Hacks » GD bbPress Attachments » [Resolved] Check this if GD bbPress Attachment is NOT WORKING

[Resolved] Check this if GD bbPress Attachment is NOT WORKING

  • 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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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'));

    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

    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.

    Plugin Author Milan Petrovic

    @gdragon

    Fixed in 1.9.2.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Check this if GD bbPress Attachment is NOT WORKING’ is closed to new replies.
Skip to toolbar