Barry

Forum Replies Created

Viewing 15 posts - 4,291 through 4,305 (of 17,936 total)
  • Author
    Posts
  • in reply to: Event bar query customization #947280
    Barry
    Member

    Noted! (…and, in general, if you have other ideas for improvements to our docs please don’t hesitate to let us know here or on our UserVoice page 🙂 )

    Thanks again!

    in reply to: Events calendar pro slowing down site drastically #947247
    Barry
    Member

    Hi Robert:

    I’m really sorry to hear you are experiencing difficulties. I’m not quite clear though if the problem is just with PRO 3.9.1 or also impacts 3.9 – can you confirm?

    Looking at your site I estimate you currently have around 1,400 events (many of which are long running recurring events). I don’t know how many regular posts and pages you have, but the total volume could be a factor here.

    Can you confirm what sort of hosting package you are currently using?

    (Jo: please do feel free to monitor this thread, but if you need any assistance that relates specifically to your own site please do create a fresh thread — thanks!)

    Barry
    Member

    Hi Laurie!

    1) How do I specify the image that is displayed at the bottom of the page under Related Events? The theme that I have is a very minimal custom theme that was built for the organization.

    For each event you need to add a featured image – this will then be used in the related events section 🙂

    If you don’t see any such option (normally you can set the featured image when you edit an event) it’s possible your custom theme doesn’t declare featured image/post thumbnail support, or only declares support for a small number of post types — if so, it could be worth going to the theme author for further assistance and make them aware you require featured image support for all post types.

    2) The event that is shown – morning hike is a recurring event, but the other events displayed under the related events (e.g. Shannon Presson) is not a recurring event, but there is a tag underneath that indicates it is.

    Unfortunately we have a bug impacting this part of the system … the good news is that all things being equal this will be resolved in our very next release.

    3) How can I reposition the map so that it will appear smaller and on the same row as the venue? It seems to do that in Firefox (although the map is large), but in Chrome and IE, the map is positioned below the venue information.

    We do try hard to stick to one issue per thread. Just to keep things clean (and help us to provide fair, timely service to all of our customers) can I ask you to post this in a fresh topic?

    Any further questions connected to the related events area can definitely remain in here 🙂

    in reply to: Event bar query customization #947233
    Barry
    Member

    Hi Stephen!

    So that example code is (deliberately) pretty generic and is unlikely to be much use by itself if it is used verbatim.

    The idea though is that you have an opportunity to look at the current request and modify the query variables appropriately (what that means and how you would modify them in a real life case obviously depends on what you’re trying to achieve). Later on in the request those variables will be used when WordPress builds the actual SQL query used to retrieve posts/events.

    A great resource to read through to gain a little more insight can be found on the WordPress codex:

    codex.wordpress.org/Class_Reference/WP_Query

    This kind of work is a relatively advanced customization so a solid working knowledge of WordPress and how queries are processed is definitely required.

    Does that help at all/do you have any other specific questions about this? Though we may not be able to go in to too much depth here in the support forum we would certainly be keen to learn how we might expand the knowledgebase article you referenced (or else find out what other articles we might create to support it).

    Thanks!

    in reply to: Special Characters in Month Tooltip displaying as html #947224
    Barry
    Member

    Hi Trenton,

    I’m not sure I can replicate this. If I create an event containing ampersands, apostrophes and right arrow symbols in the title/content they display correctly within the month view tooltip.

    It looks like when you opened this topic you indicated having already run through our standard troubleshooting steps (ie, deactivating all other plugins and reverting to a default, completely unmodified theme) – just for the avoidance of any doubt, can you confirm that didn’t solve the problem/highlight any conflicts?

    I just wanted to double check as it does look like you’ve applied some customizations to your tooltips and, as above, I cannot replicate the problem as described on a clean test site.

    If you’re able to confirm/do some additional testing in order to eliminate the possibility of a conflict/problem stemming from customizations that would be appreciated 🙂

    in reply to: Links on Ticket Don't Work #947222
    Barry
    Member

    Hi Erika,

    Apologies for letting you down here.

    The venue link issue is something we are aware of and all things being equal a fix will arrive in our very next release.

    The good news is that to fix this and to make other customizations, such as adding a postcode/zip code (you’re right that this is not present by default, but it can easily be added) does not require you to play with class-ticket-email.php or indeed modify any core plugin code whatsoever.

    A great overview of setting up template overrides can be found in our Themer’s Guide, but in essence you would grab a copy of:

    the-events-calendar/views/tickets/email.php

    Place the copy within your theme, as follows:

    your-theme/tribe-events/tickets/email.php

    You can modify this new file and make changes there without impacting on the core plugin code – which is a safer way to do things.

    Repairing the venue URL

    For this fix, find these lines within your template override (I’ve abbreviated the code within the style attributes a little to save space – what we’re interested in though is the initial href attribute):

    <a href="#" style="..."><?php echo $venue_email; ?></a><br />
    <a href="#" style="..."><?php echo $venue_web; ?></a>

    Modify this to:

    <a href="mailto:<?php esc_attr_e( $venue_email ) ?>" style="..."><?php echo $venue_email; ?></a><br />
    <a href="<?php esc_attr_e( $venue_web ) ?>" style="..."><?php echo $venue_web; ?></a>

    That should provide you with functional links.

    Adding the postcode

    To add the venue postcode to the email, decide where you want it to appear and try inserting this code:

    <?php echo tribe_get_zip( $venue_id ) ?>

    For instance, you could expand this block of code:

    <?php echo $venue_address; ?><br />
    <?php echo $venue_city; ?>

    To:

    <?php echo $venue_address; ?><br />
    <?php echo $venue_city; ?><br />
    <?php echo tribe_get_zip( $venue_id ) ?>

    Does that help at all?

    in reply to: Change the cost amount in the drop down #947214
    Barry
    Member

    Hi there mariacp04,

    You can modify the values of any filter – including the cost filter – by using this hook:

    tribe_events_filter_values

    A minimal example would look a bit like this:

    add_filter( 'tribe_events_filter_values', 'modify_cost_filter', 10, 2 );
    
    function modify_cost_filter( $values, $filter_slug ) {
        // We're only interested in the cost filter here
        if ( 'cost' !== $slug ) return $values;
    
        // Prepare your alternative costs according to your particular needs
        $costs = array( 
            array( 'name' => '1-100',    'value' => '1-100' ),
            array( 'name' => '101-1000', 'value' => '101-1000' )
        );
    
        // Replace the defaults with your new options
        return $costs;
    }

    (You might add your custom code to your theme’s functions.php file or else a standalone plugin.) I hope that helps!

    in reply to: I can't download calendar pro #947209
    Barry
    Member

    Great – ad yes, they’ll work with you further by email. With that in mind I’ll close this topic and one of the team will be happy to help with your other technical issue in a new topic 🙂

    Thanks again!

    in reply to: 404 issue with future recurring events #947208
    Barry
    Member

    That’s certainly a possibility. If on this fresh local installation you add and activate all of the same plugins – and ultimately your theme – as on the live site, does the problem return or does everything continue to work as expected (please do create a new set of recurring events to test with once everything is in place)?

    in reply to: Many Issues With Latest Version #947108
    Barry
    Member

    Awesome 🙂

    in reply to: Many Issues With Latest Version #947082
    Barry
    Member

    You can definitely add it back with a simple customization – when I look at the URL you provided when you opened this topic, though, it appears as if your (customized?) calendar widget already includes this information.

    In any case, the trick would be to make a template override for the pro/widgets/modules/single-event.php template. Find these lines:

    <?php if ( isset( $venue ) && $venue && tribe_get_venue() != '' ): ?>
    	<span class="fn org tribe-venue"><?php echo tribe_get_venue_link(); ?></span>
    <?php endif ?>

    Amend them to:

    <?php if ( tribe_get_venue() != '' ): ?>
    	<span class="fn org tribe-venue"><?php echo tribe_get_venue_link(); ?></span>
    <?php endif ?>

    That should force the venue link to always display (so long as a venue has been set, of course) — more details on the template override process can be found here.

    Does that help?

    in reply to: Regarding Featured Image #947076
    Barry
    Member

    Our pleasure, and apologies for the hiccup along the way 🙂

    I’ll go ahead and close out this topic, but if we can assist with any other issues please don’t hesitate to post new threads as needed.

    Thanks again!

    in reply to: I can't download calendar pro #947071
    Barry
    Member

    This reply is private.

    in reply to: I can't download calendar pro #947042
    Barry
    Member

    This reply is private.

    in reply to: I can't download calendar pro #947040
    Barry
    Member

    Hi Jo: I’ll reply (privately) with regards to the payment issues. With regards to the technical problem, please do break this out into a separate thread as we try hard to stick to a policy of one issue per thread – this helps to keep things on track and lets us deliver fast service to everyone 🙂

Viewing 15 posts - 4,291 through 4,305 (of 17,936 total)