Ced
Forum Replies Created
-
Forum: Plugins
In reply to: [Stripe Payment Gateway WooCommerce Addon] Authorize and capture lataerHi !
Thank you for your help !
I have a problem… People can buy multiple products but each product can have different end date. So I have to charge only a part of the amount…
For exemple, on checkout, someone can pay :
- 20 € for product 1 which will end on August 1st 2015
- 30 € for product 2 which will en on August 4th 2015
- 10 € for the shipping of these products
So when the date will be 1st of August 2015, I’ll check if product 1 has enough product sold. If yes, I’ll charge the buyer 20€ (price of product 1) + 10€ (shipping). When the date will be August 4th 2015, I’ll charge the 20€ left (if product have been sold enough).
Is it possible to charge part of the total amount ?
Also, how many time can we stay with authorized and uncharged amount with Stripe ?
Thank you in advance,
CédricYes, only for theme images too
Same here !
PictureFill doesn’t work since the new version of WP too :s
Done, I’m waiting for your answer ?? !
Forum: Plugins
In reply to: [Intuitive Custom Post Order] Custom Taxonomy OrderHi @hijiri !
Thanks a lot ! Any date of release ?? ?
Forum: Plugins
In reply to: [Fundify Crowdfunding (Moved)] Error in theme-stuff.phpHi !
Any news on this ?
Thanks !
Forum: Plugins
In reply to: [Theme My Login] /login/?action=register NOT FOUNDForum: Plugins
In reply to: [Explanatory Dictionary] Detect word in themplate filesYes it’s exactly the way it works. Unfortunately, you can place the following code only once per page
$dictionary = Explanatory_Dictionary::get_instance();
So If you have multiple shortcode, the_content, the_excerpt, etc… To be processed through the plugin, you just put all these codes in an other PHP file and call this template part inside the
$dictionary->add_explanatory_dictionary_words
code ?? !Glad I can help ?? !
Forum: Plugins
In reply to: [Explanatory Dictionary] Detect word in themplate filesHi @gabums !
Sorry, I had a lot of work and totally forget this thread. Hopefully you ask it again ?? !
To have a lot of template content processed through the plugin :
1. Let’s say the template is “mytemplate.php”. Create a new PHP file and call it like you want (here I call it “tobetranslated.php”).
2. Put the PHP of “mytemplate.php” that need to be processed in “tobtranslated.php”.
3. Replace that content (in “mytemplate.php”) by this piece of code :
<?php $dictionary = Explanatory_Dictionary::get_instance(); $content = load_template_part($template_path, $template_name); echo $dictionary->add_explanatory_dictionary_words($content); ?>
load_template_part($template_path, $template_name) : First argument is the path (folder etc), second argument is the name of the file (here “tobetranslated.php”)
ATTENTION : everything in “tobetranslated.php” will be processed. So If you have register the word “test” in the admin and you have a HTML class which is class=”test”, the class will be processed and so the HTML will be wrong !
Tell me if it works ??
Have a nice day !
CédricForum: Plugins
In reply to: [Explanatory Dictionary] Detect word in themplate filesForum: Plugins
In reply to: [WP Activity Log] Multisite dashboard widgetSorry it’s ok I did it !
remove_meta_box('wpphPluginDashboardWidget', 'dashboard', 'normal');
Forum: Plugins
In reply to: [Explanatory Dictionary] Detect word in themplate filesHi !
Thanks, I figure out how to do that, and it works ?? !
Have a nice day !
Forum: Plugins
In reply to: [WP Favorite Posts] Favorite in custom post type not workingOr, in order to not edit the core plugin files, you can create your own page template and put this code where you want the list to appear (it’s the content of wpfp-page-template.php, plus global variables) :
<?php global $favorite_post_ids; if ( !empty($user) ) { if ( wpfp_is_user_favlist_public($user) ) $favorite_post_ids = wpfp_get_users_favorites($user); } else { $favorite_post_ids = wpfp_get_users_favorites(); } $wpfp_before = ""; echo "<div class='wpfp-span'>"; if (!empty($user)) { if (wpfp_is_user_favlist_public($user)) { $wpfp_before = "$user's Favorite Posts."; } else { $wpfp_before = "$user's list is not public."; } } if ($wpfp_before): echo '<div class="wpfp-page-before">'.$wpfp_before.'</div>'; endif; echo "<ul>"; if ($favorite_post_ids) { $favorite_post_ids = array_reverse($favorite_post_ids); $post_per_page = wpfp_get_option("post_per_page"); $page = intval(get_query_var('paged')); $qry = array('post__in' => $favorite_post_ids, 'posts_per_page'=> $post_per_page, 'orderby' => 'post__in', 'paged' => $page); // custom post type support can easily be added with a line of code like below. $qry['post_type'] = array('post','page'); query_posts($qry); while ( have_posts() ) : the_post(); echo "<li><a href='".get_permalink()."' title='". get_the_title() ."'>" . get_the_title() . "</a> "; wpfp_remove_favorite_link(get_the_ID()); echo "</li>"; endwhile; echo '<div class="navigation">'; if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?> <div class="alignleft"><?php next_posts_link( __( '← Previous Entries', 'buddypress' ) ) ?></div> <div class="alignright"><?php previous_posts_link( __( 'Next Entries →', 'buddypress' ) ) ?></div> <?php } echo '</div>'; wp_reset_query(); } else { $wpfp_options = wpfp_get_options(); echo "<li>"; echo $wpfp_options['favorites_empty']; echo "</li>"; } echo "</ul>"; echo '<p>'.wpfp_clear_list_link().'</p>'; echo "</div>"; wpfp_cookie_warning(); ?>
And simply change the
$qry['post_type']
array to add your custom post type ??
Hope that works and that helps ?? !Forum: Plugins
In reply to: [WooCommerce] Broadcast products across a multisite?Did you ckeck https://www.ads-software.com/plugins/threewp-broadcast/ ?