Myrianne

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 45 total)
  • Author
    Posts
  • in reply to: search page orderby – prevent ordering by dates #406698

    Myrianne
    Expired Member
    Post count: 48

    and how exactly would “relevance” be calculated? it seems the system has this behavior when we select only a category and leave the keyword field empty as well.

    Nevertheless, it seems a pretty simple thing to modify in your code to enable use to use filters to modify the orderby part of query in all cases.

    Ive noticed that this line adds the orderby statements AFTER the apply_filter function is called… wouldnt putting the “apply_filter call” AFTER the adding of this code settle the issue?
    instead of:

    $orderby = apply_filters(‘geodir_posts_order_by_sort’, $orderby, $sort_by, $table);
    $orderby .= $table . “.is_featured asc, $wpdb->posts.post_date desc, $wpdb->posts.post_title “;
    return $orderby;

    we would have:
    $orderby .= $table . “.is_featured asc, $wpdb->posts.post_date desc, $wpdb->posts.post_title “;
    return $orderby;
    $orderby = apply_filters(‘geodir_posts_order_by_sort’, $orderby, $sort_by, $table);

    Then we would be able to strip the DATE part of the orderby statements ourselves using filters… does that make sense?

    thanks Stiofan

    in reply to: search page orderby – prevent ordering by dates #406686

    Myrianne
    Expired Member
    Post count: 48

    please refer to this part of my comment, it explains exactly what I need done, the commented part is the original code, the other part is my modified code.

    Basically, we just need to drop the DATE asc ordering from the default sql statement generated by this file, and there seems not to be a mean to do so without modifying this file:

    wp-content/plugins/geodirectory/geodirectory-functions/listing_filters.php

    // line 477

    //$orderby .= $table . “.is_featured asc, $wpdb->posts.post_date desc, $wpdb->posts.post_title “;
    $orderby .= $table . “.is_featured asc, $wpdb->posts.post_title “;

    At this point if you do not understand, im assuming you are not a php developper or are confused, so please get Stephan or someone that knows its way around the code to look at this. As a customer we assume that our questions are going to be looked at and answered by qualified PHP programmers.

    Thanks for your honest tentative to help, and lease be assured that I mean no disrespect. 😉

    in reply to: Payment management #398650

    Myrianne
    Expired Member
    Post count: 48

    Hello, its been now 7 days without answers from the support. Does its possible to check my request?

    Thanks, here’s a phone number to join me 1-800-928-7112

    in reply to: Payment management #397752

    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
    in reply to: Payment management #397746

    Myrianne
    Expired Member
    Post count: 48

    hello,

    about
    ISSUE #1 – the members ads when expiring are being downgraded to a “draft” state

    about your answer
    it seems that the option you are mentioning is already set to a package that is free of charge, “Forfait Gratuit”.snapshot attached.

    Also included, the snapshot of the option the choose if and what happens when ads expires.
    We have tried to set it so the monthly payment ads dont expire, but what we would really need is for them to expire ONLY if payment fails, not systematically each xx days or year.

    SOLUTION #1 > Have the ads never downgrade to the “draft state”

    QUESTION > if we set the downgrading package to the exact same package, what exactly will happen when the ad hits the end of the first cycle?

    ill include the login credential in the next message so you can login and see for yourself.


    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
    in reply to: where do I choose user type created #385057

    Myrianne
    Expired Member
    Post count: 48

    ok thanks

    in reply to: cannot signup new users #372320

    Myrianne
    Expired Member
    Post count: 48

    it was a varnish cache issue. thanks anyways!

    in reply to: cannot signup new users #368964

    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
    in reply to: cannot signup new users #368963

    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
    in reply to: Category limit not working #365001

    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
    in reply to: Video tab not working suddently #364998

    Myrianne
    Expired Member
    Post count: 48

    ok thanks that works. have a great day

    in reply to: Video tab not working suddently #362873

    Myrianne
    Expired Member
    Post count: 48

    I understand, but it used to work with the youtube address only… i dont see what changed since then… on my localhost install it still works fine.

    is there a hook/filter that I could use to ensure the embed code is entered correctly – not just the addresses? I know I could javascript it, but how about on the server side, hooking into the save_post hook, then testing the value of the video field, and adding the embed wrap around the address?

    in reply to: Video tab not working suddently #362773

    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
    in reply to: Suspect bug in gd_cpt_categories sorting #307882

    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 45 total)