Advertise Here

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Agent Moose

Pages: 1 ... 8 9 10 [11]
151
SMF For Free Codes and Support / [Code] Add Text to Copyright
« on: May 11, 2007, 10:22:41 pm »
Code: [Select]
<script>
function add_copyright_text(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var text = "ENTER TEXT HERE";
$("#footerarea").append("<center><span class='smalltext'>"+text+"</span></center>");
};
add_copyright_text();
</script>
Put in Footers

This will add text to the copyright.  Just change where is says "ENTER TEXT HERE".  Make sure you have this code for all the codes I make for now on!!!  Put this in your Headers:
Code: [Select]
<script src="/jquery"></script>

152
This code allowes you to set a new name for a person, but that person can still login as there original one.  You can also add add color, bold, and other things like that.

Put in Footers
Code: [Select]
<script>
function nmeacrossb(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var oldnewb = new Array()
oldnewb[oldnewb.length] = ["OLD NAME","NEW NAME","COLOR","OTHER"]

var Change = document.getElementsByTagName("a");
for(x=0;x<Change;x++){
for(l=0;l<oldnewb.length;l++){
if(Change[x].innerHTML.match(oldnewb[l][0])){
Change[x].innerHTML = "<font color='" + oldnewb[l][2] + "'>" + oldnewb[l][3] + oldnewb[l][(oldnewb[l][1] != "" ? 1 : 0)] + "</font>";
};};};};
nmeacrossb();
</script>
Put in Footer.

If you don't want the user to have a new name, then leave that part blank.  Other is where other HTML can go.

If you want to add more names, just add more of these lines:
Code: [Select]
oldnewb[oldnewb.length] = ["OLD NAME","NEW NAME","COLOR","OTHER"]
Enjoy :)

153
Forum Url: http://smfffhacks.smfforfree2.com
This code is like V1...and the names says it all too.  I got give a big thanks to James for helping me with it.

Changes from v1 to v2:
-When you hoverd over a catagory in V1, it showed all the forums in all catagorys and didn't close.  In V2, when you hover over a catagory, it only showes the forums from that catagory taht you are hovering over.  Also, when your not hovering over them, they close.

Global Headers:
Code: [Select]
<script src="/jquery.js"></script>I would recomend you to keep this code in the global headers because for now on, all the codes I do for SMF for Free will be in jquery, and you need that to be in the global headers for jquery to work.

Global Footers:
Quote
<script type="text/javascript">
//Created by Agent Moose
$("table.bordercolor").addClass("classnme").hide();
$(".classnme").parent().hover(function(){
$(this).addClass("over");
$(this).children("table.bordercolor").fadeIn("fast");
},function(){
$(this).addClass("out");
$(this).children("table.bordercolor").fadeOut("fast");
});
$(".collapse").hide();
</script>

For the green text, that is the speed it shows up.  You can change the speeds to:
slow
normal
fast

Make sure both of them say the same thing.  If you don't, it will just be kinda weird...
NOTE:
When your in the Admin CP, it will do this also, you will get used to it...
Preview:
Click Here

154
SMF For Free Codes and Support / [CODE]Member Legend V2
« 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

155
SMF For Free Codes and Support / [Code] MC Radio V2
« on: December 13, 2006, 08:28:42 pm »
I origninaly made this code for Invisionfree Forum.  And I decided to do transefer it to SMF.  So now it is.  I hope you like it!

Name of Code: MC Radio V2
Description: This is a shorter and much easier code than the first MC Radio.  Much easier to install, and shorter...and more stations
Preview: Click Here?---Look at the left of the board, click on "Hide/Show MC Radio".

Modifications:
--Shorter Code
--More Stations
--Hide/Show Button
--Whichever option you choose from the Drop-Down Menu, the Description and the Genre will change...
--You may take off radio stations that you don't like, then you can shorten it...That is why I didn't go ahead and shorten the code.


Installing
This code goes in Manage Styles-->Edit Header/Footer--> You can put it in the Header or Footer...I prefer the Footer.

Notice
DO NOT REMOVE THE COPYRIGHT!!!

