Connect with us

Plugins

Follow up on WordPress plugin changelogs

Following up on the WordPress weekly, and the final topic of discussion; changelogs and implementing them into your plugins. Now a plugin, shows the changelog in your plugin page…

Published

on

Changelogger, a plugin which will show the changelog of that plugin directly on your plugin page, as long as it exists within the plugin readme.txt file. Download it from the WordPress plugin repository.

Remember, if your a plugin developer, please read and use this template for your readme file.

Continue Reading
2 Comments

2 Comments

  1. Jeffro

    June 21, 2009 at 9:34 pm

    That is pretty cool. I guess it saves a couple of clicks and makes the changelog information even more visible than before.
    .-= Jeffro´s last blog ..State Of The Word From San Francisco =-.

    • Austin

      June 22, 2009 at 9:56 am

      Yeah, so you know right away whether to click install and update or just ignore it.

You must be logged in to post a comment Login

Leave a Reply

Plugins

Gallery Plus

Published

on

You may notice on some of our posts a gallery of images. We are using the built in WordPress up-loader, and when there are a few images we use the gallery insert button. But we are fans of jQuery and are using Thickbox.

As you know the basic gallery insert with attach the gallery images and link them to an image attachment page. Instead we installed the Gallery Plus plugin by Justin Hawkwood.

This plugin alone will add the ability under the Settings — options to add a “title” attribute in the <a> link and a rel attribute of “lightbox”.

Now I do have some site’s with lightbox installed, and I am a fan of the script, but I didn’t want to use the Scriptaculous script. And I do know that there is a Lightbox script based on jQuery.

Anyway… since I am using the Thickbox script on this site, the plugin needed a little tweaking:

There are two files contained in the download: gallery-plus.php & options.php, both with need to be edited. Lets start with the options.php:

Find.

update_option('gallery_plus_overlay', $_POST['gallery_plus_overlay']);

Add the 2nd line below, like this.

update_option('gallery_plus_overlay', $_POST['gallery_plus_overlay']);
update_option('gallery_plus_overlay2', $_POST['gallery_plus_overlay2']);

Next Find.

$gallery_plus_overlay = stripslashes(get_option('gallery_plus_overlay'));

Add the 2nd line below, like this.

$gallery_plus_overlay = stripslashes(get_option('gallery_plus_overlay'));
$gallery_plus_overlay2 = stripslashes(get_option('gallery_plus_overlay2'));

This is where it gets tricky. Find these next lines.

<tr valign="baseline">
<th scope="row"><?php _e('"rel" value in &lt;a&gt; tag:') ?></th>
<td><select name="gallery_plus_overlay">
<option value="none"<?php if ($gallery_plus_overlay == 'none') echo ' selected="selected"'; ?>>none</option>
<option value="lightbox"<?php if ($gallery_plus_overlay == 'lightbox') echo ' selected="selected"'; ?>>lightbox</option>
</select> Specify which, if any, javscript image overlay package to use. THIS PLUGIN DOES NOT INSTALL ANY OVERLAY PACKAGES.<br /><em>Note: Only applies when <strong>Link type</strong> is set to "image".</em>
</td></tr>

And Add these lines above.

<tr valign="baseline">
<th scope="row"><?php _e('Insert "class=..." Attribute In Link:') ?></th>
<td><select name="gallery_plus_overlay2">
<option value="none"<?php if ($gallery_plus_overlay2 == 'none') echo ' selected="selected"'; ?>>NONE</option>
<option value="thickbox"<?php if ($gallery_plus_overlay2 == 'thickbox') echo ' selected="selected"'; ?>>thickbox</option>
</select> <em>Note: Only applies when <strong>Link Images To Full Resolution</strong> is on.</em>
</td></tr>

It should look like this:

<tr valign="baseline">
<th scope="row"><?php _e('Insert "class=..." Attribute In Link:') ?></th>
<td><select name="gallery_plus_overlay2">
<option value="none"<?php if ($gallery_plus_overlay2 == 'none') echo ' selected="selected"'; ?>>NONE</option>
<option value="thickbox"<?php if ($gallery_plus_overlay2 == 'thickbox') echo ' selected="selected"'; ?>>thickbox</option>
</select> <em>Note: Only applies when <strong>Link Images To Full Resolution</strong> is on.</em>
</td></tr>


<tr valign="baseline">
<th scope="row"><?php _e('"rel" value in &lt;a&gt; tag:') ?></th>
<td><select name="gallery_plus_overlay">
<option value="none"<?php if ($gallery_plus_overlay == 'none') echo ' selected="selected"'; ?>>none</option>
<option value="lightbox"<?php if ($gallery_plus_overlay == 'lightbox') echo ' selected="selected"'; ?>>lightbox</option>
</select> Specify which, if any, javscript image overlay package to use. THIS PLUGIN DOES NOT INSTALL ANY OVERLAY PACKAGES.<br /><em>Note: Only applies when <strong>Link type</strong> is set to "image".</em>
</td></tr>

