Rivet

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • Rivet
    Participant

    Now, this goes beyond our level of support for your theme so if this doesn’t work we hope you are able to find a new theme or solution to update your theme.

    I thought I had access to premium support with my license key?

    My theme works fine, no problem on the site except with the event calendar plugin and this option list view.

    Thanks, P.

    Rivet
    Participant

    Hello, I tried. So when I put a version of jquery (*1) it still does not work.

    BUT, when I remove the link to the Jquery library (*2) it works, but it disables the tool to switch to month view or choose a date in the calendar

    (*1) wp_register_script('jquery','https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js', false, '');

    (*2)wp_register_script('jquery','', false, '');

    Rivet
    Participant

    function o() {
    var u = a("#tribe-events-header");
    if (n.ajax_running = !0, !n.popping) {
    n.filter_cats && (r.cur_url = u.data("baseurl"));
    var o = a("#tribe-events-list-hash").val();
    n.params = {
    action: "tribe_list",
    tribe_paged: n.paged,
    tribe_event_display: n.view,
    featured: s.is_featured()
    }, n.url_params = {
    tribe_paged: n.paged,
    tribe_event_display: n.view
    };
    var v = t.location.pathname;
    if ((v.match(/\/all\/$/) || r.cur_url.match(/tribe_post_parent=[0-9]+/)) && (n.url_params.tribe_event_display = "all", n.params.tribe_post_parent = parseInt(u.closest("#tribe-events-content").find("[data-parent-post-id]:first").data("parent-post-id"), 10)), "" === tribe_js_config.permalink_settings && (n.url_params.eventDisplay = "all" === n.url_params.tribe_event_display ? "all" : "list"), o.length && (n.params.hash = o), r.default_permalinks && !n.url_params.hasOwnProperty("post_type") && (n.url_params.post_type = _.events_post_type), n.category && (n.params.tribe_event_category = n.category), a(i).trigger("tribe_ev_serializeBar"), s.invalid_date_in_params(n.params))
    return void (n.ajax_running = !1);
    a("#tribe-events-content .tribe-events-loop").tribe_spin(), n.params = a.param(n.params), n.url_params = a.param(n.url_params), a(i).trigger("tribe_ev_collectParams"), n.pushstate = !1, n.do_string = !0
    }

    Rivet
    Participant

    Hello, actually there is a problem with this script. But when I take it off it does not solve our story.

    And when I click on the link “previous events” this is displayed in the console:

    TypeError: a (“# tribe-events-content .tribe-events-loop”). Tribe_spin is not a function. (In ‘a (“# tribe-events-content .tribe-events-loop”). ) ‘,’ a (“# tribe-events-content.tribe-events-loop”). tribe_spin ‘is undefined)

    An idea ?

    Thanks, P.

    Rivet
    Participant

    Hello,

    There is no plugin named Piwik on the site. Maybe it’s WP Statistics that I think uses Piwik.

    I disabled WP Statistics but it did not change anything.

    I do not understand why the request in code above does not work? Or a few seconds …

    Thanks, P.

    Rivet
    Participant

    *I put &&

    • This reply was modified 8 years, 3 months ago by Rivet.
    Rivet
    Participant

    I just tried the code below and it does not work:

    if( !is_admin() && tribe_is_list_view()){
    wp_deregister_script('jquery');
    wp_register_script('jquery','http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js', false, '');
    wp_enqueue_script('jquery');
    };

    So, after i tried the code below and the link works for 1 or 2 seconds then it bug again ?? :

    if( !is_admin() AND tribe_is_list_view() || tribe_is_showing_all()){
    wp_deregister_script('jquery');
    wp_register_script('jquery','http://ajax.googleapis.com/ajax/libs/jquery/3/jquery.min.js', false, '');
    wp_enqueue_script('jquery');
    };

    Here is a link to the page:
    https://viacampesina.org/fr/evenements/

    Thanks, P.

    • This reply was modified 8 years, 3 months ago by Rivet.
    Rivet
    Participant

    Hello, I wish to target only the type of page that is problematic, the type list view. But when I try the code below it does not work, while with !is_admin() it works. An idea ?

    if( tribe_is_list_view()){
    wp_deregister_script('jquery');
    wp_register_script('jquery','http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js', false, '');
    wp_enqueue_script('jquery');
    };

    Thanks, P.

    Rivet
    Participant

    hello,

    actually when I paste this piece of code into my functions.php file the plugin works again.

    if( !is_admin()){
    wp_deregister_script('jquery');
    wp_register_script('jquery','http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js', false, '');
    wp_enqueue_script('jquery');
    };

    But how do I target only the list view page? Because for the moment this solution breaks the other plugins (revolution slider).

    Thanks, P.

    Rivet
    Participant

    No. In addition, the multisite is online, is not this a problem ?

    Would you have another proposal? A tool to detect Jquery error or conflict?

    Rivet
    Participant

    Hello,

    I did it but it did not change anything.

    Rivet
    Participant

    Hello,

    Yes I tried.

    I noticed several error messages in attachments. That would come from there?

    Rivet
    Participant

    Hello
    I’m not sure I can do that but I’ll let you know.

    Also, please share with us your complete system information by following this guide > https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    These info are on the previous topic. The link is above

    • This reply was modified 8 years, 4 months ago by Rivet.
    in reply to: Problem with the function tribe_get_listview_prev_link () #1369972
    Rivet
    Participant

    Hello,

    And I forgot to specify that I have another site with the same theme and with Events Calendar and there is not this problem.

    in reply to: Problem with the function tribe_get_listview_prev_link () #1369965
    Rivet
    Participant

    Site URL / https://viacampesina.org/fr
    Multisite / Yes 1
    Site Language / fr_FR
    Character Set / UTF-8
    WordPress version / 4.8.2
    PHP version / 5.6.30-0+deb8u1

    PHP /
    max_execution_time = 30
    memory_limit = 512M
    upload_max_filesize = 128M
    post_max_size = 128M

    WP Date Format / j F Y
    WP Time Format / G\hi
    Week Starts On / 1
    Common Library Dir /var/www/viacampesina.org/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe
    Common Library Version / 4.6.2

    I disabled all the plugins and the problem persists.

    By cons when I put a theme by default it works again.

    An idea of where this can come from?

    Thank you for your help.

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