Split: Icons not shown on maps or popular categories

This topic contains 20 replies, has 5 voices, and was last updated by  Paolo 9 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #33269

    DesignGuy
    Expired Member
    Post count: 92

    Many new bugs since updates. I also have the Icon name issue on “only a few” that were added after the update.

    #33271

    DesignGuy
    Expired Member
    Post count: 92
    This reply has been marked as private.
    #33279

    Guust
    Moderator
    Post count: 29970

    Split from
    https://wpgeodirectory.com/support/topic/icons-not-shown-on-maps-or-popular-categories/

    The code does not seem to pick up the src of the icon.
    It also does not show in the legend of the homepage map.
    And the icons are not being used on the map, the default is used.

    I cannot replicate this on my test site or on the demo.
    I’ll refer this to Paolo.

    Do not post private details on topics started by other users.
    Private messages are viewable by all GD admins AND the person who started the topic.

    #33305

    DesignGuy
    Expired Member
    Post count: 92
    This reply has been marked as private.
    #33406

    Paolo
    Site Admin
    Post count: 31206

    Hi,
    we are working on this and we will release a patch asap.

    Thx

    #33412

    Paolo
    Site Admin
    Post count: 31206
    #33425

    DesignGuy
    Expired Member
    Post count: 92

    For those more technically challenged… how do we apply the patch(s) or will we need to wait for an update? Perhaps a tutorial and a listing of exactly which files to update and to update in parent or child?

    Thanks,

    #33436

    jjruizrivera
    Free User
    Post count: 153

    I have modified those files (attached below) but it did not make a difference. Reboot the server,clear the cache and disable the booster did not help either.

    #33440

    Paolo
    Site Admin
    Post count: 31206

    Changes are 2:

    In geodirectory/geodirectory-functions/taxonomy_functions.php

    after line 1390 (between functions geodir_term_exists and geodir_get_term_icon) add:

    
    
    
    function geodir_get_term_icon_rebuild(){
    
     update_option('gd_term_icons','');
    
    }
    

    In geodirectory/geodirectory_hooks_actions.php line 176 replace:

    
    
    
    add_action('edit_category', 'geodir_get_term_icon', 5000, 2);

    with:

    
    
    
    add_action('gd_tax_meta_updated', 'geodir_get_term_icon_rebuild', 5000);

    If you can’t follow these instructions, an update will be released very soon, probably tomorrow.

    Thanks

    #33449

    jjruizrivera
    Free User
    Post count: 153

    It works!

    Thanks

    #33468

    Guust
    Moderator
    Post count: 29970

    @design
    There is an update planned just to fix that bug, and will be pushed out very soon. You can just wait for that if you like.

    #33576

    DesignGuy
    Expired Member
    Post count: 92

    That was crazy. Installed fixes, deactivated/activated plugins, nothing yet. I had to go in and delete one of the category icons and reselect it and immediately all icons began to behave. Whatever forced the push for those updates was, it happened. Thanks.

    #34301

    rosarnach
    Expired Member
    Post count: 71

    It worked for me! Thanks for posting paolo!

    #34304

    Paolo
    Site Admin
    Post count: 31206

    you are welcome 🙂

    #34333

    DesignGuy
    Expired Member
    Post count: 92

    Applied the patches for missing icons last week and it fixed the issue until today, when added another category and icon and its back again. Oddly this is not the first category and icon added, since, but the first to show error.

    FYI, I have not applied today’s updates: I did not see mention of missing icon (and icon text in lieu of) change logs for today’s updates.

    Please advise.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount