vForums Support > Programming & Coding :: Code Requests & Support :: > [F] edit welcome table

[F] edit welcome table - Posted By nr4life (nr4life) on 26th Mar 08 at 1:44am
i was wondering idf there was a ode to edit what the welcome table says

Re: edit welcome table - Posted By Marc (cr0w) on 26th Mar 08 at 1:45am
Could you be more specific please? What exactly would you like edited? {Smile}

Re: edit welcome table - Posted By nr4life (nr4life) on 26th Mar 08 at 1:46am
get it to where instead ofit saying logged in as, to say like welcome "username"

Re: edit welcome table - Posted By Marc (cr0w) on 26th Mar 08 at 1:52am
 
get it to where instead ofit saying logged in as, to say like welcome "username"


Ohh, you mean the users table? Give me a minute. {Smile}

Re: edit welcome table - Posted By nr4life (nr4life) on 26th Mar 08 at 1:57am
ok

Re: edit welcome table - Posted By Marc (cr0w) on 26th Mar 08 at 3:25am
Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. /* User Table Modification by Cr0w (2008) */
  4.  
  5. var changeTo = "Welcome, #user#!"; // Message to display
  6.  
  7. // No more edits
  8. if(vf_username != "guest"){
  9.     var lia = get('user_table','id').getElementsByTagName("font")[0];
  10.     lia.innerHTML = changeTo.replace("#user#","<a href='/action/view_profile'>"+vf_displayname+"</a>");
  11. }
  12. //-->
  13. </script>
 


Global Footers. {Smile}