Simone

Forum Replies Created

Viewing 15 posts - 226 through 240 (of 2,874 total)
  • Author
    Posts
  • in reply to: Get Directions #42379

    Simone
    Expired Member
    Post count: 3515

    disregard the first block of code, this will work

    
    
    add_action('geodir_after_social_sharing_buttons' , 'buttonmap', 10);
    function buttonmap(){
    global $post, $wp_query, $preview, $geodirectory;
    $postid = $wp_query->post->ID;
    $address= geodir_get_post_meta($postid,'post_address',true); //address
    $e_add = str_replace(' ', '+', $address); // + in space eg road+street+23
    
    $lat= geodir_get_post_meta($postid,'post_latitude',true); //lat
    $lon= geodir_get_post_meta($postid,'post_longitude',true); //lon
    //echo $e_add.$lat.$lon;
    
    echo "<a href="http://maps.google.com/maps?z=12&t=m&q=loc:".$lat."+".$lon."" target="_blank"> Mostra en Google Maps</a>";
    } 
    
    in reply to: Custom CSS box in Quick Code gone? #42361

    Simone
    Expired Member
    Post count: 3515

    in Geodirectory you can find the custom css in Design/Script (but it isn’t black as you recall 🙂 )

    in reply to: Custom CSS box in Quick Code gone? #42360

    Simone
    Expired Member
    Post count: 3515

    The quick code is in the GDF settings (it is the theme) you can find it in the GDF Options not in the Geodirectory settings

    in reply to: Problem display with category list in Homepage #42358

    Simone
    Expired Member
    Post count: 3515

    Cant see the screenshot, however a Live website will be better (you can post it in a private reply)

    in reply to: Custom CSS box in Quick Code gone? #42356

    Simone
    Expired Member
    Post count: 3515

    hi, you mean in the GDF Options? I can still see the quick code box in wp-admin/admin.php?page=_options

    in reply to: Map icon popup error #42354

    Simone
    Expired Member
    Post count: 3515

    Hello, it is an host thing, you have this error

    [Error] XMLHttpRequest cannot load http://acrossba.com/wp-admin/admin-ajax.php?action=geodir_ajax_action&geodir_ajax=map_ajax&ajax_action=info&m_id=3809&small=1&_=1434117785517. Origin http://staging3.acrossba.com is not allowed by Access-Control-Allow-Origin. (staging3.acrossba.com, line 0)

    here for more info and solution
    http://stackoverflow.com/questions/10143093/origin-is-not-allowed-by-access-control-allow-origin

    in reply to: Name of the author of the publication does not appear #42347

    Simone
    Expired Member
    Post count: 3515

    This has been fixed and will be available in the next GD-Framework release.

    in reply to: Order of listing results #42346

    Simone
    Expired Member
    Post count: 3515

    Hi, are you talking about the Popular post view widget? In that case, there is a sorting by AZ.
    You can also play in the post type settings, in the Sorting option, you can add Title and made it the default sorting (asc/desc)


    Simone
    Expired Member
    Post count: 3515

    Hello, try using the username/password (from the forum) and not your email as username.
    In your case, use uakix and then your password

    in reply to: Locationless Directory Listings #42253

    Simone
    Expired Member
    Post count: 3515

    Hello, in the settings (Geodirectory/ General) you can disable a physical location in a given post type

    in reply to: Redirect errors from GD causing major issues #42242

    Simone
    Expired Member
    Post count: 3515

    Hi Tom,I tried with Safari and Chrome, and it works fine. What I did:

    – home page
    – clicked on Members
    – Clicked on the username “site admin”
    – clicked on the tabs “Groups”
    – clicked on the group “M3 T.E.A.M.”
    all works fine, please try to delete the cache in your browser.
    A run with the GD Tools wouldn’t be bad either 🙂

    in reply to: Site won't load after migration to NetFirms hosting #42227

    Simone
    Expired Member
    Post count: 3515

    It could also be due to a wrong configuration/permission in your .htaccess

    in reply to: Site won't load after migration to NetFirms hosting #42226

    Simone
    Expired Member
    Post count: 3515

    You had something weird on the wp-config.php
    I tried to clean it up and now the errors are gone, however there is some internal server error, due to some plugin. I have reset your plugins so you can login in the backend and try to update all the plugins (and activate them onebyone) and see what’s causing the error.

    in reply to: Get Directions #42191

    Simone
    Expired Member
    Post count: 3515

    Hello, you can use the following code to display the get directions in the sidebar

    
    
    add_action('geodir_after_social_sharing_buttons' , 'buttonmap', 10);
    function buttonmap(){
    global $post, $wp_query, $preview, $geodirectory;
    $postid = $wp_query->post->ID;
    $address= geodir_get_post_meta($postid,'post_address',true); //address
    $e_add = str_replace(' ', '+', $address); // + in space eg road+street+23
    
    $lat= geodir_get_post_meta($postid,'post_latitude',true); //lat
    $lon= geodir_get_post_meta($postid,'post_longitude',true); //lon
    //echo $e_add.$lat.$lon;
    
    echo "Get Directions";
    }
    

    this will go after the sharing buttons on the right, put the code in the functions.php inside your child theme’s folder

    in reply to: Listing Menu #42109

    Simone
    Expired Member
    Post count: 3515

    Hmm, I maybe be misunderstanding your question but, have you tried mixing GD+Buddypress+Woocommerce? All the things an user (GD) sell (woo commerce) will be in the activity stream (buddypress)

Viewing 15 posts - 226 through 240 (of 2,874 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount