WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. FreeWPress
    Member
    Posted 9 months 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??

    Thanks...

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

  2. FreeWPress
    Member
    Posted 9 months 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
    Member
    Posted 9 months 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:
    From

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

    at

    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:

    From

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

    at

    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?

    Thanks…

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.