bizzallmedia

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • in reply to: Event Aggregator bug – event organiser different #1465439
    bizzallmedia
    Participant

    Hi,
    Am working on a local server, so can’t share any url at the moment.
    Note that I have seen some themes that do show all organisers, so it must be doable.
    Maybe I am using the correct thing but wrong syntax.
    Dunno.

    Will try to find a workaround.
    Thanks

    in reply to: Photo view not showing all events…. #1453490
    bizzallmedia
    Participant

    Oh wow, that was a clear and simple solution to add everything to list view ๐Ÿ™‚

    Will continue to look and see if I can find a solution to the infinite scrolling

    Thanks,
    ๐Ÿ™‚

    in reply to: Event Aggregator bug – event organiser different #1452731
    bizzallmedia
    Participant

    Thanks for the follow up Jaime,
    Thereโ€™s no need to manually add the additional organisers once imported.
    All the organisers are there already because aggregator imports all the organisers.
    Both in the event back-end and in the database I can find the organisers related to events with multiple organisers.
    However when event calendar when displaying in the front-end, it only shows one of them.
    So there should be some logic or function there that chooses to display only one of the organisers and not all of them. And as already pointed out thereโ€™s a function that returns all organisers as in the event back-end they are all shows.

    Just need some kind of way to get that to work in the front-end when listing events.

    in reply to: Event Aggregator bug – event organiser different #1452270
    bizzallmedia
    Participant

    I did found this function in organizer.php that should display it…
    tribe_get_organizers

    but it then gives an error and shows

    Array to string conversion in …… line ….

    in reply to: Event Aggregator bug – event organiser different #1452269
    bizzallmedia
    Participant

    Or a snippet so that it would show all organizers ๐Ÿ™‚
    That would work as well for the moment ๐Ÿ™‚

    in reply to: List view, all events #1452199
    bizzallmedia
    Participant

    Anything?

    in reply to: Event Aggregator bug – event organiser different #1451681
    bizzallmedia
    Participant

    Hi,
    Thanks the reply, and confirming that it is a bug.
    As with the devs no none knows how long this might take and I would need to find a solution to this could we look the following that might be a solution. Am not a dev, but have no problem moving around some code, entering snippets, etc.

    So I found part in organizer.php followed by a function, not sure if this applies to how aggregator imports or if this can reclassify the organezer after the import. But is there a way to rewrite the function so that when there is multiple organisers, instead of the first organizer ID being returned for it to return the ID that imported the event?

    /**
    * Organizer ID
    *
    * Returns the event Organizer ID.
    *
    * @param int $postId Can supply either event id or organizer id.
    * If none specified, current post is used.
    * If given an event with multiple organizers,
    * the first organizer ID is returned.
    *
    * @return int Organizer
    */
    function tribe_get_organizer_id( $postId = null ) {
    $postId = Tribe__Events__Main::postIdHelper( $postId );
    $organizer_id = null;
    if ( is_numeric( $postId ) && $postId > 0 ) {
    $tribe_ecp = Tribe__Events__Main::instance();
    // check if $postId is an organizer id
    if ( $tribe_ecp->isOrganizer( $postId ) ) {
    $organizer_id = $postId;
    } else {
    $organizer_id = tribe_get_event_meta( $postId, ‘_EventOrganizerID’, true );
    }
    }

        return apply_filters( 'tribe_get_organizer_id', $organizer_id, $postId );
    }
    

    • Organizer ID
      *

      • Returns the event Organizer ID.
      • @param int $postId Can supply either event id or organizer id.
      • If none specified, current post is used.
      • If given an event with multiple organizers,
      • the first organizer ID is returned.
      • @return int Organizer
    in reply to: Event Aggregator isnt pulling images #1451347
    bizzallmedia
    Participant

    Thanks for the follow up Cliff
    Facebook event shows fixed dimensions, some event creators have an image matching that size, others don’t and upload something of any size in which case facebook takes part of the image to fit the dimensions they have set.

    Event aggregator imports the original file sizes, which is good, but I would like to display them the same way as facebook does, so not showing the whole image if the image is to big (or small) and displaying it at fixed dimensions set for the header image.

    in reply to: Event Aggregator bug – event organiser different #1449307
    bizzallmedia
    Participant

    This reply is private.

    in reply to: Photo view not showing all events…. #1448563
    bizzallmedia
    Participant

    And would there be a similar snippet for list view?
    Tried searching but couldn’t find one.

    Thx.

    in reply to: Photo view not showing all events…. #1448482
    bizzallmedia
    Participant

    This reply is private.

    in reply to: Photo view not showing all events…. #1448477
    bizzallmedia
    Participant

    Okay, so you wrote “loading all events on the same page might increase the time it takes for the page to load”…

    Is there a way, like on pinterest for example or other similar sites, where it loads xxx amount and the rest gets loaded while scrolling down?

    in reply to: Photo view not showing all events…. #1448403
    bizzallmedia
    Participant

    Wow, that worked like a charm ๐Ÿ™‚
    Thanks!

    in reply to: same starting dates when using tribe_get_start_date #1446182
    bizzallmedia
    Participant

    Sorry my bad, found the issue… used n instead of j for how the date shows

    in reply to: Embed upcoming events with photos on start page? #1445735
    bizzallmedia
    Participant

    Hi Willy,
    Not a developer but been playing trying to play around with event calendar a bit for some projects I have and just noticed your post as I was looking for a solution for something similar.
    Not something that was going to work for me but this was some work arounds I could think of that might work for you, there might be better solutions though.

    Option 1 (Using external plugin)
    If you want to add any of the pro widgets on to you home page (or really any other widget) you can do so by using a plugin, for example: https://wordpress.org/plugins/widgets-on-pages/
    And, if needed, you can style the widget as you please through css or even customise the layout of the widget with some child template coding.

    Option 2 (Direct)
    Figure out a function that you can add to your functions.php that automatically assigns “nextwhatever” as category to your nearest upcoming events within a specific amount of days from todays date and removes it once the event has passes.
    Then in your page use the event calendar shortcode to display all events with category “nextwhatever”

    Hope this helps.

Viewing 15 posts - 1 through 15 (of 24 total)