Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • `hello same problem here (version 0.9.1), I discovered it by the return of a client who could not recover the pdf generated on his site using wp mail log… I then tested on my machine with a local smtp (mailhog), the tag [reference] is always the same, the link of the file to which I add this reference to the name therefore always the same, so if I open the link of a previous mail then it is the last generated pdf which is displayed, fortunately I sent it just to the owner of the site and not to his customers, this is bad….

    seems to be related to this issue : https://github.com/Florent73/send-pdf-for-contact-form-7/issues/22

    I tried to find a solution by using [date] and adding the time with the seconds to the file name but when I add the seconds in the date format the file generated is no longer attached to the mail…

    added this issue :
    https://github.com/Florent73/send-pdf-for-contact-form-7/issues/23

    • This reply was modified 2 years, 7 months ago by reghyz.
    • This reply was modified 2 years, 7 months ago by reghyz.
    Thread Starter reghyz

    (@reghyz)

    Thanks for your answer,
    the link contain the solution to my problem, comparing virtual and actual stock will give me more flexibility on my displayed messages.

    Thread Starter reghyz

    (@reghyz)

    thanks for answering me,

    unfortunately this is indeed a very specific need,
    after looking at different booking solutions ( your one seems to me currently the most flexible i’ve seen ) I finally think that the easiest way will be to go on a custom development maybe using woocommerce (I think to develop a more “simple” schedule that would generate on the fly orders corresponding to the hours selected ).

    • This reply was modified 3 years, 2 months ago by reghyz.
    Thread Starter reghyz

    (@reghyz)

    thanks, i’ve juste checked your link, if i undersand well, it only works for custom consecutives hours ? here my scenario :

    I’d like to let users select monday, then choose 10am-11am and 15pm-16px (on the business demo mentionned on the link if i chose one it unselect the other) for this day and for friday 11am-12am and 14pm-15pm + 15p-16pm

    would it be would it be feasible ?

    is it solved by the last update ? ( last week )
    i dont see anything related to this in the changelog …

    Thread Starter reghyz

    (@reghyz)

    adding this line in your js before $(this).iris({ …. solve the problem, preventing old ones to reinit :

    $(this).hasClass('color_restricted') ? continue : $(this).addClass('color_restricted');

    Thread Starter reghyz

    (@reghyz)

    no i’ve not found a solution, qtranslate translate all my ACF fields (not only the ones using ACF qtranslate plugin )

    but i’ve just found a way in my code just by adding a part of the brackets of the languages tag and setting the ‘compare’ operator to ‘LIKE’ to my querry :

    $args = array(
        'numberposts'   => -1,
        'post_type'     => 'shared_documents',
        'meta_query' => array(
            array( 'key' => 'my_first_value', 'value'   => ']'.$wanted_valA.'[', 'compare'=>'LIKE' ),
            array( 'key' => 'my_second_value', 'value'   => ']'.$wanted_valB.'[', 'compare'=>'LIKE' )
         ),
    );
    reghyz

    (@reghyz)

    hello,
    have you found a solution to this issue ? i have the same errors in my error log, i fear the plugin may be outdated with the last version of wp/wpec ( wp3.7 & wpec 3.8.12.1 ) …

    thanks

    hi,

    Have you found an answer ? i have a similar problem, are you instaling this plugin from www.ads-software.com ? or from a another local or remote path (it append for me only in this cases) ?

    a tip i’ve found but alas didn’t solved my problem was linked to the wp wpcontent/upgrade/ folder authorizations, try to pass it to 777 instead of 755, maybe this could help with you issue …

    reghyz

    (@reghyz)

    hi,

    you said that you Js is “on the page”, do you mean the js code or the include to a .js file ?
    is it called/included into the header ? or in the page template (and is it a spécific page template) ?

    i’m agree with the fact that wp_enqueue_script() seems overkill, you could also use you js the old way, if it depends from others scripts (like jquery ?) you should add it after your wp_head() call (in case the others dependencies would be loaded with the wp_enqueue_script() method).

    if youre adding it from the header.php, you could do this to use it for this specific page you want, where “the_page_slug” is your page slug id from the admin, and js/ is your js/ folder in your template :

    <?php if( $post->post_name == “the_page_slug” ) { ?>

    <script type=”text/javascript” src=”<?php echo get_template_directory_uri(); ?>/js/”></script>
    or
    <script> … the js code … </script>

    <?php } ?>

    hope this could help..

    reghyz

    (@reghyz)

    Hi,

    take a look at this page : https://codex.www.ads-software.com/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

    under ” ‘orderby’ with ‘meta_value’ and custom post type ” you’ve got an exemple of a meta query thar you could add to your query vars,

    in your case it should be a thing like this instead i think :

    $args = array(
    ‘post_type’ => ‘event’,
    ‘meta_key’ => ‘event_start_date’,
    ‘orderby’ => ‘meta_value’,
    ‘order’ => ‘DESC’,
    ‘meta_query’ => array(
    array(
    ‘key’ => ‘event_start_date’,
    ‘compare’ => ‘LIKE’,
    )
    )
    );
    $query = new WP_Query($args);

    Thread Starter reghyz

    (@reghyz)

    ok, thanks

    Thread Starter reghyz

    (@reghyz)

    hi Stefano,
    I don’t use any cache system actualy, but i may be needed a near future, thanks for sharing your experience, it’s a precious advice.

    by the way, what cache system are you using on your BBPress, and how did you solve this problem ?

    Thread Starter reghyz

    (@reghyz)

    ok, i think i’ve found it in class-wp-comments-list-table.php from wp-admin, here’s my code (add it in the comment callback function, twentyten_comment() in function.php for exemple):

    <?php
    $approve_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "approve-comment_$comment->comment_ID" ) );
    $url = home_url( '/' )."wp-admin/comment.php?c=$comment->comment_ID";
    $approve_url = esc_url( $url . "&action=approvecomment&$approve_nonce" );
    echo '<a class="publish" href="'.$approve_url.'" >approve comment</a>';
    ?>
    Forum: Plugins
    In reply to: Using Cufon in TinyMCE

    Hi KGarrett,

    have you found a way to add cufon to TinyMCE editor field?
    I’m trying to do the same thing, i am using the tintMce “style” dropdown menu to add my cufon class to the text, and i add my cufon js call (the sames used in my theme for the front) in admin header with this code in my function.php :

    function addCufonToAdmin() {
        $templatePath = get_template_directory_uri();
    		echo'
    		<script src="'.$templatePath.'/js/cufon/cufon-yui.js" type="text/javascript"></script>
    		<script src="'.$templatePath.'/js/cufon/myfont.js" type="text/javascript"></script>
    		<script>
    			 Cufon.replace(".myCustomCufonText", {fontFamily: "myfont"});
    		</script>
    		';
    }
    add_action('admin_head','addCufonToAdmin');

    but it dont seems to work, even when i reload the page.
    I’ve added the same way the cufon.now() code to the admin footer page, i’ve also tried to add a custom button to tinYMCE to manualy launch the cufon refresh but nothing change in the editor. Maybe the js hook should be added to tinymec instead of admin header… duno..

    i keep trying things, does someone have a clue ?

Viewing 15 replies - 1 through 15 (of 21 total)