lustek
Forum Replies Created
-
Forum: Plugins
In reply to: [Facebook for WooCommerce] incompatibility with prices by user roles pluginHi Marija,
if I don’ answer “Do you have any other issues” means that I don’t see any additional issues. But my initial problem is still unsolved. So I would set this thread as “resolved” only once you publish a fix.
best regards
Lukasz
Forum: Plugins
In reply to: [Heureka] serialized array in _heureka_feedin the meantime somebody answered my question in the woocommerce support forum. If you want to import heureka_cpc from excel, use this filter in your functions.php to avoid double serialization on import:
just bear in mind you have to build correct serialized array and calculate all scalars length using excel formulas.
- This reply was modified 1 year, 2 months ago by lustek.
Forum: Plugins
In reply to: [WooCommerce] woocommerce importer – serialized array in product meta fieldHi Saif, thanks. This is exactly what I was looking for. The filter to block double serialization works as I expected.
Forum: Plugins
In reply to: [Email Template Customizer for WooCommerce] reset passoworf from backofficeHi Angela,
I have tested your 2 plugins together (9mail + customizer for woo) and if both are enabled, then the default template from 9mail is used for all woo emails. Can that be fixed?
Forum: Plugins
In reply to: [Packeta] using widget onlyHi Matyas,
thanks for your prompt answer. I mean that we already have an eshop (a cusom made CMS) integrated with our ERP. So zasilkovna shipping label are printed directly in ERP. Now we’re setting up a new eshop on woocommerce. We don’t want to have shipping labels printed twice, both in woocommerce and later in our ERP. Is it doable?
Best regards
Lukasz StachowiczForum: Fixing WordPress
In reply to: bulk remove interrupted uploads from ftpok, in the meantime i found a plugin to solve my problems:
https://www.ads-software.com/plugins/image-cleanup/Forum: Fixing WordPress
In reply to: migrating site to a new domain – some random media files missingthank you very much for your reply. as i see 644 was enough.
I realized the encoding of filename was the reason. files having only ascii letters in their names were ok after the first upload. those with additional national signs in filenames were affected.
I changed the encoding, uploaded files again and it helped!
Forum: Plugins
In reply to: change the default subscription status on group creationI realized I posed my question in wrong place. it shoud be in:
https://www.ads-software.com/plugins/buddypress-group-email-subscription/please delete it mr moderator ??
in case someone wants to use imageflow from simplest gallery just like me, here is the code of sg-imageflow.php I altered. You don’t need to install simple gallery at all this way. only the altered imageflow plugin.
imageflow gallery is used only if you add type in the shortcode:
[gallery type="imageflow" ]sg-imageflow.php:
<?php /* Plugin Name: Imageflow for Simplest Gallery Version: 1.1 Plugin URI: https://www.simplestgallery.com/add-ons/ Description: Display your WordPress galleries as an Imageflow with reflected images. Requires the "Simplest Gallery" plugin (adds a new gallery style to it). Author: Cristiano Leoni Author URI: https://www.linkedin.com/pub/cristiano-leoni/2/b53/34 # This file is UTF-8 - These are accented Italian letters aeiou Includes software by Finn Rudolph, Ralf Hettinger, Richard Davey, Monte Ohrt et al. */ /* History + 1.1 2014-06-26 Fix to avoid problems in the page (div ID renamed and line breaks removed) + 1.0 2013-04-29 First working version */ /** plugin code **/ function imageflow_gallery_enqueue() { if (isTimeToLoadImageflowGallery()) { global $wp_styles; $imageflow_gallery_plugin_prefix = WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)); // add javascript to head wp_enqueue_script('imageflow_gallery-1.2.1', ($imageflow_gallery_plugin_prefix.'/imageflow/imageflow.js'), false, '1.2.1'); // add css to head wp_enqueue_style('imageflow_gallery_style-1.2.1', ($imageflow_gallery_plugin_prefix . '/imageflow/imageflow.css')); } } function imageflow_gallery_shortcode($output, $attr) { if (!isTimeToLoadImageflowGallery()) return $output; if (isset($attr['type']) && $attr['type']=="imageflow") { global $post, $wp_locale; // We're trusting author input, so let's at least make sure it looks like a valid orderby statement if ( isset( $attr['orderby'] ) ) { $attr['orderby'] = sanitize_sql_orderby( $attr['orderby'] ); if ( !$attr['orderby'] ) { unset( $attr['orderby'] ); } } extract(shortcode_atts(array( 'order' => 'ASC', 'orderby' => 'menu_order ID', 'id' => $post->ID, 'itemtag' => '', 'icontag' => '', 'captiontag' => '', 'columns' => 3, 'size' => 'thumbnail', 'include' => '', 'exclude' => '' ), $attr)); $image_size = get_option('image_size', 'medium'); $ignore_columns = get_option('ignore_columns', 'no'); $thumbnail_caption = get_option('thumbnail_caption', 'show'); $id = intval($id); if ( 'RAND' == $order ) { $orderby = 'none'; } if ( !empty($include) ) { $include = preg_replace( '/[^0-9,]+/', '', $include ); $_attachments = get_posts( array('include' => $include, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) ); $attachments = array(); foreach ( $_attachments as $key => $val ) { $attachments[$val->ID] = $_attachments[$key]; } } elseif ( !empty($exclude) ) { $exclude = preg_replace( '/[^0-9,]+/', '', $exclude ); $attachments = get_children( array('post_parent' => $id, 'exclude' => $exclude, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) ); } else { $attachments = get_children( array('post_parent' => $id, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) ); } if ( empty($attachments) ) { return ''; } if ( is_feed() ) { $output = "\n"; foreach ( $attachments as $att_id => $attachment ) { $output .= wp_get_attachment_link($att_id, $size, true) . "\n"; } return $output; } $output = makeImageflowGalleryForPCandTablets($attachments, $thumbnail_caption, $id, $image_size, $ignore_columns, $columns); return $output; } } function makeImageflowGalleryForPCandTablets($attachments, $thumbnail_caption, $id, $image_size, $ignore_columns, $columns){ $html_id="ImageFlow_".$id; $pluginpath = WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)); $siteurl = get_bloginfo('url'); $startShot = intval(count($attachments)/2)+1; $showDesc = FALSE; $reflectColor = 'ffffff'; $output .= ' <div id="imageflow_left"><script type="text/javascript" defer="defer"> domReady(function() { var instance1 = new ImageFlow(); instance1.init({ ImageFlowID:\''.$html_id.'\' , onClick: \'\' , preloadImages: false , reflectionGET: \'&bgc='.$reflectColor.'\' , startID: '.$startShot.' }); }); </script><div id="'.$html_id.'" class="imageflow">'; $count=0; foreach ($attachments as $id => $attachment) { $im = wp_get_attachment_image_src($id, $size=$image_size, $icon = false); $htmlcaption=wptexturize(trim($attachment->post_title)); $reflect_url = $pluginpath.'/reflect2.php?img='.str_replace(sgif_selfServer(),'',$im[0]).'&bgc='.$reflectColor; $output .= '<img src="'.$reflect_url.'" longdesc="'.($showDesc?$htmlcaption:'').'" alt="'.($showDesc?$htmlcaption:'').'" title="'.$htmlcaption.'" />'; $count++; } $output .= '</div><!-- /imageflow_left -->'; return $output; } function sgif_selfServer() { $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : ""; $protocol = sgif_strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s; $port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]); return $protocol."://".$_SERVER['SERVER_NAME'].$port; } function sgif_strleft($s1, $s2) { return substr($s1, 0, strpos($s1, $s2)); } function isTimeToLoadImageflowGallery(){ $show_in_pages = (get_option('show_in_pages', 'yes') === 'yes'); return (!is_admin() AND ($show_in_pages OR is_single() OR is_feed())); } add_action('wp_enqueue_scripts', 'imageflow_gallery_enqueue'); //Shortcode add_filter('post_gallery', 'imageflow_gallery_shortcode', 10, 2); ?>
Forum: Plugins
In reply to: [BP Group Hierarchy] Update for BP 2.0I join the question. Unfortunately the plugin doesn’t work in BP 2.2.1
those I suppose are most popular:
https://www.ads-software.com/plugins/bwp-minify/
https://www.ads-software.com/plugins/autoptimize/https://lusta.bdl.pl/
this is my test site. as you can see your plugin works and minifies css and js, but it keeps original files.other minify plugins combine all css files and js files into new single ones to make the number of server requests lower. that’s why I asked about combining in the description of your plugin.
Forum: Plugins
In reply to: [WP Fastest Cache] doesn't work on one of my serversyes, this is the address. I didn’t want to publish it, not to be harvested by spam-bots ??
Forum: Plugins
In reply to: [WP Fastest Cache] doesn't work on one of my serversas there is no answer from you, I assume you haven’t received the second message I sent yesterday. can you please check your spam folder?
if you still don’t find my message, you can email me – lukasz.stachowicz in the same domain like you (gmail).
Forum: Plugins
In reply to: [WP Fastest Cache] doesn't work on one of my serversHi Emre,
I wrote to you yesterday. No feedback yet from you