This will change the "Logged In as:" portion of the user table to whatever you'd like.
Code:
- <script type="text/javascript">
- <!--
- /* User Table Modification by Cr0w (2008) */
- var changeTo = "Welcome, #user#!"; // Message to display
- // No more edits
- if(vf_username != "guest"){
- var lia = get('user_table','id').getElementsByTagName("font")[0];
- lia.innerHTML = changeTo.replace("#user#","<a href='/action/view_profile'>"+vf_displayname+"</a>");
- }
- //-->
- </script>
Global footers.
Nice code you made there Marc. Very useful code that i am sure many vforumers will take use of this.
Nice code you made there Marc. Very useful code that i am sure many vforumers will take use of this.
Thanks blanka.