Split: Icons not shown on maps or popular categories
This topic contains 20 replies, has 5 voices, and was last updated by Paolo 10 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: category icon
-
AuthorPosts
-
March 7, 2015 at 11:22 pm #33269
Many new bugs since updates. I also have the Icon name issue on “only a few” that were added after the update.
March 7, 2015 at 11:29 pm #33271This reply has been marked as private.March 8, 2015 at 12:24 am #33279Split 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.March 8, 2015 at 6:10 pm #33305This reply has been marked as private.March 9, 2015 at 3:25 pm #33406Hi,
we are working on this and we will release a patch asap.Thx
March 9, 2015 at 3:39 pm #33412Hi, this is fixed and the patch can be seen here: https://github.com/GeoDirectory/geodirectory/commit/5208f06182361c0fbd5e11e0febc9d99e5d358bb
Thanks
March 9, 2015 at 4:53 pm #33425For 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,
March 9, 2015 at 5:28 pm #33436I 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.
March 9, 2015 at 5:43 pm #33440Changes 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
March 9, 2015 at 7:16 pm #33449It works!
Thanks
March 9, 2015 at 9:43 pm #33468@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.March 10, 2015 at 7:32 pm #33576That 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.
March 17, 2015 at 4:53 pm #34301It worked for me! Thanks for posting paolo!
March 17, 2015 at 4:59 pm #34304you are welcome 🙂
March 17, 2015 at 8:04 pm #34333Applied 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.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket