Barry

Forum Replies Created

Viewing 15 posts - 17,836 through 17,850 (of 17,936 total)
  • Author
    Posts
  • in reply to: Programmatically setting Additional Fields #24266
    Barry
    Member

    Hmm, I can’t replicate that error – but then I’m not quite sure at which stage or in what context you are using that snippet.

    It would certainly have to be late enough in the lifetime of the request that both The Events Calendar and Events Calendar PRO have finished loading.

    Can you provide a context for this?

    Barry
    Member

    Awesome, I didn’t even think of that. Glad you’ve got it sorted!

    Barry
    Member

    That’s interesting. One thing you could try is swapping out the version of jQuery shipped with the theme for the latest and greatest version.

    How you do this will depend on whether or not the theme has hard-coded in their version of jQuery – assuming for the moment that they haven’t hard-coded anything though you could possibly use the same approach as documented in the WordPress codex for switching to a CDN served version of jQuery:

    http://codex.wordpress.org/Function_Reference/wp_enqueue_script

    The flip-side of this method is that it may break any theme related behaviours that depend on the old version of jQuery.

    Is there a minimum jquery version?

    The Events Calendar does expect the current version of jQuery shipped with WordPress – since the current version expects WP 3.3 I’d guess jQuery 1.3 could fairly be described as out of date at this point.

    Hope that helps, but please don’t hesitate to get back to me if you have further questions.

    Barry
    Member

    * Typo! Ought to have been just “taking” the site back … not breaking!

    Barry
    Member

    No problem at all. It can be time consuming but breaking taking the site back to a basic state and re-enabling elements one-by-one is often the surest way to do it. I wish you luck!

    Barry
    Member

    OK, well what I can tell you is that it the events calendar – dropdown selector and all – works for me if I run the theme you sent “out of the box” as it were.

    What I can’t really say is whether that would be true if I had exactly the same configuration as you (it looks like it is an extensively customizable theme, even providing a choice of different sliders from different vendors by the looks of things) … and of course it’s not likely that I am running the same combination of plugins, nor is my environment going to be exactly the same.

    Right now though it looks as if it should work – is it possible this results from custom Javascript or something else that you might happen to have configured via the theme’s setup options?

    Barry
    Member

    OK – so since it’s a premium theme I can’t easily look at how it’s structured, but again if you were happy to send a zipped copy across (to [email protected]) I could take a quick look at how it integrates with The Events Calendar and Events Calendar PRO

    … I can’t guarantee a fix – especially if it works with Twenty Eleven or other standard themes, but I’d certainly be happy to scope it out. If you do send it across, please put “FAO Barry” in the subject field of the email.

    Thanks 🙂

    Barry
    Member

    Yep good point! It’s always worth seeing if others in the community can help – you never know if someone has already solved the problem or not.

    So if you’re happy with your fix then that’s great – but please don’t hesitate to get in touch with us again if you want help resolving this. May I ask what theme you are using (if you prefer not to say that’s fine)?

    in reply to: No description of the events page. #24224
    Barry
    Member

    If you’re happy to please email the details to [email protected] – if you could write “FAO Barry” in the subject field that would be appreciated, otherwise it could get lost in the flow of email. Thanks!

    in reply to: No description of the events page. #24218
    Barry
    Member

    OK, so basically you should be seeing your description or summary (as I guess you realise) but for some reason it isn’t showing.

    I took a look at this event:

    http://community-buzz.com/event/read-and-pick-story-time-at-weavers-orchard-1000-a-m-every-wednesday-2/

    I know you provided a description because the excerpt is visible when hovering over the event in the calendar. What I do notice, taking the above URL as an example, it that the area that ought to contain this description instead is completely taken up with various social media buttons.

    If this isn’t the result of a conflict with the another plugin (or your theme – I see you stated that you checked both these things) then I can only imagine that this results from a change made to your templates – have you made any customizations to your events theme templates … and are you able to double check if this is a conflict with another plugin/your theme?

    Thanks!

    Barry
    Member

    Hi Gareth, I’m sorry to hear that you are experiencing difficulties.

    (Also, just for future ref, the URL you provided originally is visible to those of us on the support team – I appreciate that may not be very obvious to you though!)

    Unfortunately I can’t see the problem when I visit your site – I guess because you have temporarily removed the dropdown selector?

    Barry
    Member

    Hi Tony – thanks for contacting us and sorry it took so long to get back to you.

    There is no baked in method of doing this, at least not via the admin interface, however one possible workaround would be to use a custom field. Let’s call it “custom_map_link” (though you could name it whatever you think appropriate).

    You could then modify the events/single.php template such that if that “custom_map_link” field exists and contains a URL then that is the link that should be used.

    I’m afraid it’s beyond the scope of support to guide you through this in detail but if nothing else it should give you an idea of how you might approach this problem (I wouldn’t expect it to take an experienced dev too long to implement if you needed help).

    Hope that gets you on track 🙂

    in reply to: New events don't get saved #24207
    Barry
    Member

    … Hmm, code doesn’t format too nicely in the forum. See this Pastebin snippet instead: http://pastebin.com/hvNmBNfZ

    in reply to: New events don't get saved #24206
    Barry
    Member

    That’s interesting. It’s difficult to say however just by looking at the front end of the website. One thing I might suggest, regarding the PHP memory limit, is that you create a file containing the following code:

    And nothing else.

    Save it as phpinfo.php or something similar and then view it via your web browser – you should see a load of data about your PHP set-up and you might want to confirm here that the memory limit has indeed been raised (it’s possible that the host does not actually allow the memory limit to be raised, in which case the code you added will be ineffective).

    What you would be looking for here is an entry marked memory_limit and if it is at 32M, 64M or higher then we should be ok on the memory front, however it could be worth checking.

    in reply to: Programmatically setting Additional Fields #24203
    Barry
    Member

    Hi Andy!

    The first error is because you are using isset() incorrectly. Perhaps something like:

    $alarm = $tecm->get_custom_field_by_label(‘Alarm’)
    if (!empty($alarm)) { /* … */ }

    Would be better here. The thing is that isset() tests if a variable is set and not null, whereas you are not supplying a variable – you are supplying the return value of a function.

    The second error looks basically like a typo. You’ve defined $tcem first of all then use $tecm later.

    Hope that helps 🙂

Viewing 15 posts - 17,836 through 17,850 (of 17,936 total)