Post by Epic Z ™ on Jul 24, 2009 12:03:51 GMT -8
I've tried to add a shop to my board.
I used that code.
The oringal code is
PLEASE help I spent over a hour trying to this.
<script type="text/javascript">
<!--
/*
YourShop
Version 0.3Copyright 2005-2008 Bradley Nelson a.k.a CCWorld
All Rights Reserved
For use on Proboards Boards only.
This Header must remain intact at all times.
Do not re-post without permission.
*/
// staff that can mange shop settings
var shopAdmin = [
"admin"
];
// staff that can edit money
// Note: Users in shopAdmin DO NOT need to be listed here too
var shopStaff = [
"ccworld"
];
var moneyName = "Dollars";
var moneySym = "$";
var moneyPP = 10;
var shopOn = 1;
var shopSig = 0;
var shopAvatar = 0;
var allowDonations = 1;
var useButton = 1;
var maxItems = -1;
// can leave blank ""
var buttonUrl = "http://pb.ccsr.us/shop/menu/card_shop.gif";
/*ITMLSTSTRHRE*/
var addOnItems = [
[0,"Basic Axe","http://pb.ccsr.us/shop/items/axe.gif",500,"A basic battle axe.",0,1],
[1,"Bunch of Balloons #1","http://pb.ccsr.us/shop/items/balloonbunch.gif",250,"The first bunch of brightly colored balloons.",0,3],
[2,"Blob","http://pb.ccsr.us/shop/items/blob.gif",800,"Buy your very own pet blob!",0,4],
[3,"Bunny","http://pb.ccsr.us/shop/items/bunny.gif",900,"Buy your own pet bunny! Nice and fluffy...",0,4],
[4,"Chain Mace","http://pb.ccsr.us/shop/items/chainmace.gif",750,"High quality iron chain mace.",0,1],
[5,"Cross","http://pb.ccsr.us/shop/items/cross.gif",650,"A solid stone cross.",0,2],
[6,"Cutlass","http://pb.ccsr.us/shop/items/cutlass.gif",800,"A well constructed cutlass.",0,1],
[7,"Dagger","http://pb.ccsr.us/shop/items/dagger.gif",300,"A short, easily concealible dagger.",0,1],
[8,"AJ Styles","http://i797./yy258/GSMgalaxy/ajstyles.png.","Credit Dean.",0,3],
[9,"Double Axe","http://pb.ccsr.us/shop/items/doubleaxe.gif",950,"A double sided battle axe.",0,1],
[10,"Fire Axe","http://pb.ccsr.us/shop/items/fireaxe.gif",850,"An axe enchanted with fire.",0,1],
[11,"Fire Sword","http://pb.ccsr.us/shop/items/firesword.gif",800,"A sword enchated with fire.",0,1],
[12,"Christain","http://i797./yy258/GSMgalaxy/chirstain.png",75,"Credit Dean.",0,3],
[13,"Hammer","http://pb.ccsr.us/shop/items/hammer.gif",300,"A strudy metal hammer.",0,2],
[14,"Hand Axe","http://pb.ccsr.us/shop/items/handaxe.gif",400,"A small, but nice hand axe.",0,1],
[15,"Harp","http://pb.ccsr.us/shop/items/harp.gif",650,"Make music (or at least noises) with this nice golden harp.",0,2],
[16,"Chris Jericho","http://i797./yy258/GSMgalaxy/y2j.png",75,"Credit Dean.",0,3],
[17,"Bow","http://pb.ccsr.us/shop/items/makebow.gif",550,"A low quality make-shift bow.",0,1],
[18,"Shy guyy","http://i675./vv111/pacowan/shyguy.gif",150,"Shy Guy",0,2],
[19,"Minning Equipment","http://pb.ccsr.us/shop/items/mineeqp.gif",450,"A collection of minning equipment.",0,2],
[20,"CM Punk","http://i797./yy258/GSMgalaxy/punk.png",75,"Credit Dean.",0,3],
[21,"Penguin","http://pb.ccsr.us/shop/items/penguin.gif",1000,"Your very own pet penguin! Straight from the south pole.",0,4],
[22,"Chuck Liddel","http://i797./yy258/GSMgalaxy/liddel.png",75,"Credit Dean.",0,3],
[23,"Royal Bow","http://pb.ccsr.us/shop/items/royalbow.gif",1200,"A very high quality bow with all the accessories you could want.",0,1],
[24,"Mushroom","http://i276./kk14/The_Eliteness/625040499.png",150,"A Mushroom from the mario games",0,2],
[25,"Spiked Club","http://pb.ccsr.us/shop/items/spikedclub.gif",400,"A basic club covered in spikes.",0,1],
[26,"Sword","http://pb.ccsr.us/shop/items/sword.gif",650,"The basic sword.",0,1],
[27,"Water Sword","http://pb.ccsr.us/shop/items/watersword.gif",800,"A sword enchanted with water.",0,1],
[28,"Wooden Club","http://pb.ccsr.us/shop/items/woodenclub.gif",150,"A thick club of wood.",0,1],
[29,"DX","http://i797./yy258/GSMgalaxy/dx2.pngf",75,"Credit Dean.",0,3],
[30,"Jeff Hardy","http://i797./yy258/GSMgalaxy/jeffmini.png",250,"Credit Dean.",0,3],
[31,"John Cena","http://i797./yy258/GSMgalaxy/johncena.png",85,"Credit Dean.",0,3],
[32,"Jack Swagger","http://i797./yy258/GSMgalaxy/swager.png",90,"Credit Dean.",0,3],
[33,"Hornswoggle","http://i797./yy258/GSMgalaxy/hornsowwgle.png",1250,Credit Dean",0,3],
[34,"Rey Mysterio","http://i797./yy258/GSMgalaxy/reym.png",2500,"Credit Dean.",0,3],
[35,"Randy Orton","http://i797./yy258/GSMgalaxy/ortonmini.png",50,"Credit Dean.",0,3],
[36,Sucide","http://i797./yy258/GSMgalaxy/SUICIDE.png",650,"Credit Dean",0,3],
[37,"Shelton Benjiman","http://i797./yy258/GSMgalaxy/sheltonb2.png",650,"Credit Dean.",0,3],
[38,"Sting","http://i797./yy258/GSMgalaxy/sting.png",650,"Credit Dean.",0,3],
[39,"Triple H","http://i797./yy258/GSMgalaxy/hhh.png",600,"Credit Dean.",0,3],
[40,"Red Pills","http://pb.ccsr.us/shop/items/redpills.gif",1300,"Three red pills.",0,6],
[41,"Blue Pill","http://pb.ccsr.us/shop/items/bluepill.gif",600,"A single blue pill.",0,6],
[42,"Blue Pills","http://pb.ccsr.us/shop/items/bluepills.gif",1500,"Three blue pills.",0,6],
[43,"Med Kit","http://pb.ccsr.us/shop/items/medkit.gif",1800,"A med kit contaning everything you'd ever need.",0,6],
[44,"Star","http://i276./kk14/The_Eliteness/10835-Star_small.png",550,"Star from the Mario games",0,2],
[45,"Mega Mushroom","http://i276./kk14/The_Eliteness/440590392.png",550,"Mega Mushroom.",0,5],
[46,"Charmander","http://i39.tinypic.com/2mrtehg.png",550,"Charmander from Pokemon",0,2],
[47,"1 Up Mushroom","http://i276./kk14/The_Eliteness/376779147.png",550,"1 up Mushroom from the Mario games",0,2],
[48,"Solid Snake","http://i554./jj438/emoticonswench/Snake.gif",550,"Soild Snake from the Metal Gear Solid games",0,5],
[49,"Pikachu","http://pokemonelite2000.com/sprites/dpicon/dpicon025.png",550,"Pikachu from Pokemon",0,2],
[50,"JigglyPuff","http://pokemonelite2000.com/sprites/dpicon/dpicon039.png",550,"JigglyPuff from Pokemin",0,5],
[51,"Small Pile of Coins","http://pb.ccsr.us/shop/items/smcoins.gif",500,"A small pile of coins.",2,7],
[52,"Medium Pile of Coins","http://pb.ccsr.us/shop/items/medcoins.gif",1000,"A medium pile of coins.",2,7],
[53,"Large Pile of Coins","http://pb.ccsr.us/shop/items/bigcoins.gif",1500,"A large pile of coins.",2,7],
[54,"Treasure Chest","http://pb.ccsr.us/shop/items/treasure.gif",2500,"A treasure chest fillied with coins.",2,7],
[55,"Red Jewel","http://pb.ccsr.us/shop/items/redjewel.gif",500,"A shiny red jewel.",0,7],
[56,"Blue Jewel","http://pb.ccsr.us/shop/items/bluejewel.gif",500,"A shiny blue jewel.",0,7],
[57,"Green Jewel","http://pb.ccsr.us/shop/items/greenjewel.gif",500,"A shiny green jewel.",0,7]
];
var cMaxItems = 57;
/*ITMLSTENDHRE*/
/*SHPITMSTRHRE*/
var shopItems = {
title: {
available: 1,
amount: 250
},
usernameBold: {
available: 1,
amount: 100
},
usernameItalic: {
available: 1,
amount: 100
},
usernameUline: {
available: 1,
amount: 100
}
};
/*SHPITMENDHRE*/
/*SHPRNKSRTHRE*/
var shopRanks = [
[0, "Small Yellow", "http://pb.ccsr.us/shop/stars/star.gif"],
[1, "Large Yellow", "http://pb.ccsr.us/shop/stars/staryellow.gif"],
[2, "Pink", "http://pb.ccsr.us/shop/stars/starpink.gif"],
[3, "Purple", "http://pb.ccsr.us/shop/stars/starpurple.gif"],
[4, "Black", "http://pb.ccsr.us/shop/stars/starblack.gif"],
[5, "Grey", "http://pb.ccsr.us/shop/stars/stargrey.gif"],
[6, "White", "http://pb.ccsr.us/shop/stars/starwhite.gif"]
];
var cMaxRanks = 9;
/*SHPRNKENDHRE*/
/*SHPCATSRTHRE*/
var shopCats = [
[1, "Weapons"],
[2, "Video games"],
[3, "Wrestlers"],
[4, "Animals/Pets"],
[5, "Clothing"],
[6, "Medical"],
[7, "Jewels"]
];
var cMaxCats = 7;
/*SHPCATENDHRE*/
//-->
</script>
<script type="text/javascript" src="http://pb.ccsr.us/shop/0.3/main.js"></script>
I used that code.
The oringal code is
<script type="text/javascript">
<!--
/*
YourShop
Version 0.3
Copyright 2005-2008 Bradley Nelson a.k.a CCWorld
All Rights Reserved
For use on Proboards Boards only.
This Header must remain intact at all times.
Do not re-post without permission.
*/
// staff that can mange shop settings
var shopAdmin = [
"admin"
];
// staff that can edit money
// Note: Users in shopAdmin DO NOT need to be listed here too
var shopStaff = [
"ccworld"
];
var moneyName = "Dollars";
var moneySym = "$";
var moneyPP = 5;
var shopOn = 1;
var shopSig = 0;
var shopAvatar = 0;
var allowDonations = 1;
var useButton = 1;
var maxItems = -1;
// can leave blank ""
var buttonUrl = "http://pb.ccsr.us/shop/menu/card_shop.gif";
/*ITMLSTSTRHRE*/
var addOnItems = [
[0,"Basic Axe","http://pb.ccsr.us/shop/items/axe.gif",500,"A basic battle axe.",0,1],
[1,"Bunch of Balloons #1","http://pb.ccsr.us/shop/items/balloonbunch.gif",250,"The first bunch of brightly colored balloons.",0,3],
[2,"Blob","http://pb.ccsr.us/shop/items/blob.gif",800,"Buy your very own pet blob!",0,4],
[3,"Bunny","http://pb.ccsr.us/shop/items/bunny.gif",900,"Buy your own pet bunny! Nice and fluffy...",0,4],
[4,"Chain Mace","http://pb.ccsr.us/shop/items/chainmace.gif",750,"High quality iron chain mace.",0,1],
[5,"Cross","http://pb.ccsr.us/shop/items/cross.gif",650,"A solid stone cross.",0,2],
[6,"Cutlass","http://pb.ccsr.us/shop/items/cutlass.gif",800,"A well constructed cutlass.",0,1],
[7,"Dagger","http://pb.ccsr.us/shop/items/dagger.gif",300,"A short, easily concealible dagger.",0,1],
[8,"Dark Blue Balloon","http://pb.ccsr.us/shop/items/dbballoon.gif",75,"A dark blue balloon.",0,3],
[9,"Double Axe","http://pb.ccsr.us/shop/items/doubleaxe.gif",950,"A double sided battle axe.",0,1],
[10,"Fire Axe","http://pb.ccsr.us/shop/items/fireaxe.gif",850,"An axe enchanted with fire.",0,1],
[11,"Fire Sword","http://pb.ccsr.us/shop/items/firesword.gif",800,"A sword enchated with fire.",0,1],
[12,"Green Balloon","http://pb.ccsr.us/shop/items/gballoon.gif",75,"A green balloon.",0,3],
[13,"Hammer","http://pb.ccsr.us/shop/items/hammer.gif",300,"A strudy metal hammer.",0,2],
[14,"Hand Axe","http://pb.ccsr.us/shop/items/handaxe.gif",400,"A small, but nice hand axe.",0,1],
[15,"Harp","http://pb.ccsr.us/shop/items/harp.gif",650,"Make music (or at least noises) with this nice golden harp.",0,2],
[16,"Light Blue Balloon","http://pb.ccsr.us/shop/items/lbballoon.gif",75,"A light blue balloon.",0,3],
[17,"Bow","http://pb.ccsr.us/shop/items/makebow.gif",550,"A low quality make-shift bow.",0,1],
[18,"Mallet","http://pb.ccsr.us/shop/items/mallet.gif",150,"A cheap, wooden mallet.",0,2],
[19,"Minning Equipment","http://pb.ccsr.us/shop/items/mineeqp.gif",450,"A collection of minning equipment.",0,2],
[20,"Purple Balloon","http://pb.ccsr.us/shop/items/pballoon.gif",75,"A purple balloon.",0,3],
[21,"Penguin","http://pb.ccsr.us/shop/items/penguin.gif",1000,"Your very own pet penguin! Straight from the south pole.",0,4],
[22,"Red Balloon","http://pb.ccsr.us/shop/items/rballoon.gif",75,"A red balloon.",0,3],
[23,"Royal Bow","http://pb.ccsr.us/shop/items/royalbow.gif",1200,"A very high quality bow with all the accessories you could want.",0,1],
[24,"Shovel","http://pb.ccsr.us/shop/items/shovel.gif",150,"A simple shovel.",0,2],
[25,"Spiked Club","http://pb.ccsr.us/shop/items/spikedclub.gif",400,"A basic club covered in spikes.",0,1],
[26,"Sword","http://pb.ccsr.us/shop/items/sword.gif",650,"The basic sword.",0,1],
[27,"Water Sword","http://pb.ccsr.us/shop/items/watersword.gif",800,"A sword enchanted with water.",0,1],
[28,"Wooden Club","http://pb.ccsr.us/shop/items/woodenclub.gif",150,"A thick club of wood.",0,1],
[29,"Yellow Balloon","http://pb.ccsr.us/shop/items/yballoon.gif",75,"A yellow balloon.",0,3],
[30,"Bunch of Balloons #2","http://pb.ccsr.us/shop/items/balloonbunch2.gif",250,"The second bunch of brightly colored balloons.",0,3],
[31,"Purple Heart Balloon","http://pb.ccsr.us/shop/items/phballoon.gif",85,"A purple balloon shaped like a heart.",0,3],
[32,"Red Heart Balloon","http://pb.ccsr.us/shop/items/rhballoon.gif",90,"A red balloon shaped like a heart.",0,3],
[33,"Silver Earings","http://pb.ccsr.us/shop/items/searings.gif",1250,"A pair of silver earings.",0,5],
[34,"Gold Earings","http://pb.ccsr.us/shop/items/gearings.gif",2500,"A high quality pair of gold earings.",0,5],
[35,"Empty Potion Bottle","http://pb.ccsr.us/shop/items/nopotion.gif",50,"A bottle that could hold a potion, but is instead empty.",0,6],
[36,"Red Potion","http://pb.ccsr.us/shop/items/redpotion.gif",650,"A bottle contaning a special red potion.",0,6],
[37,"Green Potion","http://pb.ccsr.us/shop/items/greenpotion.gif",650,"A bottle contaning a special green potion.",0,6],
[38,"Blue Potion","http://pb.ccsr.us/shop/items/bluepotion.gif",650,"A bottle contaning a special blue potion.",0,6],
[39,"Red Pill","http://pb.ccsr.us/shop/items/redpill.gif",600,"A single red pill.",0,6],
[40,"Red Pills","http://pb.ccsr.us/shop/items/redpills.gif",1300,"Three red pills.",0,6],
[41,"Blue Pill","http://pb.ccsr.us/shop/items/bluepill.gif",600,"A single blue pill.",0,6],
[42,"Blue Pills","http://pb.ccsr.us/shop/items/bluepills.gif",1500,"Three blue pills.",0,6],
[43,"Med Kit","http://pb.ccsr.us/shop/items/medkit.gif",1800,"A med kit contaning everything you'd ever need.",0,6],
[44,"Brown Cloths","http://pb.ccsr.us/shop/items/brownshirt.gif",550,"A brown shirt and a pair of pants.",0,5],
[45,"Yellow Cloths","http://pb.ccsr.us/shop/items/yellowshirt.gif",550,"A yellow shirt and a pair of pants.",0,5],
[46,"Red Cloths","http://pb.ccsr.us/shop/items/redshirt.gif",550,"A red shirt and a pair of pants.",0,5],
[47,"Purple Cloths","http://pb.ccsr.us/shop/items/purpleshirt.gif",550,"A purple shirt and a pair of pants.",0,5],
[48,"Green Cloths","http://pb.ccsr.us/shop/items/greenshirt.gif",550,"A greem shirt and a pair of pants.",0,5],
[49,"Blue Cloths","http://pb.ccsr.us/shop/items/blueshirt.gif",550,"A blue shirt and a pair of pants.",0,5],
[50,"Black Cloths","http://pb.ccsr.us/shop/items/blackshirt.gif",550,"A black shirt and a pair of pants.",0,5],
[51,"Small Pile of Coins","http://pb.ccsr.us/shop/items/smcoins.gif",500,"A small pile of coins.",2,7],
[52,"Medium Pile of Coins","http://pb.ccsr.us/shop/items/medcoins.gif",1000,"A medium pile of coins.",2,7],
[53,"Large Pile of Coins","http://pb.ccsr.us/shop/items/bigcoins.gif",1500,"A large pile of coins.",2,7],
[54,"Treasure Chest","http://pb.ccsr.us/shop/items/treasure.gif",2500,"A treasure chest fillied with coins.",2,7],
[55,"Red Jewel","http://pb.ccsr.us/shop/items/redjewel.gif",500,"A shiny red jewel.",0,7],
[56,"Blue Jewel","http://pb.ccsr.us/shop/items/bluejewel.gif",500,"A shiny blue jewel.",0,7],
[57,"Green Jewel","http://pb.ccsr.us/shop/items/greenjewel.gif",500,"A shiny green jewel.",0,7]
];
var cMaxItems = 57;
/*ITMLSTENDHRE*/
/*SHPITMSTRHRE*/
var shopItems = {
title: {
available: 1,
amount: 250
},
sig: {
available: 1,
amount: 100
},
avatar: {
available: 1,
amount: 100
},
usernameBold: {
available: 1,
amount: 100
},
usernameItalic: {
available: 1,
amount: 100
},
usernameColor: {
available: 1,
amount: 100
},
usernameUline: {
available: 1,
amount: 100
},
rank: {
available: 1,
amount: 500,
max: 5
}
};
/*SHPITMENDHRE*/
/*SHPRNKSRTHRE*/
var shopRanks = [
[0, "Blue", "http://pb.ccsr.us/shop/stars/starblue.gif"],
[1, "Red", "http://pb.ccsr.us/shop/stars/starred.gif"],
[2, "Green", "http://pb.ccsr.us/shop/stars/stargreen.gif"],
[3, "Small Yellow", "http://pb.ccsr.us/shop/stars/star.gif"],
[4, "Large Yellow", "http://pb.ccsr.us/shop/stars/staryellow.gif"],
[5, "Pink", "http://pb.ccsr.us/shop/stars/starpink.gif"],
[6, "Purple", "http://pb.ccsr.us/shop/stars/starpurple.gif"],
[7, "Black", "http://pb.ccsr.us/shop/stars/starblack.gif"],
[8, "Grey", "http://pb.ccsr.us/shop/stars/stargrey.gif"],
[9, "White", "http://pb.ccsr.us/shop/stars/starwhite.gif"]
];
var cMaxRanks = 9;
/*SHPRNKENDHRE*/
/*SHPCATSRTHRE*/
var shopCats = [
[1, "Weapons"],
[2, "Tools/Other"],
[3, "Balloons"],
[4, "Animals/Pets"],
[5, "Clothing"],
[6, "Medical"],
[7, "Jewels"]
];
var cMaxCats = 7;
/*SHPCATENDHRE*/
//-->
</script>
<script type="text/javascript" src="http://pb.ccsr.us/shop/0.3/main.js"></script>
PLEASE help I spent over a hour trying to this.