roffel
Forum Replies Created
-
Cory,
Thank you. I have sent a ticket and you responded very quickly. Now waiting for the bugfix that will come next week… just great!
Thanks again, keep up the good work!
Cheers,
Rolf
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobile//Custom Gallery Output add_filter('post_gallery', 'my_post_gallery', 10, 2); function my_post_gallery($output, $attr) { global $post; 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' => 'dl', 'icontag' => 'dt', 'captiontag' => 'dd', 'columns' => 3, 'size' => 'thumbnail', 'include' => '', 'exclude' => '' ), $attr)); $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]; } } if (empty($attachments)) return ''; // Here's your actual output, you may customize it to your need //$output = "<div class=\"slideshow-wrapper\">\n"; //$output .= "<div class=\"preloader\"></div>\n"; //$output .= "<ul data-orbit>\n"; // Now you loop through each attachment foreach ($attachments as $id => $attachment) { // Fetch the thumbnail (or full image, it's up to you) // $img = wp_get_attachment_image_src($id, 'medium'); // $img = wp_get_attachment_image_src($id, 'my-custom-image-size'); $img1 = wp_get_attachment_image_src($id, 'large'); $img = wp_get_attachment_image_src($id, 'thumbnail'); //$output .= "<li>\n"; $output .= "<div class=\"col-xs-4 col-md-3\">\n"; $output .= "<div class=\"box-gallery-thumbnail\">\n"; $output .= "<a href=\"$img1[0]\" class=\"swipebox fade\" title=\"myCaption\"><img src=\"{$img[0]}\" alt=\"image\" /></a>\n"; //$output .= "</li>\n"; $output .= "</div>\n"; $output .= "</div>\n"; } //$output .= "</ul>\n"; //$output .= "</div>\n"; return $output; }Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobile@dfactory, yes, I understand that! Thanks for the reply. You could mention in your plugin, SwipeBox is not fully supported? Or that it is broken… 😉
I’m not a die hard programmer. But isnt’t it possible to attach an extra jQuery only used for the SwipeBox scripts?
@squazz: I could write a complete tutorial about it… 😉
It comes down to the following (Google the sentences below!):
1. Deregister WordPress jQuery (THIS MIGHT BREAK OTHER PLUGINS). Use Google’s latest jQuery with WordPress. Or enqueue your own.
2. Read Swipebox instructions.
2. Enqueue Javascripts and CSS from Swipebox.
3. Add a filter to your WordPress gallery output, so you can use the Gallery function with your photo’s and add the right classes SwipeBox needs. It’s something like this: add_filter(‘post_gallery’, etcetera (see below). SwipeBox is picky, so use exactly the right markup (that part took me some time).
4. Enjoy your work!Any thoughts and feedback comments are appreciated.
Cheers!
Rolf
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobileHi!
Indeed. It is a shame. Good plugin. But not anymore. At least, for me… I waited for two weeks for a solution and then decided to not bother my client any longer.
I tried the following:
Used jQuery latest version (hosted by Google / with jQuery updater plugin) and put the most recent Swipebox files in the dFactory plugin directories. Did not work. The whole thing broke apart.Then I tried the following:
Deleted the dFactory plugin (shame!). Again used the latest jQuery version (I have a simple website so this action doesn’t break anything for me). Then I implemented the jQuery plugin manually. That did work. I tried it on a lot of devices and I am happy. Of course, you need to do it all yourself, but you get ‘more freedom’ as well. You can see the results here: http://www.ericvanlokven.com/ (Swipebox is working on underlaying pages).Cheers,
Rolf
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Doesn't work properly on mobileHi,
Thanks for this plugin. But it’s not as good as it was… It’s basically useless now. Having the same problems mentioned above.
The Swipebox is not working on most mobile devices (old version of iPad worked, on new version of iPad it’s not working anymore). Iphone and Android: the same.
Swipebox jQuery plugin (used by dFactory’s plugin) needs an update, but WP jQuery version is not working with newest version of this jQuery plugin. dFactory’s forum shows a lot of people having the same problem.
Is there a (detailed and well explained) fix for this? Untill WordPress updates jQuery that would be nice. Squazz post is not exactly clear to me. Could you tell me a bit more? Where to put the code, for example?
Otherwise I have to implement the Swipebox into WP itself. Using a jQuery update plugin, for example. That should work..?
Any ideas? Suggestions?
I’d love to use this plugin.. if I can make it to work again..
Cheers,
Rolf
Marco,
Okay, thanks again! Really nice..
Cheers,
Rolf
Marco,
Thanks for the reply. I downloaded and installed the new dev version and it works! Great man!
Maybe it is good to know I also tested it on another WP install (with a couple of different plugins installed, like Contact Form 7) and there the problems didn’t occur (just like you tested it).
BTW: do I have to install the original Plugin folder or can I just rename your dev version when I like to update your plugin?
Again, really appreciate your help! Keep up the good work!
Cheers,
Rolf
Marco,
Thanks for the reply. Did you try it on a Mac? On a PC it seems to work fine..
Below my output copied from the console (Safari/Mac):
[Error] TypeError: ‘undefined’ is not an object (evaluating ‘a.createRange’)
getRng (wp-tinymce.php, line 6)
getNode (wp-tinymce.php, line 6)
(anonieme functie) (wp-tinymce.php, line 54)
r (wp-tinymce.php, line 8)
fire (wp-tinymce.php, line 9)
setContent (wp-tinymce.php, line 10)
update_content (black-studio-tinymce-widget.min.js, line 2)
deactivate (black-studio-tinymce-widget.min.js, line 2)
(anonieme functie) (black-studio-tinymce-widget.min.js, line 2)
dispatch (load-scripts.php, line 3)
handle (load-scripts.php, line 3)
trigger (load-scripts.php, line 3)
trigger (load-scripts.php, line 8)
(anonieme functie) (load-scripts.php, line 3)
each (load-scripts.php, line 2)
each (load-scripts.php, line 2)
trigger (load-scripts.php, line 3)
(anonieme functie) (load-scripts.php, line 28)
j (load-scripts.php, line 2)
fireWith (load-scripts.php, line 2)
x (load-scripts.php, line 4)
b (load-scripts.php, line 4)—
It’s magic for me, but maybe it helps you solve the issue!
Cheers!
Rolf
Hi!
I’m having exactly the same problem. I can only save it in Chrome when in text-mode (on a Mac)
Great plugin, love it! It’s in my standard toolkit for building websites too…
Hope this is solved shortly, though!
Keep up the good work, this seems to be a minor problem (important minor problem…).
Cheers, Rolf
Forum: Plugins
In reply to: [WP Ultimate CSV Importer – Import CSV, XML & Excel into WordPress] OrderCool, thanks!
Forum: Plugins
In reply to: [Collapse-O-Matic] Pro Version – Update ForbiddenHello!
Same problem here. I’m on WP 3.8.1 and paid for the PRO version.
Message:
Downloading update from http://plugins.twinpictures.de/wp-content/uploads/edd/2013/11/collapse-pro-matic-v1.0.2.zip…
Download failed. Forbidden
—
Since we pay for this plugin, it would be great if this could be fixed!
Thanks!
Rolf
Forum: Plugins
In reply to: [Woocommerce CSV importer] Won't Show ImagesAND, don’t put your csv-file in your csvimport-folder. It will not upload in that case. (See previous comment)
AND, when importing 250 products I have to split up the importfile. I can only get “5 rounds with 25 rows” in it. Then it stops.
AND, AND, AND.. but finally it works..
When you like to tweak and improvise I would certainly recommend this plugin. Otherwise, not.
Forum: Plugins
In reply to: [Woocommerce CSV importer] Won't Show ImagesPoh, i feel your frustration.
Thanks for the free plugin Allaerd, but it needs some tweaking to let it work. This is how I (eventually) could make the image part work:
-Create a folder in your ‘uploads’ folder: ‘csvimport’. Otherwise you have a permissions problem (on my local Wamp/Windows setup).
-Put your images (and csvimport.csv file) in that same csvimport-folder.
-In your csvimport.csv file create image urls like this: (with an absolute url) http://192.168.0.196/example/wp-content/uploads/csvimport/20200.JPG
-When you setup the headers before you import the file: ‘featured’ didn’t work for me. ‘images’ did work. Because I have only one photo per product, that works. Although I would love to see the ‘featured’ option work as well.
Extra: Prices only work with . Not with , And I put a Regular and (Normal) price in the header to let that part work.
And: while importing a file it says: 1/8 starting… BUT: nothing happens.. you think.. it WILL import your products, though.
You need to keep on tweaking with this plugin. Or buy the WooCommerce Plugin.
Cheers!
Rolf
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Sort button missingHi,
Reset the Options in the plugin-admin will probably help! Remember your own settings first, and put them back afterwards…
Cheers,
Rolf
Forum: Installing WordPress
In reply to: [Plugin: WP Security Scan] No admin access anymorethanks! worked fine!