[Resolved] BUG: when pasting #reply URL in reply

Home Forums Support [Resolved] BUG: when pasting #reply URL in reply

Home Forums Support BUG: when pasting #reply URL in reply

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #204821
    Max

    Hey Tom.

    I have just found a bug when using BBpress and GP theme. I will replicate it in a second post below so that you can see the effect.

    Details:

    If you right click on the (reply #number) in the top right of a topic reply, you can then click to copy link address.

    If you then paste this address into a new reply form and submit, the result is a screwed up blockquote of the Topic name and some random graphics.

    On my local host installation it also causes screen flicker in a loop.

    I discovered this when trying to look for a quote replies solution.

    Any chance we can do something to block/stop it.

    Kind Regards

    Max

    #204822
    Max

    Test: https://generatepress.com/forums/topic/bug-when-pasting-reply-url-in-reply/#post-204821

    • This reply was modified 7 years, 9 months ago by Tom.
    #204929
    Tom
    Lead Developer
    Lead Developer

    Interesting, it seems to be the WordPress 4.4 content embed feature.

    If you add some text before the link, then it doesn’t happen (edited your post above).

    Hopefully bbPress fixes this in their next update.

    BTW, I definitely don’t hate you! 🙂

    #205028
    Max

    Hey Tom

    Thanks for your prompt reply.

    Ok. So the problem is coming from BBpress not GP.

    I will post the bug on the BBpress site. Is it ok if I link to this topic?

    Kind Regards

    Max

    #205102
    Tom
    Lead Developer
    Lead Developer

    Sure – I’m not sure if it’s bbPress directly, seems to be a combination of bbPress and the WordPress 4.4 content embeds.

    #205773
    Max

    I have found this plugin:

    https://wordpress.org/plugins/disable-embeds/

    If I install it will that mean that my users can no longer embed media such as youtube, vimeo etc??

    Kind Regards

    Max

    #205785
    Tom
    Lead Developer
    Lead Developer

    It will stop WordPress from converting the URL to things like youtube videos into the actual video.

    Currently, you can just add your youtube URL into your post, and WP will turn it into the embed.

    With the above plugin, it will just show the URL.

    #205792
    Max

    The option to uncheck embed is already available in the back end of BBpress at: settings/forum/auto-embed links.

    So the plugin I linked to doesn’t really have anything to offer (other than stopping embeds in WP).

    Another ham-fisted way around this bug it to use the css:

    .bbp-reply-header a.bbp-reply-permalink {display:none}

    (which by the way bbpress have done on their forums)

    The downsides are:

    1. no numbering reference on replies if someone want to quote or link to old reply.
    2. In front end profile/replies no link on each reply to take user back to relevant thread.

    What do you think is best: display or not display?

    #205858
    Tom
    Lead Developer
    Lead Developer

    I think it’s really preference – no right or wrong way.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.