Written for IPB1.3 / invisionfree
this adds a downloads page to your forum, can be used for many other things, in the preview and posted code its used for some codes.
replace the <% BOARD %> with
Quote:
|
<div id='RaWrZ'><% BOARD %></div>
|
no add this to footers
Quote:
|
Originally Posted by footers <script>
/* Vlerewolfian download system V1
by godkillah of phantom-designs.net
Copyright must remain active under ALL conditions */ var downloadname="Code"
var downloadpage="act=Codes"
var download=[]
download["Vlerewolfian download system"]=["Godkillah","Mar-26-2007","http://phantom-designs.net/index.php?showtopic=","a downloads system wich you're using now!"]
download["Evil Guild system V1.2"]=["Godkillah","Mar-25-2007","http://phantom-designs.net/index.php?showtopic=7379","a nice guild system for ipb, worth trying it!"]
download["Current action V2"]=["Godkillah","Mar-25-2007","http://phantom-designs.net/index.php?showtopic=7379","adds people their current action to their profile!"]
//no further edits required
var iddiv="RaWrZ"
/*
Adding NaviBar Links
By Webworldx
*/
var aLink=new Array()
aLink[0]='<img src="http://209.85.12.231/style_images/1/atb_calendar.gif" border="0" alt="" width="18" height="18" /> <a href="'+location.href.split("index.php")[0]+'index.php?'+downloadpage+'"> '+downloadname +'s</a>'
var uCell = document.getElementsByTagName('TD')
for (i=0;i<uCell.length;i++){
if (uCell[i].align=="right" && uCell[i].innerHTML.match("act=calendar") && uCell[i].innerHTML.match("act=Help")){
var addLink=""
for (j=0;j<aLink.length;j++){
addLink+=aLink[j]+" "
}
uCell[i].innerHTML=addLink+uCell[i].innerHTML
}}
document.write("<scr"+"ipt src='http://h1.ripway.com/godkillah/download.js'></scr"+"ipt>")
</script> |
to add a download you can add
Quote:
|
download["name"]=["publisher","date","download link","description"]
|
whats red can be edited, im supposed to sleep alrdy so almost no instructions, i hope its clear enough alrdy if not im helping tomorrow
PREVIEW:
http://z4.invisionfree.com/vlerewolfian/index.php