Forum Replies Created

Viewing 15 replies - 106 through 120 (of 129 total)
  • Plugin Author yoav.aner

    (@yoavaner)

    Thanks for sharing the code 2046.

    Would be nice if you can give positive feedback about ajaxize if you like it!

    Plugin Author yoav.aner

    (@yoavaner)

    Hi Ovidiu,

    Thanks for the feedback. I think I may have a solution for the 404 page ( try http://pastebin.com/hy5dK3Kz ). I have to admit, whilst it’s nice to be able to use ajaxize on any page, 404 pages are usually excluded from caching, so there’s little benefit from ajaxizing anything on those. So I’m not sure whether to include this javascript fix on the next version of ajaxize…

    Plugin Author yoav.aner

    (@yoavaner)

    Hi ovidiubica,

    I think I found the issue you were experiencing with the 404 page. The reason why it doesn’t work is because ajaxize always calls the same page that you’re on, so if you’re calling it on a 404 page, it also returns 404, so the javascript fails.

    In any case, I’ve tried a few things and think I have a fix. Are you able to try it?

    Go to plugins->Editor. Choose the Ajaxize plugin and edit ajaxize_this.js file. Simply replace the content with http://pastebin.com/4gYAFCTQ

    I tested it and it seems to work, but I’d be grateful if you could let me know if it also works for you.

    Plugin Author yoav.aner

    (@yoavaner)

    Hi 2046,

    Glad to see some enhancements, but your code was removed by the moderators. Can you please post it on pastebin as advised so other people can also benefit from it??

    Plugin Author yoav.aner

    (@yoavaner)

    Hi ovidiubica,

    Thanks for dropping by. Ajaxize was conceived when I had to load some dynamic plugin data, but W3-Total-Cache was caching it. I’m happy it works for you too.

    I’m not sure exactly how/where you use ajaxize that it causes the problems you’ve described. If you can give some more info I’d be happy to try and see why this happens. That said, I can’t promise anything. ajaxize is very simple and isn’t exactly meant to deal with too-complex scenarios, and I’d like to keep it this way. So perhaps it’s not suitable for everything. In any case, I’d be happy to try and help and potentially improve my plugin.

    Plugin Author yoav.aner

    (@yoavaner)

    I don’t see how those are similar actually, apart from the fact that both have the word ajax. Maybe I’m missing something though.

    Ajaxize is a very simple and rather basic plugin to allow you to ‘ajaxize’ your wordpress functions and call them asynchronously. That’s pretty much it. It doesn’t do any fancy stuff, but I think it’s also super-easy to use too.

    Plugin Author yoav.aner

    (@yoavaner)

    Hi Gabriel,

    In order to scroll between different calendar months you simply have to pass in a parameter to indicate which month you’d like to view…

    Therefore, I’m not entirely sure my plugin is the best resource for your website to be honest. Primarily because ajaxize doesn’t support passing parameters.

    Nice website by the way.

    yoav.aner

    (@yoavaner)

    timthumb can work very well with CDN, and it’s otherwise a really good solution.

    I’ve posted a few notes how to make it work with cloudfront (but the same method can be adapted to other CDNS) on my blog.

    Plugin Author yoav.aner

    (@yoavaner)

    Another note about WP Post Views. I have tested it on a clean wordpress installation, and ajaxize works well with WP Post Views. No need to install http://scratch99.com/wordpress-plugin-ajax-the-views/ or tweak any javascript.

    Ajaxize and WP Post Views should work ‘out of the box’ 🙂

    Plugin Author yoav.aner

    (@yoavaner)

    Hi Moogle,

    It does neither of those things actually.

    Ajaxize helps users take an existing plugin, php function, and turn it into an ajax call. This helps overcome issues with caching solutions and can be helpful in a number of other cases.

    More information about the plugin is available on the faq section.

    Plugin Author yoav.aner

    (@yoavaner)

    Hi Evo252,

    Thanks for doing it.

    BTW, Ajaxize 1.1 now supports context information, and should in theory also work with functions like the_views.

    I guess you already have a working solution for WP Post Views, but you might want to do it through ajaxize. If it works it might be slightly more elegant, and no need to tweak footer/header php files.

    Yoav

    Plugin Author yoav.aner

    (@yoavaner)

    No problem. If you want to help others, I really suggest you post something on the ajax_the_views plugin forum. It’s up to you of course.

    Plugin Author yoav.aner

    (@yoavaner)

    Glad it helped evo252. It’s not that simple to update somebody else’s plugin code. Usually you’d have to ask them for permission, and some times make another plugin copy… Not exactly what I had in mind when I created Ajaxize. I’m not even sure my fix is the right one. As I said, it was very quick and perhaps not the most elegant way to solve this problem.

    The best thing you can do is post a message on the ajax_the_views forum and ask about it. You can probably also point to this thread / code in pastebin. I know I can do it too, but since I’m not actually using this plugin, I feel it might be inappropriate in this case.

    Plugin Author yoav.aner

    (@yoavaner)

    there’s a slight change to the code that generates the javascript (particularly the url where the javascript gets its data from). Testing it quickly on my wordpress, I did get back ‘2 views’ instead of ‘Please wait’ after I placed it in the theme’s footer.php

    As I said it’s a very ‘quick-n-dirty’ fix, so perhaps not what you should be searching for. I suggest posting on other forums or searching for different post-views plugins if you can’t get this to work.

    Plugin Author yoav.aner

    (@yoavaner)

Viewing 15 replies - 106 through 120 (of 129 total)