Thread Starter
goto11
(@goto11)
I tested to see if the function exists within the loop and it does not.
<?php foreach ($comments as $comment) : ?>
<div class=”commentcontainer”>
<h3 id=”comment-<?php comment_ID() ?>”>
<?
if (function_exists(‘userphoto_comment_author_thumbnail()’))
{
userphoto_comment_author_thumbnail();
}
else
{
echo “FUNCTION DOES NOT EXIST”;
}
?>
Does this help diagnose the problem?
Thread Starter
goto11
(@goto11)
Ok, I had a syntax error in the function_exists function. I fixed it and the function does exist. It just doesn’t show the picture. HELP!
Thread Starter
goto11
(@goto11)
It appears that the plugin works, but only for users who register after the plugin is installed.
I had been testing it with “admin” and another test user I established right after installing WordPress and I never got the userphoto to show. But when I created a new user and tried using it, no problem.
This is fine for me because I am new to WordPress and can use the plugin from the beginning. But for people who install the plugin into established blogs, that seems terribly inconvenient.
I’d like to use this plugin, but unfortunetly i’d like to use it on a pre-exisiting site, does anybody know a work around to get it work with users who’ve registered in the past?