Stiofan O'Connor

Forum Replies Created

Viewing 15 posts - 4,936 through 4,950 (of 13,774 total)
  • Author
    Posts
  • in reply to: Crazy footer links! #380305

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    it seems to be related to some wp stats plugin, i would just hide it
    #wpstats{display:none;}

    Stiofan

    in reply to: Search problems #380304

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It seem to be working fine for me, can you explain exactly what you are doing and entering and the URL of the page you end up on please.

    Thanks,

    Stiofan

    in reply to: Hook for Custom Fields #380302

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for the info i have added the following snippet to your site under “Code Snippets”

    
    
    add_filter('geodir_custom_field_output_text','ggp_geodir_classification',15,3);
    function ggp_geodir_classification( $html,$location,$cf){
      global $post;
      
      if($cf['name']!='geodir_classification'){return $html;} // if not the field we want then return standard
      
      $classification = $post->{$cf['htmlvar_name']};
        
      if($classification =='5')
      $html = str_replace('5','<i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i>',$html);
      elseif($classification =='4')
      $html = str_replace('4','<i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i>',$html);
      elseif($classification =='3')
      $html = str_replace('3','<i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i>',$html);
      elseif($classification =='2')
      $html = str_replace('2','<i class="fa fa-star"></i><i class="fa fa-star">',$html);
      else
      $html = str_replace('1','<i class="fa fa-star"></i>',$html);
      return $html;
    }

    Thanks,

    Stiofan

    in reply to: Not showing all listings #380298

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    Can you please provide FTP and i will debug this.

    Thanks,

    Stiofan

    in reply to: Filter gd_listings shortcode by pricing package #380297

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You can filter the where clause but the problem is it filters it for all, you would have to do some further checks for the page and then further checks for what X number of times it has been called to filter in different ways. In short there is no easy way to do it. You can filter by Featured listings which you could assign to the top price package though?

    Stiofan

    in reply to: Installing Addons #380296

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    localhost is not counted.

    Thanks,

    Stiofan

    in reply to: Short Code in html field #380295

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Each field type requires a different hook
    add_filter(‘geodir_custom_field_output_text’,’my_enable_shortcodes_in_cf’,15,3);
    add_filter(‘geodir_custom_field_output_textarea’,’my_enable_shortcodes_in_cf’,15,3);

    So this should cover text AND textarea fields

    
    
    
    function my_enable_shortcodes_in_cf($html,$location,$cf){
      
        // this line will enable it for all text inputs
        $html = do_shortcode( $html );
        return $html;
    }
    add_filter('geodir_custom_field_output_text','my_enable_shortcodes_in_cf',15,3);
    add_filter('geodir_custom_field_output_textarea','my_enable_shortcodes_in_cf',15,3);

    Thanks,

    Stiofan

    in reply to: Translation Documentation Wrong #380293

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It should work there, if you feel its not then please provide FTP and wp-admin details and we will investigate.

    Thanks,

    Stiofan

    in reply to: Chrome+Android full screen button is obstructing #380224

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It’s out! 🙂

    Stiofan

    in reply to: Crazy footer links! #380221

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    How are u adding the logo? It looks like you are missing a closing ”

    <i class="fa fa-twitter >

    Stiofan

    in reply to: Search problems #380182

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Do you have multiple cities with the same name? If so you need to merge them.

    If you select the search suggestion it limits the listings to that area only, if you dont then it will show all listings within the range ordered by distance to the center of the city.
    You can disable the ajax near search under advanced search options if u want.

    Thanks,

    Stiofan

    in reply to: What the hell is going on with GeoDirectory plugin? #380181

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    SSL: Expires On Sunday, May 21, 2017 at 12:59:59 AM

    If you had a free SSL sometimes they only issue them for a few months instead of a year.

    Stiofan

    in reply to: Clusters work in chrome only? #380177

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Checkout the GD Import/export page to see what is available to export.

    Stiofan

    in reply to: Chrome+Android full screen button is obstructing #380176

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Bruce,

    I have removed the default full screen button and the change will be in the next release (hopefully today)

    Thanks,

    Stiofan

    in reply to: Soft 404s #380170

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Ronny,

    This has been implemented and will be in the next release of payments manager.

    Thanks,

    Stiofan

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