Pages Menu
TwitterRss
Categories Menu

Posted by on Nov 2, 2009 in wordpress | 7 comments

Please Link 2 Me Plugin updated to version 1.5

So, just a short post to say that the “Please Link 2 Me” WordPress plugin has been updated to version 1.5

Here’s a copy of the “changelog” section in the readme.txt:

= 1.5 =
* 2009/11/01
* Fixed changelog

= 1.4 =
* 2009/11/01
* Recoded to use new Options methods
* Changed look & feel of admin section
* Added option to modify size of TextArea (the box for link code)
* Changed main URLs for the plugin
* Added ability to add the box to a Page

I had 2 updates today because I had a copy/paste issue with the documentation. It’s been a long day.

You can read more about it the plugin here: Please Link 2 Me WordPress Plugin

7 Comments

  1. I like this plug in.

    I used the hot link 2 link for a while but found that some wanted to right click and save the images and some of my visitors complained.

    So I have been looking for something that will give them the option to get the code and be able to right click and save an image.

    The please link 2 me is great. The only thing is I need to populate the code box with a link to the image in my post also just as you did with hl2l.

    Could you show me how to modify to achieve this with please link 2 me?

    Thank you!

  2. It’s actually pretty complicated to add that functionality, which is why I haven’t added it yet.

    Or rather, not complicated, but not a 1-line change.

    Hopefully I can get one out when I find some time.

    I’m glad you like this plugin, though.

  3. I dug into the code some last night and it seems that if I could simply include a variable of the get_post_meta function in this bold section then it should work.

    ‘$theHTMLCode .= $theTitle;’

    Rather than displaying the title as the link I could display the url to the picture as a link.

    Unfortunately, I could not get it to work right away, as I am using photoq which does add some complexity to the dynamics of grabbing the current URL.

    Am I looking in the right place?

  4. This is how I call my image source now on my pages.

    ‘<img src="ID, ‘photoQImageSizes’, true); echo $sizes[‘thumbnail’][‘imgUrl’]; ?>”‘

  5. Sorry the comment box truncated the code.

    ‘$sizes = get_post_meta($post->ID, ‘photoQImageSizes’, true); echo $sizes[‘thumbnail’][‘imgUrl’];’

  6. You’re KIND of looking in the right place.

    If you can replace “get_permalink()” on line 97 with the link to your image, you should be fine.

    So maybe, create a variable like $imgURL and populate it with the image link, and then just put that variable in place of the “get_permalink()” text.

    Just remember not to upgrade the plugin if it gets “upgraded” :D

  7. I was hoping to leave the permalink as is. This works fine. But instead of posting a link in a form use a hyperlinked picture that leads to the post.

    That way folks could paste this in their blog, or website, etc. and the picture would be linked to the original post.

    How can I replace $theTile with the image link source?

    What variables could work here?

    Thanks!

Post a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>