get recent comments macros problem
-
Hey,
Since I installed the get recent comments plugin, this particular macro, the%author_url_hrefone, hasn’t been working. Currently, the gravatars link to the author’s url, but when no url is given, the gravatar links instead to the current url, which is a bit irritating.%author_url_hrefis supposed to overcome this by being replaced either byhref="%author_url"where one has been given, or it’ll remain empty, deactivating the link but leaving any title attribute.Since
%author_url_hrefreplaceshref="%author_url", it’s supposed to go into the code in the form<a %author_url_href>while%author_urlgoes in as<a href="%author_url">. I’ve tried just about every configuration I can think of but nothing seems to work. It just deactivated the link altogether, as though the tag were not even present.I even tried editing the source but it’s a bit above my head, and didn’t work anyway. As far as I can tell, here’s the relevant bit of the source:
if (empty($author_url) || $author_url == "http://") $author_url_href = "";and there’s also this:
$output = str_replace("%author_url_href", $author_url_href, $output);If anyone can see any glaring error in the source or knows how to fix this, I’d be appreciative.
-Jangari
The topic ‘get recent comments macros problem’ is closed to new replies.