WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Activity Plus
Multisite Image Directory/Upload Path Error (8 posts)

  1. AndyUSSDU
    Member
    Posted 1 year ago #

    Great plugin!

    I am calling activity plus update arounds a network of WordPress Multisite sites using bp_activities which works great except for the image upload directories in sites that are not the main site.

    The image previews work fine on the main site (example: http://ussportsdownunder.com/wp-content/uploads/bpfb/2_0.401560001345454496_488231_423254834387877_881207169_n.jpeg) but the directory is different on other sites and thus no images show up (example: http://ussportsdownunder.com/nfl/files/bpfb/2_0.401560001345454496_488231_423254834387877_881207169_n.jpeg)

    Any ideas of a hack or fix to make the images show the wp-content directory outside of the main site so the image previews work?

    http://wordpress.org/extend/plugins/buddypress-activity-plus/

  2. klipari
    Member
    Posted 1 year ago #

    I've contacted the developer to see if we can get him to comment here :)

    What version are you running?

    Do you have it network activated, are you running different instances of BP?

  3. AndyUSSDU
    Member
    Posted 1 year ago #

    Thanks!

    Running latest version of WordPress & Buddypress and only a single instance of Buddypress.

  4. klipari
    Member
    Posted 1 year ago #

    I'm re-reading this and am a bit confused, perhaps because I've not finished my morning coffee. :)

    To clarify: You have subsites that are loading pictures that you are not able to see on the front page?

    Or: You have buddypress users uploading pictures on a subsite that won't show on the main one?

  5. AndyUSSDU
    Member
    Posted 1 year ago #

    Hey Klipari

    I have buddypress users uploading pictures on a mainsite buddypress installation that won't show on the subsites

    As you can see in the second URL, the plugin on subsite is showing the subsites upload directory 'domainname.com/subsite/files/bpfb/' and it should be pointing to the mainsite directory uploads folder 'domainname.com/wp-content/uploads/bpfb'

    Andy

  6. klipari
    Member
    Posted 1 year ago #

    Andy,

    Have you checked the upload path of your subsite? You can do so via the Sites> and checking the settings for the subsite.

    The image url and directory are set in two fucntions on lines 79 and 87 in the plugin file.

    So, if I understand, you want to be able to upload pics from a subsite that will only show on the main site...

  7. AndyUSSDU
    Member
    Posted 1 year ago #

    Ahh that looks like it might be the problem. Both subsites have their own upload URLs.

    is there anyway to have just the Activity Plus items upload to a central directory while still allowing each WordPress site to upload media to their own directory?

  8. klipari
    Member
    Posted 1 year ago #

    The image url and directory are set in two fucntions on lines 79 and 87 in the plugin file.

    If you are code-wise you can adjust the above. However you will need to keep a copy as it will loose the change on any updates.

    :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic