tobiasmalikowski
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] ALM not respecting cache pluginYes it got loaded twice and fired twice. So I’ve ended up with duplicated posts.
After removing your javascript from the caching plugin it worked as it should be. (1 include, 1 request, no duplicated posts)I’m just wondering why it worked in the past and why including all your addongs (seo, pagination, etc.) works with W3 Total Cache, but the core stopped working.
Forum: Plugins
In reply to: [Custom Permalinks] Polylang – Share same slug between languages@Jaaarne
Hi Jaaarne,
I’ve solved it by purchasing the pro version.
But it’s also possible through research and writing custom php.
Thats what I did before. But in my eyes its not worth the effort.
Just go for the pro version.Forum: Plugins
In reply to: [TinyPNG - JPEG, PNG & WebP image compression] PHP7 compatibilityHi there just updated to version 3.0 of your plugin.
Unfortunately the warning still occurs on two instances.tiny-compress-images/src/class-tiny-notices.php
134 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
169 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
Can you please integrate a fix for this in the next version. Fix is pretty easy see PHP Manual.
Thank you, have a nice day.
Tobias
- This reply was modified 6 years, 2 months ago by tobiasmalikowski.
Forum: Plugins
In reply to: [Custom Permalinks] Polylang – Share same slug between languagesHey guys,
I’m facing the same issue as described.
The slug should be the same for different languages (good example for this use case are product names which are the same even in different languages)Url Structure:
domain/language/slugExample:
https://braukon.de/hopgun/ (default)
https://braukon.de/en/hopgun/ (english)One weird thing I found out is, that when you are logged in as admin (caching is deactivated) you can switch language for those pages. But when you are a normal user you cant switch page language on pages which share the same slug.
I’m happy to help to resolve this issue. Please contact me at [email protected]
By the way I would love to know if this issue is resolved with the pro version?
(Just saw the comparison table and it looks like the pro version fixes this issue. Is it true that you only get updates for one your with the pro version, after that you have to buy it again?)Tobias
- This reply was modified 6 years, 4 months ago by tobiasmalikowski.
Forum: Plugins
In reply to: [Photoswipe Masonry Gallery] v2 status+1, need to get an update on the status.
Tried v2 with WordPress 4.9.2 (current release) and got multiple errors, even when i activated the plugin.
- This reply was modified 6 years, 9 months ago by tobiasmalikowski.
Forum: Plugins
In reply to: [Photoswipe Masonry Gallery] Performance issuesHi there,
when will v2 be released? The performance issues with v1 are crucial and I need to fix this as asap, otherwise i have to switch to another gallery plugin.
Is v2 already ready to use? I’ve installed it (WordPress 4.9.2), but instantly run into errors like “Undefined index: item_count in frontend/class-psm-frontend.php on line 94”. Even activating the plugin gave me an error “the plugin created 243 characters unexpected output while activating.”
Cheers,
Tobias
- This reply was modified 6 years, 9 months ago by tobiasmalikowski.
Hi @dcooney,
I was able to solve this. In the repeater templates I’m using the post_id, so the setup for opening the modals works by default. After that I included the previous and next functionality with some clever JavaScript.
Thanks, I will close this.
Otherwise I also could assign the post id to the posts (which adds the open modal functionality) and use JavaScript to get the post ids of the previous and next posts and assign them.
Let me know what you think.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Fallback if JS disabledI’m setting a variable into the PHP Session to check if JavaScript is enabled.
Then I’m simply checking if the variable is not send (no JavaScript available).If thats the case I do my default loop in <noscript> tags.
Please note that I can’t provide my full code, since my theme is customized very strong.
// If no JavaScript is enabled load the customers via PHP if(!isset($_SESSION['java_script_activated'])) { // Output posts in <noscript> tags with PHP }
- This reply was modified 7 years, 5 months ago by tobiasmalikowski.
Ok I was able to solve this. The issue was caused by script version numbers which got appended at the scripts in the Minify JS section. By removing those appended version numbers, the new scripts got loaded. Now everything works as expected.
Quick Update here, it looks like this has to do with the caching plugin I’m using (W3 Total Cache). The issue remains, even after clearing the whole cache. Only if I deactivate the plugin, everything works fine again.
Can someone reproduce this, or has any thoughts what causes this issue?
EDIT
Ok found out that this is caused by the JS minification of W3 Total Cache.
Its just strange, since this only happens to the new version of ALM. Darren can you please check your changed code. It looks like the updated code breaks when minified…Anything new on this?
Also wanted to mention that the whole ALM Plugin gets inserted multiple times, not only the alm-btn-wrap.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Feature Request – Cache & FilterJust wanted to let you know, that I haven’t forgotten this, but currently have no time to test it.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Feature Request – Cache & FilterNo till now I left the cache_id set and just toggled cache (true/false). I thought this would be enough. Maybe I find some time to test this tomorrow.