SMF For Free Support Forum
Signup For Free Forum
July 04, 2008, 04:29:37 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [CODE]Member Legend V2  (Read 780 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 611


Do not PM me for Code Support or Request


View Profile WWW
« on: December 14, 2006, 08:05:00 pm »

This code useing the same thing as MC Radio V2 does, exept I made it to a member legend...
CLICK HERE FOR PREVIEW!!!

Quote
<!--Member Legend V2-->
<script type="text/javascript" src="http://www.geocities.com/yort1223/MCRV2/HideShow.js">
</script>
<a title="Show Tables" href="javascript:toggleDisplay('table1')"><b><div align="left">[Show/Hide Legend]</div></b>
<div style="display:none;" id=table1>
<div class="tableborder"> <div class='catbg' align='left'>Legend</a></div><tr> <table border="0" cellspacing="1" cellpadding="4">  <tr> <td class="windowbg2" align="center" width="5%">
<b>Group Name:</b><form name="form1">
<select name="station" size="1" onChange="displaydesc(document.form1.station, description, 'textcontainer1')">
<option selected>Admin</option>
<option selected>Super Moderator</option>
<option selected>Moderator</option>
<option selected>Code Master</option>
<option selected>Advanced Coder</option>
<option selected>Coder</option>
<option selected>Member</option>
<option selected>Newbie</option>
</select>
</form>
</a></td> <td class="windowbg2" width="50%">
<span id="textcontainer1" align="left" style="font:italic 13px Arial">
</span>
<script type="text/javascript">
var description=new Array()
description[0]="<font color='red'>The owner of the forum.  Can Edit and Delete members and posts.  You can only be a Admin if the Head Admin says you can.</font>"
description[1]="<font color='blue'>Can Moderate all forums and can Edit and Delete posts.  You can only be a Super Moderator if a Admin says you can.</font>"
description[2]="<font color='green'>Can Moderate one or more forums, also can Edit and Delete posts.  You can only be a Moderator if a Admin says you can.</font>"
description[3]="<font color='black'>The highest of all the regular members.  Can not be promoted any higher.</font>"
description[4]="<font color='black'>A member who is always on the forums and who posts a lot.</font>"
description[5]="<font color='black'>A member that spends a lot of time on the forums.  Once you get 250 posts, you go up to Advanced Coder.</font>"
description[6]="<font color='black'>A member that gets on occasionaly.  Once you get 100 posts, you go up to Coder.</font>"
description[7]="<font color='black'>The just joined members.  Once you get 50 posts, you go up to Member.</font>"
</script>
<br /></td>
<script type="text/javascript">
function displaydesc(which, descriptionarray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descriptionarray[which.selectedIndex]
document.getElementById('textcontainer2').innerHTML=genre[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value, "", "width=747px, height=462px")
else
window.location=selectedopt.value
}

displaydesc(document.form1.station, description, 'textcontainer1')
</script>
</td></table>
<table border="0" cellspacing="1" cellpadding="4"> <tr> <th align="left" width="10%" height="5%" class='windowbg2'><a href="http://z11.invisionfree.com/MooseCreations" target="_blank">©</a> - Created By Agent Moose</th></tr></table>
</div><br></div>
</div><br></div>
<!--End Member Legend V2-->

Changes:
Red Text---The name of the Goup
White Text---Number, you will need to change the number the more groups you add.  There can't be two of the same numbers!!!
Yellow Text---The color of the group.  The reason I say that, is because the text will be the color of what the goup is so that people will no what the color of the group will be.
Blue Text---The description of the group.

If you want to add or take of groups look for this and either copy to add more groups or delete to take of a group.
Quote
<option selected>GROUP HERE</option>

Now remember, if you take of a group or add a group, you gotta either add or take off a description.  If you want to add a description, you need to change the number.  Here is how to take off or add a description....
Quote
description[NUMBER HERE]="<font color='COLOR HERE'>DESCRIPTION HERE!!!</font>"


Thanks, I hope you like it

--Agent Moose
« Last Edit: December 14, 2006, 08:08:46 pm by Agent Moose » Logged


SMC Code Index V3 - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
K I L L A
SMF For Free Full Member
*
Offline Offline

Posts: 136


''As soon as one is born, one starts dying.''


View Profile WWW
« Reply #1 on: May 17, 2008, 10:49:05 am »

Well I edited it and It works except for one thing..When It says [Show/Hide Legend] and you click it..it says Error On Page
Check over this one and please give me the correst one
Code:
<!--Member Legend V2-->
<script type="text/javascript" src="http://www.geocities.com/yort1223/MCRV2/HideShow.js">
</script>
<a title="Show Tables" href="javascript:toggleDisplay('table1')"><b><div align="left">[Show/Hide Legend]</div></b>
<div style="display:none;" id=table1>
<div class="tableborder"> <div class='catbg' align='left'>Legend</a></div><tr> <table border="0" cellspacing="1" cellpadding="4">  <tr> <td class="windowbg2" align="center" width="5%">
<b>Group Name:</b><form name="form1">
<select name="station" size="1" onChange="displaydesc(document.form1.station, description, 'textcontainer1')">
<option selected>Owners</option>
<option selected>Head Admin</option>
<option selected>Admin</option>
<option selected>Super Moderator</option>
<option selected>Moderator</option>
<option selected>Member</option>
<option selected>Newbie</option>
</select>
</form>
</a></td> <td class="windowbg2" width="50%">
<span id="textcontainer1" align="left" style="font:italic 13px Arial">
</span>
<script type="text/javascript">
var description=new Array()
description[0]="<font color='black'>The owners of the forum.</font>"
description[1]="<font color='red'>Head Admin</font>"
description[2]="<font color='green'>Admin.</font>"
description[3]="<font color='LimeGreen'>Super M0d.</font>"
description[4]="<font color='Yellow'>Moderator</font>"
description[5]="<font color='purple'>A member that gets on occasionaly.</font>"
description[6]="<font color='blue'>The just joined members.</font>"
</script>
<br /></td>
<script type="text/javascript">
function displaydesc(which, descriptionarray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descriptionarray[which.selectedIndex]
document.getElementById('textcontainer2').innerHTML=genre[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value, "", "width=747px, height=462px")
else
window.location=selectedopt.value
}

displaydesc(document.form1.station, description, 'textcontainer1')
</script>
</td></table>
<table border="0" cellspacing="1" cellpadding="4"> <tr> <th align="left" width="10%" height="5%" class='windowbg2'><a href="http://z11.invisionfree.com/MooseCreations" target="_blank">©</a> - Created By Agent Moose</th></tr></table>
</div><br></div>
</div><br></div>
<!--End Member Legend V2-->
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 611


Do not PM me for Code Support or Request


View Profile WWW
« Reply #2 on: May 17, 2008, 02:31:40 pm »

Wow, I forgot about this code.

Well, the reason why it gets an error is because the code isn't hosted anymore.

This code was one of my first codes I ahve made, so yea.
Logged


SMC Code Index V3 - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
K I L L A
SMF For Free Full Member
*
Offline Offline

Posts: 136


''As soon as one is born, one starts dying.''


View Profile WWW
« Reply #3 on: May 17, 2008, 04:33:35 pm »

Wow, I forgot about this code.

Well, the reason why it gets an error is because the code isn't hosted anymore.

This code was one of my first codes I ahve made, so yea.
So It doesn't work anymore? Cry
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 611


Do not PM me for Code Support or Request


View Profile WWW
« Reply #4 on: May 17, 2008, 08:24:27 pm »

Basicly.
Logged


SMC Code Index V3 - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
K I L L A
SMF For Free Full Member
*
Offline Offline

Posts: 136


''As soon as one is born, one starts dying.''


View Profile WWW
« Reply #5 on: May 17, 2008, 08:29:50 pm »

Basicly.
Man...
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.506 seconds with 17 queries.