WordPress.org

Forums

BuddyPress Activity Plus
[resolved] lightbox not working in wp 3.9 (4 posts)

  1. pathuri
    Member
    Posted 1 year ago #

    After upgrading to WP 3.9,
    Instead of opening attached images in lightbox,
    images are opening in a separate window with full size.
    Any solution to this problem.

    https://wordpress.org/plugins/buddypress-activity-plus/

  2. David
    WPMU DEV Support Staff
    Posted 1 year ago #

    Hi @pathuri,

    Greetings and thanks for posting! Sorry you've had trouble there, I can't seem to replicate that in my test site.

    Have you tried deactivating other plugins (except BuddyPress of course) and switching to a default theme to see if there's a conflict among them?

    Could you try that if not? That'll help us to know if there's a conflict, which we could then look into.

    Thanks,
    David

  3. pathuri
    Member
    Posted 1 year ago #

    Finally got it solved.
    I saw your earlier post, where in, you mentioned about playing with 'images_tag_template.php' for 'rel' and 'class' fields.
    I did set 'class=0' and 'rel=lightbox' and it worked.
    As you can see below, somehow, 'rel' field is set to some unknown characters.
    "
    <a href="http://cdn.nammavidyaranyapura.org/wp-content/uploads/bpfb/79_0-01148900-1400114526_10154176_702057243188263_8916606710708082019_n.jpg"
    class="1" rel="211e988f110b787a250c6435281a53cc">
    "
    I did check with bbpress image options. It was setting properly 'rel=lightbox'.

    Anyway, after tampering 'images_tag_template.php' my lightbox is working now.

    There was also conflict with 'bp-like' plugin and I disabled the same.
    Now everything is working fine.
    Thanks for your support.

  4. David
    WPMU DEV Support Staff
    Posted 1 year ago #

    Hi @pathuri,

    Thanks for your reply. Glad you were able to get that sorted. Sounds like you might have another lightbox solution on your site already, so adjusting the plugins rel attribute could help avoid conflicts with that.

    That BP Like plugin is currently in beta so conflicts may come up with it. I'll have a look at it when I get a moment to see if I can spot any potential conflicts with this.

    Meanwhile, anything we can help with, just let us know. :)

    Cheers!
    David

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Activity Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic