Fixed bugs with displaying user homepage link
-
I had some issues when the “Show Website” option was enabled. I made some changes to
core.php
to fix them.First, the homepage links were outputted using HTML like this:
<a href="<strong></strong> http://www.example.com/"> Homepage </a>
So, I deleted line 1414:
if(!empty($ud_website_lbl)) $user_website = "<strong>" . $ud_webiste_lbl . "</strong> " . $user_website;
I also edited the next line from this:
$user_contact_info .= "\t\t\t<div style='pointer-events:all;' class='dud_field_website'><a href=\"" . $user_website . "\">" . $user_website . "</a></div>\n";
to this:
$user_contact_info .= "\t\t\t<div style='pointer-events:all;' class='dud_field_website'><a href=\"" . $user_website . "\">" . $ud_website_lbl . "</a></div>\n";
Otherwise, the user-defined “Website Label” field is ignored.
- The topic ‘Fixed bugs with displaying user homepage link’ is closed to new replies.