Now lets edit the gallery-plus.php file:

Find.

'overlay' => get_option('gallery_plus_overlay'),

Add the 2nd line below, like this.

'overlay' => get_option('gallery_plus_overlay'),
'overlay2' => get_option('gallery_plus_overlay2'),

Next Find.

<a href=\"$full_image_href[0]\"" . (($overlay != 'none') ? ' class="' . $overlay . '"' : '') . ($atagtitle ? " title=\"".trim(htmlspecialchars($attachment->post_title, ENT_QUOTES ))."\"" : '') . "><img src=\"$thumbnail_link[0]\" title=\"".trim(htmlspecialchars($attachment->post_title, ENT_QUOTES ))."\" alt=\"".trim(htmlspecialchars($attachment->post_excerpt, ENT_QUOTES))."\" width=\"$thumbnail_link[1]\" height=\"$thumbnail_link[2]\" class=\"attachment-thumbnail\" /></a></{$icontag}>";

And change the $overlay to $overlay2, like this.

<a href=\"$full_image_href[0]\"" . (($overlay2 != 'none') ? ' class="' . $overlay2 . '"' : '') . ($atagtitle ? " title=\"".trim(htmlspecialchars($attachment->post_title, ENT_QUOTES ))."\"" : '') . "><img src=\"$thumbnail_link[0]\" title=\"".trim(htmlspecialchars($attachment->post_title, ENT_QUOTES ))."\" alt=\"".trim(htmlspecialchars($attachment->post_excerpt, ENT_QUOTES))."\" width=\"$thumbnail_link[1]\" height=\"$thumbnail_link[2]\" class=\"attachment-thumbnail\" /></a>
</{$icontag}>";

note: I know that this is really just riding the plugin of the lightbox script and telling it to use the thickbox only script, but till it’s added in, this is the way I went about it.

Thanks

Continue Reading

Plugins

Scheduled Post Shift

Published

on

I just came across an article over at WPHacks.com about a “how to” shift and bring back posts hidden way in the archive. Seems really interesting, cause I have a few blog sites myself and some of them like thefrosty.com and jeanasays.com. Theses sites have been working hard for a long while and have built up a good 20 plus paginated archive of posts.

So I am going to try and download the plugin Scheduled Post Shift Plugin by Dagon Design.

Once I have a chance to review this plugin I will surely write about it. 🙂

Continue Reading

Plugins

Comment Validation

Published

on

Another plugin I am using on this site: Comment Validation by Jörn Zaefferer.

From Jörn’s site:

Why should you install it? Because you care for comments and want to help users reduce mistakes that hold them off from commenting at all.

Whats the technology used? jQuery and the jQuery Validation plugin with a few customizations to make it fit into the standard WordPress theme.

Is it compatible with other plugins? The plugin is tested with the Draw Comments plugin and works, though the performance is slightly degraded. Other plugins haven’t yet been tested.

Download WordPress-Comment-Validation-Plugin (zip)

And.. Test it out below, but then, do leave a true comment. 🙂

Continue Reading

Random Search Terms

Title

Recent Posts: Fully Net Worth . com

Joey Bosa Net Worth: 5 Interesting Facts You Should Know

Joey Bosa Net Worth: 5 Interesting Facts You Should Know

Joseph Anthony Bosa is an American football defensive end who plays for the Los Angeles Chargers of the National Football League(NFL). Here are five interesting facts about Joey Bosa including his net worth, salary, contract, career, and many others: 1. Joey Bosa Net Worth is estimated to be $14 million. As of 2019, Bosa’s net worth is estimated to be […]

Kurt Volker Net Worth: How Rich is the US Diplomat Actually?

Kurt Volker Net Worth: How Rich is the US Diplomat Actually?

Kurt Volker is an American diplomat. He served as the U.S. Ambassador to NATO and also as executive director of the McCain Institute of International Leadership. Kurt Volker net worth is as of 2019 is estimated to be $8 million. Volker was born on December 27, 1964, in Hatboro, Pennsylvania to Benjamin and Thelma Volker. […]

Azriel Clary Wiki, Parents, Bio: Where is Azriel Clary Now?

Azriel Clary Wiki, Parents, Bio: Where is Azriel Clary Now?

Azriel Clary is an American singer and one of R. Kelly’s alleged sex cult victims. Azriel met R. Kelly at the age of 17 and she convinced her parents to go on tour with him. Her parents allowed her to go on a trip with R. Kelly with a belief that he would mentor in […]

Juice Wrld Net Worth: 5 Interesting Facts You Should Know

Juice Wrld Net Worth: 5 Interesting Facts You Should Know

Juice Wrld, which is a stage name of the famous American rapper, singer and songwriter Jarad Higgins. The rapper who was born in Illinois, Chicago was brought to limelight by his hit single “Lucid dreams” which he officially released in 2018. The song went viral making it to the number two spot on the Billboard […]

Trending