Stiofan O'Connor

Forum Replies Created

Viewing 15 posts - 2,461 through 2,475 (of 13,774 total)
  • Author
    Posts
  • in reply to: Export Query? #419251

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It would be somthing like this:

    SELECT * FROM 'wp_geodir_gd_place_detail' pd  LEFT JOIN 'wp_posts' p ON pd.post_id=p.ID WHERE 1=1

    Stiofan

    in reply to: listing description not visible after saving #419250

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Yeah i narrowed it down to either the theme or WPML main plugin. Without switching themes for a few seconds i can’t really narrow it down much further.

    Stiofan


    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please check now, you still had the “GeoDirectory – Multinews Theme Compatibility” plugin active.

    Stiofan

    in reply to: Anyone can edit a listing? #419240

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This is not possible, we have changed the way listings are added in GDv2 which will make it easier to implement this sort of WIKI feature if requested by users in future.

    Stiofan

    in reply to: Customisation templates for add-ons #419239

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Everything in that file is filterable, what exactly are u trying to change?

    Stiofan

    in reply to: Wp-editor in Add listing #419119

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    That is not a default option for the editor, i don’t even know what it is?
    We load the default basic editor for security reasons.

    Stiofan

    in reply to: Category Name from Default_Category? #419100

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are welcome! 🙂

    in reply to: listing description not visible after saving #419099

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for the info.

    It seems to be failing just before this line is output

    <input type="hidden" name="avia-loader-nonce" id="avia-loader-nonce" value="d80ee71de4" />

    I am not sure if the problem lies in the theme or in WPML.
    If you can try stitching theme quickly and then re-checking the problem is fixed or not that will help.

    Otherwise you might need to contact WPML.

    Stiofan

    in reply to: Wp-editor in Add listing #419089

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    We only load the default editor, i’m not sure it would be possible to make it add the 3rd party extension without editing core files.

    What does the extension do?

    Stiofan

    in reply to: Default listing picture disappearing #419087

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks Alex,

    It seems to be related to the business hours plugin, it is throwing a PHP fatal error.
    Please contact the developer direct for support or you can try disabling the plugin to confirm that the problem.

    Thanks,

    Stiofan


    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hmm, i’m confused as to where our class wrappers have gone :/

    If you can also provide FTP details i will check whats going on.

    Thanks,

    Stiofan

    in reply to: Category Name from Default_Category? #419053

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The function you use should get it, this is how i woudl do it:

    
    
    global $post;
    //echo "the default cat id is:".$post->default_category; // uncomment for testing.
    $term = get_term_by('id', $post->default_category, $post->post_type.'category');
    //print_r($term); // uncomment for testing.
    echo $term->name;

    Stiofan

    in reply to: Auto assign Author of listing #419051

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello again Piotrek 🙂

    The below snippet will change the author to whatever u want AFTER the confirmation email has been sent to the user.

    
    
    add_action('geodir_after_save_listing','_my_change_author');
    function _my_change_author($post_id){
       wp_update_post( array('ID' => $post_id,'post_author' => '1') );
    }

    change the ‘1’ with the user id u want to assign it to.

    Thanks,

    Stiofan

    in reply to: listing description not visible after saving #419049

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    There seems to be an error on the page, can you provide FTP details and i’ll check the error logs.

    Thanks,

    Stiofan

    in reply to: Default listing picture disappearing #419048

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Can someone link me to a page where the error is, i don’t see it?

    Stiofan

Viewing 15 posts - 2,461 through 2,475 (of 13,774 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount