Mindful Musings


8/22/2003

Testing Auto ping to Blogrolling.com

Filed under: — Mark @ 12:53 am

Testing 1….2….3….4444. Fixed the bug with pseudomoods where if the mood was left out of the post, it would output an image not found. Here is the fix. Under your b2-include folder, look for the pseudomood.php file.

Look for:

$name=substr($row[mood],0,-4);
if($imagetext==0) $mood=” $name”;
elseif($imagetext==1) $mood=”“;

Replace with:
$name=substr($row[post_mood],0,-4);
if ($name!=”“) {
if($imagetext==0) $mood=” $name”;
elseif($imagetext==1) $mood=”“;
}

Now, everytime the program does not find the required mood, instead of trying to print something, it simply leaves it blank.

Comments »

The URI to TrackBack this entry is: http://mindfulmusings.net/weblog/2003/08/22/testing-auto-ping-to-blogrollingcom/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

(required)

(required)