Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Aleksander

    (@alucis)

    https://www.ads-software.com/extend/plugins/user-photo/ will add the user photo.

    In my case it does as well, but I can’t find any way to make authors tumbnail a clickable image.

    One of our usability testers at work brought this issue up just after we launched a site using this plugin. Their comment: “…when you ask “who is this person and what makes their opinion matter?” — there’s no answer.”

    I modified this code to generate the appropriate links, but it currently requires a manual edit of an extra PHP file containing an array (I’m using it with a jQuery plugin as well). If you’re experienced with PHP, the output line can be changed to look *something* like this:

    $output = '<a href="/authors/#'.$authordata->nickname.'">'.$output.'</a>';

    If you drop it in an if clause that tests for a particular condition, then you can eliminate the possibility of a recursive link showing up with that photo on that author’s bio page.

    I also found a bug: if you install this plugin, then import a bunch of posts from another site, then DELETE those posts (i.e., change your mind), the userphoto_the_author_thumbnail fails to call the thumbnails on new posts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘User photo as a link’ is closed to new replies.