1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Automatic Reply Preview Final

Automatically preview replies/edits after More Options without having to click Preview button.

  1. Bloodcinder

    Bloodcinder Well-Known Member

    Bloodcinder submitted a new resource:

    Automatic Reply Preview - Automatically preview replies/edits after More Options without having to click Preview button.

    Read more about this resource...
     
    51463 likes this.
  2. robart

    robart Member

    Thanks for the release. Perfect timing, one of my members requested this feature!
     
    Bloodcinder likes this.
  3. Bloodcinder

    Bloodcinder Well-Known Member

    51463 likes this.
  4. danielmo

    danielmo New Member

    Does this work with 1.5?
     
  5. Bloodcinder

    Bloodcinder Well-Known Member

    I don't know until somebody confirms for me, but my best guess is yes. It makes a change to one template. That template was upgraded in 1.4, and I doubt it was upgraded again in 1.5. If you install it and it does/doesn't work, that will confirm it, but it won't hurt anything if it doesn't work; it will simply fail to do anything at all.
     
  6. danielmo

    danielmo New Member

  7. Bloodcinder

    Bloodcinder Well-Known Member

    That's hard for me to understand. The template modification occurs on the server and is definitely being applied to your pages. When typing a quick reply post that actually has some text in it and then picking "More Options," the add-on forces the new post page to simulate a click of the Preview button. It does so using JQuery and is as browser-independent as JQuery itself, and XF 1.5 still uses the same version of JQuery. I can't imagine how there is a per-browser issue related to 1.5. The issue must be unrelated to 1.5 itself and probably has to do with certain browsers that do not correctly support JQuery. I couldn't diagnose that without knowing the specific browser versions people are using. They also have to have JavaScript enabled.

    EDIT: There are some bug reports from 3 or 4 years ago about my particular JQuery technique not working in Firefox and some other browsers. If their browsers are really outdated, that can explain it.
     
  8. Bloodcinder

    Bloodcinder Well-Known Member

    Here's a provisional fix. It might or might not change anything. Try installing this 1.0.2 version of the add-on to replace the version you already have and let me know if you notice a difference in the affected browsers.
     

    Attached Files:

    Last edited: Nov 19, 2015
  9. Bloodcinder

    Bloodcinder Well-Known Member

    Then here's an alternative 1.0.3 version that does things completely differently and might be more likely to work. Again, if one of these fixes the problem, let me know, but I'm kind of guessing here because I can't directly troubleshoot the issue. I can only provide alternatives that may accidentally fix the problem.
     

    Attached Files:

  10. danielmo

    danielmo New Member

    Thanks, will have a try with this tomorrow. I do have an alternative idea of what might be the problem (and it might be on my end)--perhaps something is server-cached and Firefox doesn't recognize that a "new" version is available, while Chrome does? I was using the latest release of Firefox, so it shouldn't be a problem with old browsers.
     
  11. Bloodcinder

    Bloodcinder Well-Known Member

    If the server is using really aggressive caching that only causes problems with a specific browser, that's possible, but it seems very unlikely. I'm almost certain it's a known issue without JavaScript (not just JQuery) calls DOM events in Firefox. That is to say, it's almost definitely the case that I can't fix the add-on because the problem is out of my hands. However, it's possible that if I can find out what particular browsers it's not working for then I can reverse engineer a solution.
     
  12. danielmo

    danielmo New Member

    Ok, attempted both versions and getting the same issue on both old and all-updated versions of Firefox. I'm still suspicious of aggressive caching.
     
  13. Bloodcinder

    Bloodcinder Well-Known Member

    There's one troubleshooting step you can do for me, if you know how to use the JavaScript console in your browser. If so, contact me via PM on your forum and I'll show you what to paste in the console to try to get it to work in the browser that doesn't seem to be supporting.
     

Share This Page