GD bbPress Attachments
[resolved] Edit first post on topic and add image, do not show in post (3 posts)

  1. FreeWPress
    Posted 2 years ago #

    Hi, admin and users can't add image on firs post when edit.. Image is being uploaded on media, but in anything is showed in post.. It works fine for the other post in topic.. It is only first post...

    Have idea for this issue? Is only my problem??



  2. FreeWPress
    Posted 2 years ago #

    I confirm...!! Attachments not show in first post.. and i have also gdbpress signature and not show signature... Problems are only in first post, for other post below is all ok!!

    No signature and no attachments in first post!!

  3. FreeWPress
    Posted 2 years ago #

    In my case problems is located in add_filter i have changed in signature and attachments like this:

    i have modified this for attachments:

    add_filter('bbp_get_reply_content', array(&$this, 'embed_attachments'), 100, 2);
    add_filter('bbp_get_topic_content', array(&$this, 'embed_attachments'), 100, 2);


    add_filter('bbp_get_reply_content', array(&$this, 'embed_attachments'), 10, 2);
    add_filter('bbp_get_topic_content', array(&$this, 'embed_attachments'), 10, 2);

    and this for signature:


    add_filter('bbp_get_topic_content', array(&$this, 'reply_content'), 10000, 2);
    add_filter('bbp_get_reply_content', array(&$this, 'reply_content'), 10000, 2);


    add_filter('bbp_get_topic_content', array(&$this, 'reply_content'), 99, 2);
    add_filter('bbp_get_reply_content', array(&$this, 'reply_content'), 99, 2);

    Now it work for first topic and all other replies… I don’t know why i have this issue, but for future upgrade of your excellent plugin is possible to look if have this problems??

    Another question… If you do not change this value for future version, is possible to set this value in my custom function.php? If yes.. How?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GD bbPress Attachments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.