• Resolved TheZorro

    (@thezorro)


    Hey

    It is most likely a minor problem but I am stuck πŸ˜‰

    I have a multi site with buddypress. I know want to create an event list with all events from blog 1 that are connected to group A (ID:6) and have the tag public.

    I tried the following:

    [events_list blog=”1″ group=”6″ tag=”public”][/events_list]

    This does however not work as it shows all events from blog 1. If I delete the blog=”1″ it shows all events from multisite.

    Thank you for your help

    https://wordpress.org/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter TheZorro

    (@thezorro)

    Might be important:

    The main blog is 1

    buddypress has its primarly connection however to blog 2 and the tags are defined within blog 2 as well.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry for the confusion but what you’ve wanted to show is all the events in then blog=1 using the shortcode above or the entire blog?

    Thread Starter TheZorro

    (@thezorro)

    Don’t be sorry, it is complicated to explain πŸ˜‰

    I start again:
    I have a multisite with three blogs: a main page (ID:1), a blog (ID:2) and a network (ID:3). Buddypress usually has its main connection to ID:1 but I changed it to ID:3 (as the mainpage is an overview page).

    Now we are using event manager and multi site for event manager is actived. All events are created within the network page(ID:3). Some of these events are public which is indicated with the tag “plubic” and/or connected to a buddypress group.

    I need now that some of these events appear on the main page (ID:1). So I used the following code:

    [events_list blog=”3″ group=”6″ tag=”public”][/events_list]

    This code however shows every event, not just those of the buddypress group with ID:6 and the tag “public”. I am not that experienced but I believe that the site is looking for the tag within the events on the main page and not on the network page. So I somehow need to tell him that it has to look for it at the network page, like:
    [events_list blog=”3″ group=”(group is in ID:3 not ID:1)” tag=”(tag is in ID:3 not ID:1″][/events_list]

    Sorry for the confusion.

    Thread Starter TheZorro

    (@thezorro)

    Just for confirmation: group and tag works on the network page ID:3 where there events are stored and managed but not on ID:1, the main page.

    So I need a way to tell the plugin that it needs to look for the “group=” and the “tag=” classification within the other blog.

    Thread Starter TheZorro

    (@thezorro)

    Okay, I found a “work-around”:

    I defined the categories for the events on the main page (ID:1). This way it was possible to filter the events from the network page (ID:3) according to their category a the categories are shared over the whole network.

    However, filtering the events according to their buddypress group is still not possible on the main page. If anybody know how to do that that would be great.

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

The topic ‘shortcode and buddypress/multisite problem’ is closed to new replies.