new address template not working

This topic contains 12 replies, has 4 voices, and was last updated by  Stiofan O’Connor 7 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #257580

    Diane Kelm
    Buyer
    Post count: 49

    I just updated to the latest GeoDirectory release v1.6.6.
    Now I have lost changes to the address template that I defined.

    add_filter( ‘geodir_show_post_address’, ‘geodir_change_address_order’, 100, 2 );

    no longer taking effect.

    #257601

    Diane Kelm
    Buyer
    Post count: 49

    is there a work around or fix that can be used?

    #257651

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    Version 1.6.6 introduced few changes in the way default and custom fields work.

    That is the only reason I can think of. I asked to Stiofan to check if the changes would make that hook no longer work and to let us know how to fix it asap.

    Thanks for your patience,

    #257691

    Paolo
    Site Admin
    Post count: 31206

    Stiofan said it shouldn’t be the case, where did you add the code?

    This isn’t enough to change how the address looks:

    add_filter( 'geodir_show_post_address', 'geodir_change_address_order', 100, 2 );

    there should be a function geodir_show_post_address too.

    If you provide a link and admin credentials we can have a look too.

    Let us know,

    Thanks

    #257719

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I am not sure what changes u are doing to the address but you can disable specific parts from address custom field settings now.

    I will look again at this in the morning.

    Stiofan

    #257801

    Diane Kelm
    Buyer
    Post count: 49
    This reply has been marked as private.
    #257838

    Diane Kelm
    Buyer
    Post count: 49

    thank you for the excellent support.
    here is a screen shot of issue i am experiencing

    #258183

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have fixed this now, please check.

    Thanks,

    Stiofan

    #258631

    Diane Kelm
    Buyer
    Post count: 49

    Yes. It works now. Thank you. What was the issue?

    #260852

    joao Delgado
    Buyer
    Post count: 23

    Hi.

    I am having the same issue.
    I have changed the adress format to:

    R. da Quinta do Leme 8 – Street and door number
    9020-223 Funchal, Madeira. – Zip code, city and region/district

    but, after i´ve updated the plugin, it went back to:

    R. da Quinta do Leme 8 – Street and door number
    Funchal – City
    Madeira – Region
    9020-223 – Zip code
    Portugal – Country

    How can i fix this?

    Thanks

    #260888

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    We just released core 1.6.7, please update that and check.

    Thanks,

    Stiofan

    #260978

    joao Delgado
    Buyer
    Post count: 23

    Hi.

    Yeah, 1.6.7 fixed it.

    Thanks

    #261066

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Great! 🙂

Viewing 13 posts - 1 through 13 (of 13 total)

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

Open Support Ticket