vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: User Table Modification - View Topic
Topic Rating: *****
Printable View
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
User Table Modification (26th Mar 08 at 3:26am UTC)
This will change the "Logged In as:" portion of the user table to whatever you'd like. {Smile}

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}

rroll.to— Shorten a link, rickroll your friends.
blanka
Full Member
***

[Avatar]

Posts: 319
Status: Offline
Gender: Male
Joined:  
Reputation: 10%  


pm
Re: User Table Modification (27th Mar 08 at 11:24pm UTC)
Nice code you made there Marc. Very useful code that i am sure many vforumers will take use of this. {Smile}
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: User Table Modification (28th Mar 08 at 1:48am UTC)
 
Nice code you made there Marc. Very useful code that i am sure many vforumers will take use of this. {Smile}


Thanks blanka. {Smile}

rroll.to— Shorten a link, rickroll your friends.
 Printable View

All times are GMT+0 :: The current time is 5:06pm
Page generated in 0.25 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums