WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WPMU Prefill Post] "Insert" not working

[Resolved] [Plugin: WPMU Prefill Post] "Insert" not working

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author iDo8p

    @ido8p

    Hi,
    Could you give me more information ?
    wich version of wordpress do you use ?
    wich browser do you use ? Internet Explorer, firefox, chrome ?

    thanks,

    Hi,

    I’m using wordpress 3.1, on Opera 11.01.
    The only plugin which I thought could interfere was “Fluency Admin” but that was not it.
    I’ll try with another browser later today and I’ll let you know if it’s browser related.

    Plugin Author iDo8p

    @ido8p

    I’ve just try with opera 11.1 and wordpress 3.1 fresh install and it works…
    Are you under windows ?
    Could you list me all your enabled plugin ?

    thanks

    Yes, I’m using windows.
    I’ve deactivated all my plugins except yours, didn’t work.
    I’ve deactivated yours (with the others still deactivated) then reactivated it, still doesn’t work.

    It looks like the problem is not plugin-related.
    I’m using php 5.2.x so.. the problem may come from somewhere else :/

    Plugin Author iDo8p

    @ido8p

    Does the selectbox is populated ?
    Do you have same problem with firefox ?
    Maybe it’s a javascript issue. Can you try with firefox and firebug activated ?

    Yea, it is correctly populated.

    getting this error when I click on Insert :

    tinyMCE.get("content") is undefined
    return document.getElementById("content").value.replace(/<[^>]+>/g,'').replace(/\s/g,'').length>0;
    Plugin Author iDo8p

    @ido8p

    Thanks,
    Very strange. Does tinyMCE is loaded ?

    Can you try to replace the line 265 in wpmu-prefill-post.php ?
    Replace this :`
    if(window.tinyMCE)

    By :

    if(window.tinyMCE && tinyMCE.get(‘content’))
    `

    Is it better ?

    Plugin Author iDo8p

    @ido8p

    Replace this :if(window.tinyMCE)
    By : if(window.tinyMCE && tinyMCE.get('content'))

    Yea, works fine now. Thanks!

    While I was testing, I noticed that even if I specify an excerpt in the template, it is never inserted when I click on “Insert” (the title and content are properly inserted though).

    I never use excerpt so I don’t mind this problem, but I thought I’d let you know anyway.

    Plugin Author iDo8p

    @ido8p

    Thanks to you 🙂
    I have updated the plugin with the fix (excerpt should also work now)

    Everything works 😉

    Thank you very much for your time and devotion !

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] [Plugin: WPMU Prefill Post] "Insert" not working’ is closed to new replies.