Connect with us

Plugins

Twitter avatars inside your WordPress comments

Published

on

Ricardo Sousa, who writes for Smashing Magazine created a great plugin called Twittar.

This plugin will use someones Twitter Gravatar if their email address is not connected with a Gravatar.

For more info check out the full post at Twitter Avatars in Comments: A WordPress plugin

Image credit: Ricardo Sousa

Continue Reading
5 Comments

5 Comments

  1. Alex Vazquez

    February 18, 2009 at 12:08 pm

    I needed this!

    Alex Vazquez´s last blog post..Friday, Feb.27 @ Al Borde Sessions

    • frosty

      February 18, 2009 at 1:02 pm

      It’s an awesome plugin! Shows peoples gravatar from twitter if they don’t have one.

  2. Alex Vazquez

    February 18, 2009 at 1:00 pm

    Where do I put the:

    after activating Twittar plugin?

    I tried to put it inside comments.php but it just gives me errors 🙁

  3. Alex Vazquez

    February 18, 2009 at 1:13 pm

    Yea its awesome but where do I put the script inside of comments.php, what line?

    Thank you.

You must be logged in to post a comment Login

Leave a Reply

Plugins

WordPress Wiki Plugin

Published

on

The guys from Instinct whom released the E-Commerce Plugin have release a new plugin today. Dan Milward even went as far as to announce that this plugin was a gift for Matt Mullenweg, seeing how today is his 25th birthday.

The plugin: WordPress Wiki.

Head over to Instinct’s site and check it out.

Continue Reading

Plugins

Google Highlight

Published

on

For those looking for a way to optimize your search results on your WordPress blog. You may want to check out the following plugin. Goolge Highlight

It will highlight or colorize the background of any letter or word that you search for. Head over to the site to see it, or do a search on this site and see it in action.

I want to update: I am going to follow up with at least three more great tricks and plugins you can use to help search you WordPress blog.

Continue Reading

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

Random Search Terms

Title

Recent Posts: Fully Net Worth . com

Hero Fiennes Tiffin Net Worth: How Rich is the English Actor?

Hero Fiennes Tiffin Net Worth: How Rich is the English Actor?

Hero Beauregard Faulkner Fiennes-Tiffin is an English actor and model. He is best known for playing the role of a character named Hardin Scott in the 2019 film called After that was a big hit among the younger audiences. As of 2020, Hero Fiennes Tiffin net worth is estimated to be $700,000. Fiennes was born […]

Cash Nasty Net Worth: How Much He Makes From YouTube?

Cash Nasty Net Worth: How Much He Makes From YouTube?

Cash Nasty is an American Youtuber who is known for running the Youtube channel called WhatChaMaCalling. Moreover, he is also on Twitch where he runs a channel called CashNastyGaming. As of 2019, Cash Nasty net worth is estimated to be $1.5 million. He was born on December 4, 1990  in Vidalia, Louisiana. Nasty has always been […]

DaBaby Net Worth: How Rich is the Rapper Actually?

DaBaby Net Worth: How Rich is the Rapper Actually?

Jonathan Lyndale Kirk, who is better known by his stage name as DaBaby, is an American rapper. He is best known for his hit debut album which was called Baby on Baby and even made it to the number 7 of the reputed Billboard Hot 100. As of 2019, DaBaby net worth is around $3 […]

Payton Moormeier Net Worth: How Rich is the Tik Tok Star Actually?

Payton Moormeier Net Worth: How Rich is the Tik Tok Star Actually?

Payton Moormeier is a social media personality who is best known for his lip-sync videos on the popular platform called TikTok where he has more 8.8 million followers where his videos have received close to 350 million likes which is an absolutely mammoth number, especially considering that he is still only 16 years old. As […]

Trending