Patrick BAISSAT

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 60 total)
  • Author
    Posts
  • in reply to: Insert [shortcode] of another application #315459

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Hello Stofian,

    can you give me your email adress with this page : http://e-commerce-concept.eu/contact/

    or in this post if is possible.

    thank you very much

    patrick

    in reply to: Insert [shortcode] of another application #314755

    Patrick BAISSAT
    Expired Member
    Post count: 65

    re-hello,

    And it’s complicated to do the same for other places: Map bubble, Detail page sidebar, More info tab, and listing page ?

    thank you
    Patrick

    in reply to: Insert [shortcode] of another application #314601

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Ok, i write a review 5 stars.

    If you can, I advise you to develop a simple addon, to manage the display of tabs according to the login.
    Only on the 5 profiles that are original in WP, which allows to display or not the content of the field in the front office. A box to be added when the field is inserted.
    for example:
    Do you want to manage rights in this field: YES / NO
    To whom do you want to give the display rights: admin, contributor, etc. ..
    If you intend to develop this kind of addon tell me I could test it to you.

    Best regards 🙂
    Patrick

    in reply to: Insert [shortcode] of another application #314560

    Patrick BAISSAT
    Expired Member
    Post count: 65

    YES ! ! YES ! ! YES ! ! !
    It’s working correctly 🙂 🙂 🙂
    My field date_close appear if i am admin, and not for the other users.

    have a nice day, week, month, year and century
    Patrick

    in reply to: Insert [shortcode] of another application #314525

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Thank you for your help.
    If I understood correctly, I create a field, example date_close in DATE format.
    The script you gave me is written like this:

    
    
    add_filter('geodir_detail_page_tab_is_display','_my_hide_tabs_to_non_admin',10,2);
    function _my_hide_tabs_to_non_admin($val,$htmlvar_name){
    
    	//echo '###'.$htmlvar_name; // uncomment to get var names
    	if($htmlvar_name=='geodir_date_close' && !is_super_admin()){$val = false;}
    	if($htmlvar_name=='geodir_someother' && !is_super_admin()){$val = false;}
    	return $val;
    }

    I have changed your field geodir_facebook, by geodir_date_close.
    I insert this in function.php in theme child (see file in the footer of this message), and is ko.
    the new field is in back-office but not in front office, Admin or not.
    I think there’s one thing I did not understand. Is it in fucntion.php that I have to insert this script?
    I thank you again for helping me.
    Patrick
    FUNCTIONS.PHP :

    
    
    <?php
    /**
    **  activation theme
    **/
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }
    
    function my_enable_shortcodes_in_cf($html,$location,$cf){
      
        // this line will enable it for all text inputs
        $html = do_shortcode( $html );
        return $html;
    }
    add_filter('geodir_custom_field_output_text','my_enable_shortcodes_in_cf',15,3);
    
    add_filter('geodir_detail_page_tab_is_display','_my_hide_tabs_to_non_admin',10,2);
    function _my_hide_tabs_to_non_admin($val,$htmlvar_name){
    
    	//echo '###'.$htmlvar_name; // uncomment to get var names
    	if($htmlvar_name=='geodir_fin_bail' && !is_super_admin()){$val = false;}
    	if($htmlvar_name=='geodir_someother' && !is_super_admin()){$val = false;}
    	return $val;
    }
    ?>
    in reply to: Insert [shortcode] of another application #311081

    Patrick BAISSAT
    Expired Member
    Post count: 65
    This reply has been marked as private.
    in reply to: Insert [shortcode] of another application #310604

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Not too much, what I want exactly is a tab on the page of places that is visible only by login.
    Example:
    I want to create a tab to put a file or text that will only be visible to administrators. In the first tab that corresponds to the description, it works, but I would like several, different: date, file, text, etc. .
    I use the Private Content extension with tags like this: [private role = “administrator”] this text is visible only with the administrator role [/ private]
    With ACF the advantage is that the field already integrated this functionality, but it is not compatible. . . Then this extension is abandoned.
    I would be you I would create an add-on to privatize certain fields according to the login.
    But in the meantime, would you have a solution for me?
    In addition I have inserted in the file funtions.php the piece of code of Kor Chung, but I do not see any difference.
    thank you very much

    in reply to: Insert [shortcode] of another application #309925

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Thank you Paolo,

    but in Place Settings, i can create some custom fields.

    And if ACF is not compatible, another extension ? or an add-on ?

    Thanks for your help.

    Patrick

    in reply to: Insert [shortcode] of another application #309535

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Thank you,
    I modified the file function.php with your script.
    I created 2 fields with the ACF extension of Elliot CONDON, one with a file and the other with a text box.
    But I do not see it in Geodirectory -> Place settings

    Best regards,
    Patrick

    in reply to: Disabled "Send to a friend" #308086

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Thank you, i test this and come back if it is ko

    best reagrds
    Patrick

    in reply to: Problem with API ID #308085

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Bonjour Stiofan, hell Stiofan

    Tout fonctionne, all is ok.

    Pour un nouveau client j’ai créé un compte Google (Gmail) afin de créer pour lui une clé API pour Google Maps.
    La création du compte s’est bien passé, mais je n’arrivais pas à activer la clé API.
    Je pense qu’il faut attendre quelques jours entre la création d’un compte et l’activation d’une clé API.

    Mais maintenant tout fonctionne bien avec la bonne clé.

    Merci pour votre aide,

    Best reagrds
    Patrick

    in reply to: Disabled "Send to a friend" #307281

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Thank’s, but i don’t want to use the add-on Prices.

    I use Firebug for see the CSS, and i can’t disabled this.

    Can you help me for this ?

    Best regards
    Patrick

    in reply to: Problem with API ID #307112

    Patrick BAISSAT
    Expired Member
    Post count: 65

    Ok, sorry for my “bad” english, it’s not evident for me

    I buy GeoDirectory for a special customer
    This customer want access to Analytics, Search Console and API Google Map.
    I create a mail google adress for an access to all Google services
    but, Google don’t want to activate the API’s
    I think that GG don’t want to activate API for new inscription.

    If you don’t understand my message, i try GG translate for the news posts

    best regards
    Patrick

    in reply to: Problem with API ID #307110

    Patrick BAISSAT
    Expired Member
    Post count: 65

    YES ! ! ! correctly.

    Thanks
    You can close this post ?

    Best regards
    Patrick

    in reply to: Problem with API ID #307106

    Patrick BAISSAT
    Expired Member
    Post count: 65

    hello Guust,

    The problem come to Google API key.
    This website is for a customer, i create a gmail adress for this customer for have an acces to Analytics and API maps.
    When i want to activate the API, i can’t
    I have a public key API for test, and it run correctly.

    Thanks for your help, i don’t know where i can find a solution, i don’t want to use my public key for this customer.
    best regards
    Patrick

Viewing 15 posts - 46 through 60 (of 60 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount