• Resolved alex80ks

    (@alex80ks)


    Hello,
    I use buddypress latest version and fancybox for wordpress plugin then i installed yesterday your plugin and he works fine when i look main activity on buddypress, but when i look on my profile activity for example photo that i was uploaded, photo is visible and everything is ok except when i click to open photo get double opened. Its opens that same photo twice. One is opened by fancybox for wordpress and second by BuddyPress Activity Plus. Is any fix available for that?

    Second question is related to previous bugs. Do i need to apply rest of security fixes that you posted for example renaming files without dots or is it allready apllied in plugin?

    I must say this is really good plugin. Rating now.
    Thanks

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter alex80ks

    (@alex80ks)

    One more question or maybe i should open new thread?

    Is it possible to delete uploaded images when i delete post in bp activity?

    I tested photos they staying there after i deleted post with uploaded image in front end.

    Thanks

    Thread Starter alex80ks

    (@alex80ks)

    I solved … in file buddypress-activity-plus/lib/form/images_tag_template.php find line 16
    <a href="<?php echo bpfb_get_image_url($activity_blog_id) . trim($img); ?>" class="<?php echo $use_thickbox; ?>" rel="<?php echo $rel;?>" <?php echo $target; ?> > and delete class="<?php echo $use_thickbox; ?>" and images will use (in my case) fancybox for wordpress plugin othervise will be displayed twice.

    So if anybody use any other simmilar plugin for images i think this can be solution. this class thickbox is added in case if we dont have any other plugin for images.

    Hi @alex80ks,

    Hope you’re doing great today! 🙂

    Thanks for posting your solution and yeah, it does sort of need a plugin code adjustment for use with another lightbox. Glad you got that sorted though.

    You’re right too, the images wouldn’t be removed after deleting the activity. I’ll check with the team to see if that can be adjusted in a future version.

    If you have further questions on anything, please feel free to ask.

    Thanks,
    David

    Thread Starter alex80ks

    (@alex80ks)

    @david i have question that is maybe related to your plugin.
    i wrote a post and keep it in draft, then when i publish it everything is ok but when i look in activity i get this
    http://speedy.sh/aADWG/Capture-5.jpg

    as you see there are link on photo and link on text. It sounds weird to me then i check database and get activity strings written bad.

    <a href="http://www.mysite.com/?p=2429"><img src="http://www.mysite.com/wp-content/uploads/2014/02/Ice-Cave-Mendenhall-150x150.jpg" width="100" height="100" alt="Thumbnail" class="align-left thumbnail" /></a><a href="http://www.mysite.com/wp-content/uploads/2014/02/Ice-Cave-Mendenhall.jpg">
    Mendenhall ледене пећине
    <strong>Mendenhall Глечер</strong> је око 12 миља (19 км) дугачак и <strong>налази се у долини Mendenhall</strong>, око 12 миља (19 км) од центра Juneau у југоисточном делу америчке <strong>савезне државе Аљаске</strong>. Првобитно [&hellip;]</a>

    Not by me becouse in wordpress blog page everything is ok.
    as we can see there is post linked on activity photo and that is ok but text is linked to photo as it not should be.
    I m using latest wordpress with buddypress and bp-default child theme. Is it possible that plugin has influence on that?
    My lnowledge isnt big so i ask for advice or maybe you had simmilar problem?
    Sorry for posting here. I posted same on buddypress support page also but no answers to this. I assume that you are making plugin for that part of buddypress Activity and hope that you have some tip for that.
    If you need some additional info i will gladly send you.
    Thanks,
    Aleksandar

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Photos getting opened twice on one click’ is closed to new replies.