Code: [Select]
<!--MC Radio V2-->
<script type="text/javascript" src="http://www.geocities.com/yort1223/scripts/HideShow.js">
</script>
<a title="Show Tables" href="javascript:toggleDisplay('table1')"><b><div align="left">[Show/Hide MC Radio]</div></b>
<div style="display:none;" id=table1>
<div class="tableborder"><div class='catbg2'>MC Radio V2</a></div><tr> <table border="0" cellspacing="1" cellpadding="4">  <tr> <td class="windowbg2" align="center" width="23%">
<b>Listen to </b><form name="form1">
<select name="station" size="1" onChange="displaydesc(document.form1.station, description, genre, 'textcontainer1')">
<option selected value="http://www.1club.fm/clubfm_media/v42.aspx?station=activex" target="newwin">Active Radio X</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=modernrock" target="newwin">Modern Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=classicrock" target="newwin">102 Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hairband">Hair Band Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=classicalt-dude" target="newwin">Alternative Rock</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=clubuk" target="newwin">House of Trance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=techno" target="newwin">Techno Club</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=harddance" target="newwin"> Gruvsonic Hard Dance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=trance" target="newwin">Trance</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=rnb" target="newwin">R&B Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=power" target="newwin">Old School Rap</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=breakbeat" target="newwin">70's Pop Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=goapsy" target="newwin">80's Pop Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=ibiza" target="newwin">90's Pop Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hitmusic" target="newwin">Channel 1</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=vradio" target="newwin">Variety Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=vybe" target="newwin">70's Decade Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=clubuk" target="newwin">80's Decade Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=harddance" target="newwin">90's Decade Hits</option>
<option value="http://www.1club.fm/clubfm_media/v42.aspx?station=hkcountry" target="newwin">Kicker Country</option>
</select>
<input type="button" value="Listen"
onClick="jumptolink(document.form1.station)">
</form>
</a></td> <td class="windowbg2" width="32%">
<span id="textcontainer1" align="left" style="font:italic 13px Arial">
</span>
<script type="text/javascript">
var description=new Array()
description[0]="A hard hitting Rock Channel playing the best in Heavy Metal, Alternative, and 80s Hard Rock on the planet."
description[1]="The Net's New Rock Alternative. An edgy display of Active, Modern, Today & Classic Alternative Rock Music."
description[2]="LIVE from a City that built the Classic Rock format. Take a listen to the legendary bands that started it all."
description[3]="The House of Hair Spray and Spandex. Playing your favorite sleaze Rock Anthems of the 80s & early 90s!"
description[4]=" Playing the best Alternative Rock music from the 90s era.<br>"
description[5]=" Club UK Channel features the latest European 12 inch remixes of a variety of House, Trance, UK Garage, 2 Step and Hard Dance."
description[6]="Spinning the best in Trance and Techno Club Beats. Live from Chicago, it's the net's home for the best in underground sounds!"
description[7]="For the Harder Generation, this channel is commited to playing the hardest Trance, Gabber, and House anthems on the net."
description[8]="Featuring a pulsating mix of vocal and uplifting anthems from today's biggest trance dj's and artists."
description[9]="The hottest selection from today's most creative R&B Artists. These tracks are the cutting-edge of Contemporary R&B."
description[10]=" Hip Hop & R&B. Music from the best of today's biggest artists.<br>"
description[11]=" Throw'n down a funky and unique collection of old school, progressive, and fresh Florida Breaks."
description[12]="This channel features Massive bangers of Goa-Psy Trance.<br>"
description[13]=" The clubbing capital of the world is now on the radio. Welcome to Ibiza, featuring the music that is blowing up the Ibiza party scene."
description[14]="CHR Top 40 Channel featuring the hottest hits from today's pop, rock, and hip-hop artists."
description[15]="V means VARIETY. We play what we want on this channel. No rules, just great music."
description[16]=" Club UK Channel features the latest European 12 inch remixes of a variety of House, Trance, UK Garage, 2 Step and Hard Dance."
description[17]=" This channel bangs the best in House, Trance, Breaks, and Progressive. This is Miami's OFFICIAL sound."
description[18]="For the Harder Generation, this channel is commited to playing the hardest Trance, Gabber, and House anthems on the net."
description[19]="Today's Hit Kicker Country Channel. Featuring the best from today's hot upbeat Country Hits and yesterday's all time favorites."
</script>
<br /></td> <td class="windowbg2" align="center" width="20%">
<span id="textcontainer2" align="center" style="font:bold 13px Arial">
</span>
<script type="text/javascript">
var genre=new Array()
genre[0]="Rock"
genre[1]="Rock"
genre[2]="Rock"
genre[3]="Rock"
genre[4]="Rock"
genre[5]="Rock"
genre[6]="Techno"
genre[7]="Techno"
genre[8]="Techno"
genre[9]="Hip-Hop/R&B"
genre[10]="Hip-Hop/R&B"
genre[11]="Pop"
genre[12]="Pop"
genre[13]="Pop"
genre[14]="Variety"
genre[15]="Variety"
genre[16]="Variety"
genre[17]="Variety"
genre[18]="Variety"
genre[19]="Country"
</script>
<script type="text/javascript">
function displaydesc(which, descriptionarray, genrearray, 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, genre, '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 MC Radio V2-->


Support
If you need any help with taking off radio stations, you can go here for support:
http://smfffhacks.smfforfree2.com/index.php

Thanks, I hope you like it!

-Agent Moose

156
SMF For Free Codes and Support / [CODE]Member Legend V1
« on: December 09, 2006, 01:13:19 am »
Name of Code: Member Legend V1
Description:  This is just a simple member legend that shows your groups...
Preview: ~~Preview~~(At bottom of board)
Where to put Code: Admin-->Manage Styles-->Edit Header/Footers-->Header or Footers, it doesn't matter.

Code
Quote
<center><table border="0" bordercolor="black">
<tr>
<tbody bgcolor="">
<td>(<font color="Red">Admin</font>)</td>
<td>(<font color="Blue">Super Moderatorr</font>)</td>
<td>(<font color="Green">Moderator</font>)</td>
<tbody>
</tr>
</table></center>

Changes:
Red Text--The Red text is the color of the group.
Blue Text--The Blue text is the name of a group.

Adding More:
If you want to add more, just put more of these:
Quote
<td>(<font color="COLOR">GROUP</font>)</td>

If you have any problems, just go here:
http://smfffhacks.smfforfree2.com/index.php

Thanks
-Agent Moose

Pages: 1 ... 8 9 10 [11]