Simple Machine Codes
April 19, 2024, 08:19:24 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Add another table into a members profile V1

Pages: [1]   Go Down
  Print  
Author Topic: Add another table into a members profile V1  (Read 643 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: July 19, 2007, 09:54:35 am »

Quote
<script>
function addthings(uname,text){
//Created by Agent Moose
$(function(){
$("table.profile").contains(uname).before("<table class='posts' cellspacing='0'><thead><tr><th colspan='2'>YOUR TITLE HERE</th></tr></thead><tr><td>"+ text +"</td></tr>");
});}
addthings("Agent Moose","HAHA, I am here to eat your corn");
</script>

ok, here it is:
Quote
addthings("MEMBERS NAME HERE","THE TEXT THAT WILL BE IN THE TABLE");

Just add more of those to add it to more users.

There is another thing you need to change, it says in capital letters...
"YOUR TITLE HERE", of course, put the title of waht you want each one of the tables headings to say.

NOTES:
I relized that if your AOL IM name, or Yahoo name, or any other type of IM application is the same name as your username on your board, it will show two boxes because of it.  I will work on getting it to only show one box....

PREVIEW
Report Spam   Logged

Share on Facebook Share on Twitter



Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy