Skip to:
Content
Pages
Categories
Search
Top
Bottom

Lightbox for bbPress?


  • EJMorges
    Participant

    @pressoblivion

    Hi,
    I would like to add a lightbox feature to the bbPress message board. Is there a pluggin that works with the current version 2.2.3.  or is there a way that I can make the lightbox pluggin that I have for WordPress work within bbPress somehow?

    GDtools is a great pluggin that has a built in lightbox feature but it ads the images separate from the actual post and this isn’t the best technique for creating articles within bbPress.

    Thanks,

    EJ

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

  • Lynq
    Participant

    @lynq

    You should be able to install a standard lightbox or thickbox and then look for images that reside inside the forum containers and then call the lightbox on them using jQuery. Shouldn’t be too difficult.

    Have you implemented a lightbox yourself before without a plugin?


    EJMorges
    Participant

    @pressoblivion

    I have Light Box Plus installed. I’m not a developer, I haven’t tried to implement anything like that on my own. You make it sound easy but for someone like me I’m sure that it’s not. :D


    Lynq
    Participant

    @lynq

    What you can do is add the current lightbox you have installed to a specific element on your site.

    For example, something like this inside script tags in your theme, or inside a js file:

    jQuery(“.bbPress .bbpress-forums img”).lightbox();

    This does depend on your theme though, might be easier if you could post a site link?

    Good luck!


    EJMorges
    Participant

    @pressoblivion

    Thanks Lynq,

    http://www.pressoblivion.com
    Theme: Custom Comunity

    WordPress: 3.5

    bbPress: 2.2.3


    Lynq
    Participant

    @lynq

    Here is what is on the home page.

    http://pastebin.com/hw3svPP5

    Here is what is on your forums.

    http://pastebin.com/q0PzuM4T

    So you need to link the image on the forums to the full sized image, if that makes sense?


    EJMorges
    Participant

    @pressoblivion

    Nope its doesn’t make sense, but I’ll figure it out. :)

    Thanks for your help, much appreciated.

    EDIT:  I think I know what to do here. . . I’ll get back to you.

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

You must be logged in to reply to this topic.