Skip to:
Content
Pages
Categories
Search
Top
Bottom

Image preview from URL pasted within bbpress posts?


  • cacarlyle
    Participant

    @cacarlyle

    Hi there, first of all, sorry if this is something everybody knows, i did try to google it but came up with only things that aren’t the same as what i’m looking for.

    What i would like is for an image preview of some sort to come up within the post or reply, in bbpress, whenever somebody pastes a URL. Ideally it should only happen for the first URL in each post or reply, and ignore any subsequent URLs, but if that’s fiddly then just something that will generate previews for any URLs posted would be very helpful.

    Here is an example of it not happening: https://yesbook.scot/forums/topic/the-greatest-argument-of-all/

    That’s me posting an OP in my bbpress forum, and as you can see i pasted some text from a web page, and then a URL link to the page. Now what would be ideal is if the post also automatically showed a picture, drawn from the URL, inline within the bbprss post, in the same way that facebook pulls a picture in when you post a URL on their site.

    Is there a plugin that does this, or some simple tweak i can make to the config files of the site to make this happen? I’m not totally ignorant of how to use php and CSS but for the sake of argument, please assume that i am, because it isn’t far from the truth!

    Thanks in advance for any assistance you can provide.

    It is currently WordPress version 5.1 and bbPress version 2.5.14-6684
    I am using DI Business Responsive theme, though i don’t think that makes much difference for this particular question.

Viewing 14 replies - 1 through 14 (of 14 total)

  • cacarlyle
    Participant

    @cacarlyle

    Hello again, right well here’s a plugin that purports to do EXACTLY what I want… Except its for posts in WordPress, NOT for bbpress.

    URL-Preview-Box

    I feel like somebody here might know how to make this work in bbpress as well. I also feel like somebody must have already implemented this on their own forums and knows how to do it. Can anyone assist at all please? Thanks!


    cacarlyle
    Participant

    @cacarlyle

    You know what’s even more irritating is that when I pasted the link into my reply above, guess what happened… Yes, that’s right, the URL generated a PREVIEW with exactly the sort of information I want my own forum to generate whenever someone pastes in a URL.

    So THIS FORUM actually has the behaviour I want. Can someone please tell me how this is implemented and how a relative coding dunce such as myself can make this happen on my own forum? Thank you!


    Robin W
    Moderator

    @robin-w

    this site only does this for the wordpress and bbpress sites.

    I’ll take a look at the plugin above soon, but tied up with other stuff at the moment


    cacarlyle
    Participant

    @cacarlyle

    Thanks, @robin-w, much appreciated.
    I’ll continue to try to figure it out in the meantime (but really, my web-dunceness is a hindrance!)


    Robin W
    Moderator

    @robin-w

    if you do figure it, please post back and let me know before I duplicate effort 🙂


    Dale Reardon
    Participant

    @dalereardonmdm

    Did anyone figure this out?
    Also when an url is posted into a topic or reply I would love BBPress to automatically turn it into a link using the title of the referenced page as the anchor text – I have seen this done with plugins for BuddyPress but not BBPress.

    Dale.


    Dale Reardon
    Participant

    @dalereardonmdm

    Just found a plugin that does it for BuddyPress but presume it won’t work for BBPress out of the box:

    rtMedia Activity URL Preview


    Robin W
    Moderator

    @robin-w

    I see no reason why it shouldn’t – have you tried it?


    angrywarrior
    Participant

    @angrywarrior

    It only works in the BuddyPress wall feed. 99.9% certain that it is not compatible with BBpress. I’ve used it in a past project so I’m pretty certain.


    Robin W
    Moderator

    @robin-w

    thanks for the info


    Dale Reardon
    Participant

    @dalereardonmdm

    Hi all,

    I have now spoken with the devs of RTMedia plugin that I referenced above.
    They confirm it doesn’t work with BBPress at the moment but they have a focus on both BuddyPress and BBPress and said it was a good idea and will incorporate it into the next update of that plugin addon.

    So we will have a solution fairly soon.

    Dale.


    randrcomputers
    Participant

    @randrcomputers

    Funny reading this as i had to install Disable Embeds plugin to STOP the previews in bbpress/wordpress/buddypress as it made a mess to my format and overlapped everything.i can only assume my Kleo theme caused it to “work” in bbpress. So maybe try a different theme?


    angrywarrior
    Participant

    @angrywarrior

    No @randrcomputers???

    How about edit the css styling and get it right instead?

    Changing the theme will not make much difference. You need to custom code the css to fit things to your liking.

    If you do not know how to do that and code it yourself, then I suggest that you hire developer to help you code it.


    randrcomputers
    Participant

    @randrcomputers

    @angrywarrior
    For my site I didn’t want it and I was just commenting that I had to remove it with a plugin. That is all I was saying. I prefer just a link don’t need preview. That’s why I thought it was funny. Sorry didn’t mean to hijack your thread

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.
Skip to toolbar