kala konto

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 32 total)
  • Author
    Posts
  • in reply to: Forms in GeoDirectory Tabs #427380

    kala konto
    Expired Member
    Post count: 38

    How i got it to work is this:

    1. Included codes only to show a tab and echo shortcode if email is set in to functions.php
    2. Created shortchode form (same as in https://wpgeodirectory.com/contact-form-7-vs-simple-html-form/)
    Added before that for a query to mysql database to fetch company name a nd the set email in geodir_hpvorm

    3. added 2 extra hidden inputs to echo data fetched from mysql
    4. added those 2 values to jQuery function

    5. defined those valus in functions.php as variables
    6. set the variables in email form

    I think il start to customize this form then, despite its an ugly wp_mail

    If someone could let me know why i cant use my own forms

    if(filter_has_var(INPUT_POST, 'submit')){

    and it errors

    geodir_advanced_search_js_msg is not defined

    i would love to know ! It would let me use the mail function instead and include an awesome form to GD.

    in reply to: Forms in GeoDirectory Tabs #427375

    kala konto
    Expired Member
    Post count: 38

    Hi Alex,

    Yeah im waiting for the GDV2 to come out, it just sucks i have scheduled my site launch within 2 months.
    I would even consider using it, if it supported all the addons in beta, that i have installed for v1 like billing, translating etc.
    Is there any kind of an estimate when the core will be released ?
    As i understand, plan is to test add-ons during beta and then do full launch, not a launch and then make add-ons releases?

    Hi Kiran,

    Im sorry but i am using a written example that should work and i am only asking why is it not functioning as in the tutorial.

    https://wpgeodirectory.com/formidable-forms-in-geodirectory-tabs/
    https://wpgeodirectory.com/contact-form-7-vs-simple-html-form/

    I understand if i try to customize that, then it is beyond support. If i could just understand why the e-mail (and title) is not echoing out in to function, i could start to customize it on my own.

    __________________________________________________________________
    If its any help i can share my customization i tryed yesterday night.
    I tryed to pull the info from mySQL database
    query:

    
    
        $place_name = get_the_title( $post_id );
    
        $query = 'SELECT geodir_hpvorm FROM wp_geodir_gd_place_detail WHERE post_title LIKE ';
        $query .= "'%$place_name%'";

    and it echoed out right away. (with foreach loop)

    Only thing is my own form im not using a function but a

    if(filter_has_var(INPUT_POST, 'submit')){

    and it breakes the tab…
    it get an error of

    geodir_advanced_search_js_msg is not defined

    So right now il start to try if i can make ajax call a function that includes variables to mail.
    __________________________________________________________________

    If i could get the sample form to work as it should, it would be done, case closed.

    in reply to: Forms in GeoDirectory Tabs #427264

    kala konto
    Expired Member
    Post count: 38

    the same is with $subject variable, in tutorial it was set up to get listing title but it does not echo also. Something is wrong getting the data to echo out.

    in reply to: Forms in GeoDirectory Tabs #427263

    kala konto
    Expired Member
    Post count: 38

    sorry but i found an error.
    It only sends to an admin email now because of the if empty loop.

    The code has set up to send to geodir_email, but i needed to send it to geodir_hpvorm set email.
    So i in:

    
    
    	$place_email = '';
    	$post_id = (isset($_POST['gd_place_id']) && $_POST['gd_place_id']) ? absint($_POST['gd_place_id']) : '';
    	if ($post_id) {
    	  $place_email = geodir_get_post_meta($post_id, 'geodir_email');
    	}
    	if (empty($place_email)) {
    		$place_email = geodir_get_site_email_id();
    	}

    The:

    $place_email = geodir_get_post_meta($post_id, 'geodir_email');

    and:

    
    
    	if (empty($place_email)) {
    		$place_email = geodir_get_site_email_id();
    	}

    To:

    $place_email = geodir_get_post_meta($post_id, 'geodir_hpvorm');

    and:

    
    
    	if (empty($place_email)) {
    		echo "bad";
    	}

    So it only echos bad now, it still cant get the email set in the geodir_hpvorm, what is the same field that generates the BOOK NOW tab itself

    in reply to: Forms in GeoDirectory Tabs #427246

    kala konto
    Expired Member
    Post count: 38

    Hello Kiran,

    Thats what i get for working till 2 am …

    Thank you so much for such fast help, this has made my geodir site semi-automatic and awesome !

    in reply to: Forms in GeoDirectory Tabs #427231

    kala konto
    Expired Member
    Post count: 38
    This reply has been marked as private.
    in reply to: Forms in GeoDirectory Tabs #427223

    kala konto
    Expired Member
    Post count: 38

    looking of the code it seemes correct ?
    i have tryed echoing out $recipients and $place_email without success.
    The form and email part are working, sening to a fixed email works.
    Problem is it will not get the geodir_hpvorm into a variable, it might me due that stupid form id = 2.
    I tryed removing it (just using $form) and tryed making my shortcode a id = 2.

    i just cant figure out why the first part of it works (recognicing a “hpvorm” email set and creating a new tab with shortcode echo) and suddenly it cant get the email to echo out with variable…

    in reply to: Forms in GeoDirectory Tabs #427210

    kala konto
    Expired Member
    Post count: 38
    This reply has been marked as private.

    kala konto
    Expired Member
    Post count: 38

    GDv2 seems to be great, too bad it takes months for the actual release with plugins integration.

    I am stuck between rock and a hard place now, as i have scheduled my site launch at 2 months time.
    Seems like i have to deal with v1 for a start.

    Question: updating to v2, all of my previos heavy css editing and plugin integrations will for the most part stop working and need re-doing ?

    Best of luck to all of you, especially v2 developers 🙂 CANT WAIT !

    in reply to: Map default marker icon w/o sub-category #422053

    kala konto
    Expired Member
    Post count: 38

    This code works allmost as i need to, only problem is that the maps in details page icons change also.
    Could there be added a “except for map” function or “only in details text area/tab)

    in reply to: listing page logo opening details page #420114

    kala konto
    Expired Member
    Post count: 38

    No, i would like clicking on the logo from list view to open up companys details page.
    At the moment it just shows large image if clicked.

    Is there better documentins for class triggering, i entered “logo” there and tryed to css “.logo”, it did not even show up in the page source to have a class

    in reply to: mobile not showing pictures #409969

    kala konto
    Expired Member
    Post count: 38

    Hi Kor,

    I tryed Better search but did not understand it well, after half an hour of searching around mysql i googeled a lot more and found Timthumb Scanner, thanks to scanning with that i found out only file was in my mobile tester plug-in (altough Better search found 8 results in mysql that icould not locate).
    Removing that plug-in fixed everything !

    Thanks for help

    in reply to: mobile pahe section arragment swap #409959

    kala konto
    Expired Member
    Post count: 38

    Thanks for looking.

    Any idea how much it would cost as a develpoer job ?

    in reply to: mobile pahe section arragment swap #409933

    kala konto
    Expired Member
    Post count: 38
    This reply has been marked as private.
    in reply to: Map text color #409931

    kala konto
    Expired Member
    Post count: 38

    thank you

    i was watching the listing map before.
    i needed to add 2 more codes to get all maps fuction

    Codes for anybody with same problem:
    #geodir_map_v3_listing_map_4_wrapper p {
    color:#fff!important;
    }
    #geodir_map_v3_listing_map_1_wrapper p {
    color:#fff!important;
    }

    map numbers way be different*

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