calumjamesgreen

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • in reply to: Whole Search Bar on another page. #846994
    calumjamesgreen
    Participant

    Yeah I think that the theme I’m using might be playing with the homepage so although it is targeting the homepage its not recognising it as the homepage, I will see if I can amend it to target that specific page template and see if I have any luck.

    Ill let you know 🙂

    in reply to: Whole Search Bar on another page. #846941
    calumjamesgreen
    Participant

    Yeah I have created a plugin for
    function tribehome_enqueue_front_page_scripts()
    and activated it.

    I have then created a new page template and added the script for
    <div id=”tribe-events-bar”>

    I think it might be this part I am missing Next I had to enqueue the styles for the search bar as well as the scripts for the date picker as is suggested on the Tribe Forum.?

    in reply to: Whole Search Bar on another page. #846908
    calumjamesgreen
    Participant

    Thanks for getting back Geoff, I appreciate this is probably outside of support that is meant to be offered and I appreciate it.

    I have it almost working using the [insert_php] but the formatting is still fuzzy so I have tried creating a page template to be applied to the home page and have this error. Am I missing something clear?

    [Error] ReferenceError: Can’t find variable: tribe_ev
    global code (tribe-events-bar.js, line 334)

    Thanks Again

    in reply to: Whole Search Bar on another page. #845049
    calumjamesgreen
    Participant

    Hi Geoff,

    As with Jordan I am having no luck with this. :/ Really bugging me now I know my php isn’t top notch but theoretically it should be simple haha. 🙂

    Any more input 😛
    Thanks for all your help
    Calum

    in reply to: Whole Search Bar on another page. #841279
    calumjamesgreen
    Participant

    Hi Geoff,

    Thanks for getting back to me that is really helpful, I was already using the script inside the bar.php but the code kept throwing an error when using the [insert_php] plugin. I have added your script that you have sent through and tried it in both the functions.php and using the [insert_php] plugin however it keep throwing an error

    in the script I get this error:
    Fatal error: Call to undefined function add_action() in /wp-includes/functions.php on line 4665

    and in the plugin

    Fatal error: Cannot redeclare tribehome_enqueue_front_page_scripts() (previously declared in /wp-content/plugins/insert-php/insert_php.php(48) : eval()’d code:4) in /wp-content/plugins/insert-php/insert_php.php(48) : eval()’d code on line 32

    Any Idea’s

    Thanks 🙂 Calum

    calumjamesgreen
    Participant

    Hi I’m trying to do something similar and just use the Tribe Events Bar in my home page.

    Because of the way that it is built I have a plugin that allows PHP directly into a page. Do you know the script to get the just the filterbar so that I can use that as a search box?

    Thanks

    in reply to: Wootickets + Community Events #796649
    calumjamesgreen
    Participant

    HI Geoff,
    If you connect Wootickets and Community Events you have a supreme trifecta.
    Just as a comment on this – This is something that I would really love to see also.

    in reply to: Pre-filled fields #796640
    calumjamesgreen
    Participant

    Sounds like a fairly simple fix looking at it, any chance you could point me to the correct file in the plugin I need to fiddle with? 🙂

    in reply to: Pre-filled fields #796598
    calumjamesgreen
    Participant

    Thanks Brian Will have a Look into it now 🙂 Thanks 🙂

    in reply to: Pre-filled fields #791443
    calumjamesgreen
    Participant

    Hi Brian,

    Thanks for getting back to me, sorry if I was unclear.

    What I meant was where the organiser section is I’m looking at getting rid of it all together but then having the organiser’s details just being auto populated with the wp_users details with the Name, Email address etc.
    Wouldn’t happen to know a quick fix for this would you?

    Thanks
    Calum

    in reply to: Venue View #752699
    calumjamesgreen
    Participant

    Hi Geoff,

    Thanks for that really helps appears will require quite a lot of extensive customisation but I will continue to have a fiddle with it see what I can get. If I can’t get anywhere within budget then will look at a better way to meet the requirement.

    Maybe something that can be considered for future work as the venues are almost as important as the events themselves when looking at a holistic view to events booking.

    Thanks gain for all your help

    Calum

    in reply to: Filter Distance #752688
    calumjamesgreen
    Participant

    Hi Barry,

    Sorry what I meant was that currently it says distance 5km but it doesnt say what that if 5km from?

    Also in terms of user position I was more thinking about a box where I can insert a postcode and then it searched distance based on that?

    Thanks

    Calum

    in reply to: Venue View #748249
    calumjamesgreen
    Participant

    Hi Geoff,

    That seems to be working thanks!

    Just now a case of trying to get it sorted to bring through other data to make it a good looking list.
    trying to use this to get the event meta in but obviously it is only for the single event,

    I have it within the for each venue bit but is just echoing the same meta for each title
    do_action(‘tribe_events_single_venue_before_the_meta’);
    echo tribe_get_meta_group( ‘tribe_event_venue’ );
    do_action(‘tribe_events_single_venue_after_the_meta’);

    in reply to: Venue View #746478
    calumjamesgreen
    Participant

    Note the tribe_get-venues is actually tribe_get_venues must have pasted wrong

    in reply to: Venue View #746476
    calumjamesgreen
    Participant

    Hi Geoff,

    Currently Rolling with this

    $venues = get_posts(array(‘post_type’ => ‘tribe_get-venues’, ‘posts_per_page’ => -1));
    echo ‘

      ‘;

      foreach ($venues as $venue) {
      echo ‘

    • ‘;
      esc_html_e($venue->post_title);
      echo ‘
    • ‘;
      }

      ?>

      <div id=”venues”>
      <?php
      echo “$post”;
      ?>
      </div>

      but keeps throwing this error
      Catchable fatal error: Object of class WP_Post could not be converted to string in

      Is there an issue with the way that I am trying to post the data

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