|
Post by ~Cappucino~ on Dec 14, 2007 21:59:16 GMT -5
Hey! I think this is an awesome site, but it could use just a bit more. That's all right, though. I have all the codes and can help you out! First of all, I think you should have some affiliates. Having affiliates and allowing guests to advertise really helps a site get going. Also, you may want a category splitter so it looks a bit more organized. I have one where you can even add on head and base images to categories!
|
|
|
Post by Write™ on Dec 14, 2007 22:02:02 GMT -5
how about a level up meter it shows how many posts more to get to the next level or rank check it out please
<script> //Level Up Meter v1.0
//Copyright 9-22-2005 by ~Wonder //May be reposted anywhere as long as this header remains in tact
//Put in Global Footer
//Enter the # of posts required to reach all your levels in numerical order postLevels=new Array(0,50,100,250,500);
//Edit these 3 variables to suit your color and height needs meterBGColor="#00AA00"; meterBorderColor="#000000"; meterHeight=8;
//If you want to user a gradient instead of a solid background color, enter the URL here meterGradientURL="";
if(meterGradientURL!=""){meterBGColor="";document.write("<style type=\"text/css\"><!--.rankmeter {background-image: url("+meterGradientURL+"); background-repeat: repeat;}--></style>")} else{meterBGColor=" bgColor="+meterBGColor;}
if(location.href.match(/action=(display|goto|viewprofile|pmview|recent)/)) { var td=document.getElementsByTagName("td"); for(i=0;i<td.length;i++) { if(td.width=="20%" && td.className.match(/windowbg/) && td.innerHTML.indexOf("Joined: ")!=-1) { p=td.innerHTML.substring(td.innerHTML.indexOf("Posts: ")+7,td.innerHTML.length); p=parseInt(p.substring(0,p.indexOf("<")).replace(/,/ig,"")); if(p<postLevels[postLevels.length-1]) { for(j=0;j<postLevels.length;j++){if(p<postLevels[j]){break;}} np=postLevels[j]-p; p=p-postLevels[j-1]; p=Math.round(p/(postLevels[j]-postLevels[j-1])*100); extra="<td width="+(100-p)+"%></td>"; } else{p=100;np=0;extra="";} s="post"; if(np!=1){s="posts";} a=td.innerHTML+="<br>Next Level: "+np+" "+s+"<br><table style=\"border-width:1px; border-style: solid;border-color:"+meterBorderColor+"\"cellpadding=0 cellspacing=0 width=100%><tr><td"+meterBGColor+" width="+p+"% height="+meterHeight+" class=rankmeter></td>"+extra+"</tr></table>"; } } } </script>
|
|
|
Post by Yuliya on Dec 14, 2007 22:02:23 GMT -5
Oh yes! Thank you for reminding me! I was meaning to put a table and an advertising section, just never got around to it!
I like the category splitting idea. What is the code for that? And what do you mean by head and base images? I'm intrigued.
|
|
|
Post by Write™ on Dec 14, 2007 22:05:25 GMT -5
|
|
|
Post by Luke Francis on Dec 14, 2007 22:06:52 GMT -5
I also know a lot about HTML coding if your in need of any codes. And I know a lot about site building(I've made over twenty sites).
|
|
|
Post by ~Cappucino~ on Dec 14, 2007 22:08:30 GMT -5
Here's a link to my forum for an example: xcoffeehousex.proboards104.com/And, here is the code: //<script type="text/Javascript"> // Advanced Category Splitter v3.0 by Chris // Do not redistribute without permission of the creator /* DO NOT EDIT THIS LINE */ var him = []; var fim = [];
// EDIT HERE var type = 2; // 1 = Original ACS type. Text in head image. // 2 = Head/Base images with cat name in normal row. // 3 = Head/Base images with cat name in the Forum Name row spot.
var markAsReadType = 1; // 0 = Mark as read button is not shown at all. // 1 = Mark as read button is in own row in final category. // 2 = Mark as read button is in the footer image underneath final category
him["URL"] = "URL OF HEADER IMAGE"; // URL of your header image. Required only if using type 1. him["height"] = 10; // Pixel height of your head image. Required if using a head image
fim["URL"] = "URL OF BASE IMAGE"; // URL of your footer image. Required only if markAsReadType is 2 fim["height"] = 19; // Pixel height of your base image. Required if using a footer image.
var forumName = 0; // 0 = Don't include the forum name row. Note: This can mess up the cell sizes. // 1 = Include the forum name row.
var defaultCats = [ // These are the category ids for the categoriess that will be hidden on the first time the page is viewed. Last one does not have a comma. "category1id", "category2id", "category3id", "category4id," // NO COMMA ON LAST LINE ];
var spacing = 15; // Space between the categories.
// DO NOT EDIT var aTB = document.getElementsByTagName("TABLE"); var isIE = (document.all?true:false);
if(!document.cookie.match(/debo=1/i)){ defaultCats.push("debo"); for(a=0;a<defaultCats.length;a++){ document.cookie = defaultCats[a]+"=1;expires="+(new Date()).toGMTString().replace(/\d{4}/,"2050"); } }
function hideShow(i){ var i2 = document.getElementById(i); i2.style.display = (i2.style.display=="none"?"":"none"); document.cookie = i+"="+(i2.style.display == ""?"0":"1")+";expires="+(new Date()).toGMTString().replace(/\d{4}/,"2050"); }
var div = document.createElement("DIV"); var sp = document.createElement("DIV"); sp.style.height = spacing;
if(location.href.match(/action=home$/i) || !location.href.match(/(action|board)=/i)) document.write("<script type='text/Javascript' src='http://www.iycatacombs.com/codes/acsv3/normal"+type+".js'><\/script>"); </script>--> </script> Put it in the Main Footers, and only edit where it says "URL OF HEADER IMAGE" A'RIGHT
|
|