yoav.aner
Forum Replies Created
-
Hi korgay,
That’s much clearer now. First of all, good to know there isn’t a problem with ajaxize.
As for your problem, I tried to have a quick look at your page, and if I’m not mistaken this results from the alexa javascript running inline and effectively blocking every other javascript until it finishes. This can result in other problems on the page, not just ajaxize, and is generally considered bad practice.
This is the alexa code that might be blocking:
<p id="alexa-footer-widget"><A href="http://www.alexa.com/siteinfo/www.balikpesinde.com"><SCRIPT type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/s/a?url=www.balikpesinde.com'></SCRIPT></A></p>Try to find an alternative widget that runs asynchronously, or change this javascript so it doesn’t block (perhaps use this example). Another alternative might be to run the alexa widget in an iframe.
If the widget is slow then there isn’t much that ajaxize can do. Perhaps it’s better not to use ajaxize for those and instead cache the result of the widget once so it loads faster?
If you want to send me a link / example of a page where it happens I can try to have a look and see if there’s anything I can do.
Forum: Plugins
In reply to: [W3 Total Cache] Error: "A group configuration for "include" was not set."When is this fix released? I just had this error for the first time. I’m using manual configuration for both css and js. What triggers this error? (even if it’s a false positive, I’d like to double-check if possible)
Forum: Plugins
In reply to: [Ajaxize] [Plugin: Ajaxize] Infinite loopThanks jimaek!
It’d be really useful if you could let me know when you get a chance to test it. I am wondering if there’s a reliable way to detect the webserver (and potential mis-configuration) from within the plugin itself so to avoid infinite loops… At the very least I will try to include some comments / update the faq to make sure people are aware of it.
Yoav
Forum: Plugins
In reply to: [Ajaxize] [Plugin: Ajaxize] Infinite loopI’m not sure whether this is the case for you, but I have come across a loop when ajaxize is used together with nginx.
For some reason, nginx and wordpress support permalinks a little differently, which caused the ajaxize parameters to get dropped unless you were on the homepage itself.
The solution in this case was to make sure that your nginx is configured with this directive:
try_files $uri $uri/ /index.php?q=$uri&$argsForum: Plugins
In reply to: [Ajaxize] [Plugin: Ajaxize] Infinite loopHey jimaek,
Sorry I didn’t check the forums for a while. Had a quick look at your change, and not sure it’s ideal really. You should really load ajaxize from the same page that your content is loading from. This would allow your ajaxized function to have the same context as the page you’re on. Some functions of course don’t need this, but some certainly do.
I’d be grateful if you can let me know how to reproduce this loop. I could then look at some generic way to avoid it. This could improve ajaxize for other users too. It’s usually down to something not dealing with the ajaxize call correctly, and mistaking it for a request for the actual page, but I wasn’t able to reproduce this so far.
Cheers
YoavForum: Hacks
In reply to: is_page usage within the loopThanks esmi. That was quick! I wonder if the is_page function can perform this test by itself though (I’m guessing it’s too complex to be worth it), but anyway this is a very useful tip.
…updating to 3.4.2 (as the settings page suggested) seemed to have resolved this js issue. Would have to check how other things are working though
I tried it again and I see that I’m getting a 404 on /wp-content/plugins/yet-another-related-posts-plugin/js/options.js?ver=3.4b10
Hi Mitcho, I tried to report this via twitter, but not sure if you got it.
I upgraded from 3.3.3 to 3.4b10. Things were running much faster! However, the settings page seemed a bit messed-up. For example, I could see the ‘disallow by category’ selection I’ve made inside the Pool, but could not add any more categories. Maybe these options were removed from the pool altogether?? I think there were a couple of other odd things on the settings page, but I since went back to 3.3.3
(not trying to hijack the thread, just thought you’d be interested to know)
Cheers
YoavForum: Plugins
In reply to: plugin etiquetteYeah, this is the only thing I found which is coming close to plugin rules / etiquette. It’s very vague though. I know it’s virtually impossible to define exact rules, and if someone wants to get away with it, they can always bend the rules. Nevertheless, for plugin developers who do want to do the right thing, and for users who should want to feel safe in installing plugins – I think it would be useful to try to put together at least some ‘ground rules’ (DOs and DON’Ts, whatever you want to call it), which can serve as a base for what is and what isn’t ‘morally offensive’…
Forum: Plugins
In reply to: plugin etiquetteThanks Jan
The plugin is hosted on wordpress.org repo. Not sure I should directly mention it here, as I also want to keep the discussion about this issue in general, rather than specific to one plugin or another.
I didn’t even know there was a ‘complaint’ route available, but I’ll drop plugins@wordpress.org a note and see what they say.
I think it would be useful for plugin users to have a more-or-less clear idea what to expect when they pick up a plugin from the repository (wordpress.org in particular). As a plugin developer I think it would also be useful and important to have some ground-rules that are expected from the plugin too.
Forum: Plugins
In reply to: [Ajaxize] [Plugin: Ajaxize] Problems with wp-login.phpHi Ovidiu,
I’ve figured out a way to include this fix without affecting non-404 pages. It’s now included in version 1.3. Thanks again for letting me know about this issue (I also gave you credit for reporting it on the plugin description and changelog).
Cheers
YoavForum: Plugins
In reply to: [Ajaxize] [Plugin: Ajaxize] ajax sidebar.php to refresh the main video onlyHi radiofranky,
I’m not entirely sure, but sounds like ajaxize won’t help you out of the box. However, have a look at the code 2046 pasted, which seems to do something similar. http://wordpress.org/support/topic/plugin-ajaxize-call-function-onclick?replies=5#post-2263811
Looks like in this case you can’t get away from doing at least some javascript coding/customization.
Yoav
Forum: Plugins
In reply to: [Ajaxize] Ajaxize for WP Post Views ?Hi Stephen,
Thanks for the feedback. Would be great if the ajaxize code can be used elsewhere or extended/improved.
I didn’t try to ‘compete’ with any other plugin, but rather to find a generic way to ‘ajaxize’ plugins and functions. I only heard about ajax_the_views after I released ajaxize and evo252 posted about it. Anyway, open source is great for these kind of things so I’m looking forward to more feedback and ideas.
Yoav