Change Facebook Import Error Message

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 8 years, 5 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #68495

    netbrasil
    Expired Member
    Post count: 133

    Hi again!

    Is there anyway to modify the error message of facebook import when user/members tries to enter a wrong url?

    At first i thought the import feature doesnt work. But i saw that the uers are entering a wrong URL.

    So, It will work like a guide for them. Usually they dont notice the placeholder format.

    As of now the error message is :

    “Something went wrong (803)”

    or probably http://prntscr.com/9qaopz

    #68804

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you an change the place holder from within the social importer po file.

    To adding instructions near input field try this in your theme functions.php file:

    
    
    add_action( 'geodir_before_detail_fields', 'importer_instructions',4 );
    function importer_instructions() {echo 'enter a yelp or facebook URL like https://facebook.com/pagename';}

    Thanks

    #68864

    netbrasil
    Expired Member
    Post count: 133

    thank you paolo!

    #68950

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

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

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

Open Support Ticket