Articles
Bug Fix OIOPulisher 2.07
As I have mentioned before, I am using the OIO Publisher Plugin, which you can see/use/purchase by clicking on the advertisement ad, or my advert page.
Anyway, it suddenly was not working and would say “plugin off line” on the purchase page, when it most certainly was not.
After contacting Simon over at OIO. I got a quick response to view this forum thread.
Indeed, this fix worked!
Here is what you need to do.
OPEN
include/config.php
FIND
if($oiopub_set->wp_load == 1) {
include_once($oiopub_set->wp_config);
}REPLACE WITH
if($oiopub_set->wp_load == 1) {
$oio_cwd = getcwd();
chdir(str_replace("/wp-config.php", "", $oiopub_set->wp_config));
include_once($oiopub_set->wp_config);
chdir($oio_cwd);
unset($oio_cwd);
}
Tips & Tricks
Display custom url if comment authors url is blank
Here is a nifty trick for your comments.php
template. If someone comes to your site and leaves a comment but doesn’t leave a url back to there site, the default link that is shown in place of the php code comment_author_url
is the current page link.
That might not look good. So, here is a little trick that I just implemented into my site. Besides installing the twittar plugin and pulling Twitter avatars I wanted to use the image itself for the authors url like. But if the author doesn’t have a Twitter avatar or a Gravatar it will display a default Gravatar that I set. If the default Gravatar is shown, usually the author will not leave a url link.
I would like to link the image to Gravatar.com so that they can get an image attached to their email address. So.. here is the code:
<?php if($comment->comment_author_url != "") { ?> <a href="<?php comment_author_url(); ?>"><?php gravatar(); ?></a> <?php } else { ?> <a href="http://gravatar.com" title="Get a Gravatar today!"><?php gravatar(); ?></a> <?php } ?>
Plugins
Twitter avatars inside your WordPress comments
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
Plugins
WordPress Wiki Plugin
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.
-
Tips & Tricks2 months ago
WordPress Security Hacks
-
Pages5 months ago
Write For Us – Guest Post
-
Showcase5 months ago
StylizedWeb.com
-
News5 months ago
How to: Show/Hide any div box with jQuery in WordPress
-
Tips & Tricks4 months ago
Remove the title attribute using jQuery
-
Tips & Tricks1 month ago
How to: show/hide a widget in WordPress with jQuery
-
Plugins1 month ago
Top Membership plugins
-
Tips & Tricks5 months ago
Limit the characters that display on the_title
You must be logged in to post a comment Login