WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] multisite(unable to call image from other site to main site using #_eventim (7 posts)

  1. noraashekyn
    Member
    Posted 2 years ago #

    iam using multisite.
    event>setting>formats/layout>eventlist format:

    <tr>
    <td>
    #_EVENTIMAGE{150,150}
    </td>
    <td>
    <p>
    #_EVENTLINK
    Date/Time

    #_EVENTDATES
    <i>#_EVENTTIMES</i>
    </p>
    {has_location}
    <p>
    Location
    <i>#_LOCATIONFULLLINE</i>
    </p>
    {/has_location}

    </td>
    </tr>

    on a main site post, i put the shortcode:[events_list]

    result: only image from main site showed.
    question: how to make the image from other site also showed?

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    Am going to test this out and update you.

  3. Stefano Colarelli
    Member
    Posted 1 year ago #

    I've the same problem. This bug is also found in Locations (placeholder #_LOCATIONIMAGE). I'm not very skilled, but I guess that in multisite mode, when Event Manager put all Locations from the subsite to the main site, maybe the reference to the post attachment is lost.

  4. agelonwl
    Member
    Posted 1 year ago #

    I tried this one and seems to be working fine, Is everything okay when viewing on main site?

  5. Stefano Colarelli
    Member
    Posted 1 year ago #

    No, not work. I try to explain better
    I created a test multisite installation with WordPress and only the Events Manager Plugin, and i created some locations in the subsites (the locations remain in subsite). In subsite the placeholder #_LOCATIONIMAGE is ok.

    But if I want to see all the locations on the main site, for example with the shortcode
    [locations_list blog=0 limit=20 pagination=1]
    in a page, the data locations is loaded, but #_LOCATIONIMAGE not work (the same goes for #_EVENTIMAGE).

    I suppose that the problem is that: the thumbnail images remain in subsites dir and is not created the image record in the database (wp_post table)

    So I've made a very bad solution: load the image in main site and create via MySQL the reference to thumb (in wp_postmeta table, records with meta_key='_thumbnail_id' )

    Ps: I take this opportunity to congratulate for the great and useful plugin :)

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    OK, I understand what you mean and can imagine why this would be happening. Haven't tested this myself, but assuming this is true, will fix in the upcoming days.

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    this is now fixed in the latest update

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic