Helpful Information
 
 
Category: vBulletin 3.8 Modifications
Forum Home Enhancements - Colored Username On Logout

This is just a small mod to change the color of your username for the Logout area at the bottom of the forums.

I don't know if there already is a mod for this. If there is, then I did not see it.

This is my first mod. I thought it would be good to keep the color of your usernames the same as the "Currently Active Users" list.

Installation:

In the FORUMHOME template find:



<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>



Replace with:



<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[musername]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>




Look to the right side of the screenshot attached.

Remember to Click Install

not bad :)
thanks for sharing

You're welcome. :)

did it add 1 query in FH?

Not from what I can see on my test site. All I did was change a letter. I will look into that for you though.

did it add 1 query in FH?

It does add one query.

Updated.

Cooooooool .. but no important fo coloring the user name










privacy (GDPR)