Tentative for v8 we've actually rejiggered the library /libs/html.inc.php
Prior:
// If they aren't logged in, or just logged out, give them the proper message
if ((empty($user['USER_DISPLAY_NAME']) || !$userob->is_logged_in) || ($bypass)) {
$sfu = "";
if ($config['SEARCH_FRIENDLY_URLS'] == "1") {
$sfu = "?";
} else {
$sfu = "&";
}
$ocurl = urlencode(get_current_url());
$welcome = "<a href=\"" . make_ubb_url("ubb=login", "", true) . "$sfu" . "ocu=$ocurl\" rel=\"nofollow\"><i class=\"fas fa-sign-in-alt fa-fw\" aria-hidden=\"true\"></i> {$ubbt_lang['BUTT_LOGIN']}</a>";
} else {
$welcome = "{$user['USER_DISPLAY_NAME']}";
}
New:
// If they aren't logged in, or just logged out, give them the proper message
if ((empty($user['USER_DISPLAY_NAME']) || !$userob->is_logged_in) || ($bypass)) {
if ($ubb != "login" && $ubb != "start_page" && $ubb != "logout") {
$sfu = "";
if ($config['SEARCH_FRIENDLY_URLS'] == "1") {
$sfu = "?";
} else {
$sfu = "&";
}
$ocurl = $sfu . "ocu=" . urlencode(get_current_url());
}
$welcome = "<a href=\"" . make_ubb_url("ubb=login", "", true) . $ocurl . "\" rel=\"nofollow\"><i class=\"fas fa-sign-in-alt fa-fw\" aria-hidden=\"true\"></i> {$ubbt_lang['BUTT_LOGIN']}</a>";
} else {
$welcome = "{$user['USER_DISPLAY_NAME']}";
}
The above coding is stock in v7.5.5, but on November 22nd, 2023 on the thread
Google Third-Party Spam Warning a set of code was implemented to throw a forum error when a 3rd party URL is detected.