• whats the deal with that?

    for years now every time i install this plugin

    and then drag the Press This button to my browser I end up having to search for 20 minutes in hopes to find the fix for the 404 due to the link javascript being incorrect..

    ?u=’+e(l.href)+’&t=’+e(d.title)+’&s=’+e(s)

    ?u=’+e(l.href.replace(/\//g,’\\/’))+’%20&t=’+e(d.title)+’&s=’+e(s)

    When i change that it grabs the text but i get a perpetual loading… above the edit window and no images ever get loaded.

    no offense but do you test your plugins? heh

    https://www.ads-software.com/extend/plugins/press-this-reloaded/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author scribu

    (@scribu)

    no offense but do you test your plugins? heh

    Yes, I do test my plugins and yes, I am offended that you imply otherwise. It works fine for me.

    If you find a bug, just report it, instead of waiting for years for the fix to magically happen.

    404 due to the link javascript being incorrect..

    Please paste:

    1) the URL you were at when pressing the “Press This” button
    2) the final URL generated by the bookmarklet (without your change)
    3) the name of the browser you’re using

    Thread Starter JumboClicks

    (@jumboclicks)

    heh

    you know im just screwing with you .. chickens do that

    I gave you the dif between the links
    I did not save it

    The top one is what was when installed

    The bottom one is the fix and it works with the new and a previous version that i reverted to because i got tired looking at the loading… wheel above the editor window which i guess was choking on the images i tried to capture..

    anyway old version is all i need i just steal a bit of facts from different news sources then repost my own ideas about a subject..

    I was using FireFox 21 on win7

    hope that helps and
    thanks again for making the plugins it helps a lot of people.

    Plugin Author scribu

    (@scribu)

    I gave you the dif between the links

    There are 3 URLs involved:

    1) the URL that starts with javascript: (the bookmarklet)
    2) the URL that you have in the browser, before you press the bookmarklet
    3) the URL that the bookmarklet generates (when it opens a new window)

    You gave me 1). I need to know 2) and 3).

    Plugin Author scribu

    (@scribu)

    The second URL you posted shouldn’t contain wp-admin/press-this.php (that’s the default PressThis screen, from WordPress).

    The URL that the plugin generates contains wp-admin/post-new.php.

    Are you sure you re-“install” the bookmarklet, as instructed in the plugin readme?

    Well I deleted it and reinstalled it (on FF). Cant find the read me file…seems to do the same thing reloaded… I tried to delete that part from the browser bar but it wouldnt delete. As you (and others) can tell, Im very new at this ,so any specific instructions would be very appreciated, thanks!

    from info from Hostgator I replaced some of the text with what is below and now PT doesnt even open a new box, let alone the right one.

    Previously it opened a type of search not found box on my site (in the Press This box), now it doesnt open even that.

    PT did work correctly only actually when I was in my dash board, but that didnt help.

    [ Moderator note: please wrap code in backticks or use the code button. ]

    javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='https://runtowardsnotfrom.com/wordpress/wp-admin/post-new.php',l=d.location,e=encodeURIComponent,u=f+'?u='+e(l.href.replace(/\//g,a€?\\/a€?))+'&t='+e(d.title)+'&s='+e(s)+'&v=4';a=function(){if(!w.open(u,'t','toolbar=0,resizable=1,scrollbars=1,status=1,width=810,height=570'))l.href=u;};if%20(/Firefox/.test(navigator.userAgent))%20setTimeout(a,%200);%20else%20a();void(0)

    [ Moderator note: No really, please use the code button or wrap your code with backtics. ]

    javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='https://runtowardsnotfrom.com/wordpress/wp-admin/post-new.php',l=d.location,e=encodeURIComponent,u=f+'?u='+e(l.href.replace(/\//g,a€?\\/a€?))+'&t='+e(d.title)+'&s='+e(s)+'&v=4';a=function(){if(!w.open(u,'t','toolbar=0,resizable=1,scrollbars=1,status=1,width=810,height=570'))l.href=u;};if%20(/Firefox/.test(navigator.userAgent))%20setTimeout(a,%200);%20else%20a();void(0)

    when I pasted this in to a brand new book mark box, it then worked great. Note that I dont have those weird keys on my keyboard, so this was provided to me by the Hostgator support that was working with me. I couldnt modify the Press This location field in the bookmark box- but when I pasted and added a new one- it now works well.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘every time i install this thing i have to change the link.. 404s’ is closed to new replies.