Niemz
Administrator
STG: Magsman 242 Award Yatzee Award
Posts: 11,448
|
Post by Niemz on Jan 28, 2009 16:59:38 GMT -6
Here's the actual code. It goes in the top of the Global Footers.
<script type="text/javascript"> <!-- /* YourShop Version 0.3
Copyright 2005-2006 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://proboards.the-ccw.net/pb/shop/menu/card_shop.gif";
/*ITMLSTSTRHRE*/ var addOnItems = [ [0,"Basic Axe","http://proboards.the-ccw.net/pb/shop/items/axe.gif",500,"A basic battle axe.",0,1], [1,"Bunch of Balloons #1","http://proboards.the-ccw.net/pb/shop/items/balloonbunch.gif",250,"The first bunch of brightly colored balloons.",0,3], [2,"Blob","http://proboards.the-ccw.net/pb/shop/items/blob.gif",800,"Buy your very own pet blob!",0,4], [3,"Bunny","http://proboards.the-ccw.net/pb/shop/items/bunny.gif",900,"Buy your own pet bunny! Nice and fluffy...",0,4], [4,"Chain Mace","http://proboards.the-ccw.net/pb/shop/items/chainmace.gif",750,"High quality iron chain mace.",0,1], [5,"Cross","http://proboards.the-ccw.net/pb/shop/items/cross.gif",650,"A solid stone cross.",0,2], [6,"Cutlass","http://proboards.the-ccw.net/pb/shop/items/cutlass.gif",800,"A well constructed cutlass.",0,1], [7,"Dagger","http://proboards.the-ccw.net/pb/shop/items/dagger.gif",300,"A short, easily concealible dagger.",0,1], [8,"Dark Blue Balloon","http://proboards.the-ccw.net/pb/shop/items/dbballoon.gif",75,"A dark blue balloon.",0,3], [9,"Double Axe","http://proboards.the-ccw.net/pb/shop/items/doubleaxe.gif",950,"A double sided battle axe.",0,1], [10,"Fire Axe","http://proboards.the-ccw.net/pb/shop/items/fireaxe.gif",850,"An axe enchanted with fire.",0,1], [11,"Fire Sword","http://proboards.the-ccw.net/pb/shop/items/firesword.gif",800,"A sword enchated with fire.",0,1], [12,"Green Balloon","http://proboards.the-ccw.net/pb/shop/items/gballoon.gif",75,"A green balloon.",0,3], [13,"Hammer","http://proboards.the-ccw.net/pb/shop/items/hammer.gif",300,"A strudy metal hammer.",0,2], [14,"Hand Axe","http://proboards.the-ccw.net/pb/shop/items/handaxe.gif",400,"A small, but nice hand axe.",0,1], [15,"Harp","http://proboards.the-ccw.net/pb/shop/items/harp.gif",650,"Make music (or at least noises) with this nice golden harp.",0,2], [16,"Light Blue Balloon","http://proboards.the-ccw.net/pb/shop/items/lbballoon.gif",75,"A light blue balloon.",0,3], [17,"Bow","http://proboards.the-ccw.net/pb/shop/items/makebow.gif",550,"A low quality make-shift bow.",0,1], [18,"Mallet","http://proboards.the-ccw.net/pb/shop/items/mallet.gif",150,"A cheap, wooden mallet.",0,2], [19,"Minning Equipment","http://proboards.the-ccw.net/pb/shop/items/mineeqp.gif",450,"A collection of minning equipment.",0,2], [20,"Purple Balloon","http://proboards.the-ccw.net/pb/shop/items/pballoon.gif",75,"A purple balloon.",0,3], [21,"Penguin","http://proboards.the-ccw.net/pb/shop/items/penguin.gif",1000,"Your very own pet penguin! Straight from the south pole.",0,4], [22,"Red Balloon","http://proboards.the-ccw.net/pb/shop/items/rballoon.gif",75,"A red balloon.",0,3], [23,"Royal Bow","http://proboards.the-ccw.net/pb/shop/items/royalbow.gif",1200,"A very high quality bow with all the accessories you could want.",0,1], [24,"Shovel","http://proboards.the-ccw.net/pb/shop/items/shovel.gif",150,"A simple shovel.",0,2], [25,"Spiked Club","http://proboards.the-ccw.net/pb/shop/items/spikedclub.gif",400,"A basic club covered in spikes.",0,1], [26,"Sword","http://proboards.the-ccw.net/pb/shop/items/sword.gif",650,"The basic sword.",0,1], [27,"Water Sword","http://proboards.the-ccw.net/pb/shop/items/watersword.gif",800,"A sword enchanted with water.",0,1], [28,"Wooden Club","http://proboards.the-ccw.net/pb/shop/items/woodenclub.gif",150,"A thick club of wood.",0,1], [29,"Yellow Balloon","http://proboards.the-ccw.net/pb/shop/items/yballoon.gif",75,"A yellow balloon.",0,3], [30,"Bunch of Balloons #2","http://proboards.the-ccw.net/pb/shop/items/balloonbunch2.gif",250,"The second bunch of brightly colored balloons.",0,3], [31,"Purple Heart Balloon","http://proboards.the-ccw.net/pb/shop/items/phballoon.gif",85,"A purple balloon shaped like a heart.",0,3], [32,"Red Heart Balloon","http://proboards.the-ccw.net/pb/shop/items/rhballoon.gif",90,"A red balloon shaped like a heart.",0,3], [33,"Silver Earings","http://proboards.the-ccw.net/pb/shop/items/searings.gif",1250,"A pair of silver earings.",0,5], [34,"Gold Earings","http://proboards.the-ccw.net/pb/shop/items/gearings.gif",2500,"A high quality pair of gold earings.",0,5], [35,"Empty Potion Bottle","http://proboards.the-ccw.net/pb/shop/items/nopotion.gif",50,"A bottle that could hold a potion, but is instead empty.",0,6], [36,"Red Potion","http://proboards.the-ccw.net/pb/shop/items/redpotion.gif",650,"A bottle contaning a special red potion.",0,6], [37,"Green Potion","http://proboards.the-ccw.net/pb/shop/items/greenpotion.gif",650,"A bottle contaning a special green potion.",0,6], [38,"Blue Potion","http://proboards.the-ccw.net/pb/shop/items/bluepotion.gif",650,"A bottle contaning a special blue potion.",0,6], [39,"Red Pill","http://proboards.the-ccw.net/pb/shop/items/redpill.gif",600,"A single red pill.",0,6], [40,"Red Pills","http://proboards.the-ccw.net/pb/shop/items/redpills.gif",1300,"Three red pills.",0,6], [41,"Blue Pill","http://proboards.the-ccw.net/pb/shop/items/bluepill.gif",600,"A single blue pill.",0,6], [42,"Blue Pills","http://proboards.the-ccw.net/pb/shop/items/bluepills.gif",1500,"Three blue pills.",0,6], [43,"Med Kit","http://proboards.the-ccw.net/pb/shop/items/medkit.gif",1800,"A med kit contaning everything you'd ever need.",0,6], [44,"Brown Cloths","http://proboards.the-ccw.net/pb/shop/items/brownshirt.gif",550,"A brown shirt and a pair of pants.",0,5], [45,"Yellow Cloths","http://proboards.the-ccw.net/pb/shop/items/yellowshirt.gif",550,"A yellow shirt and a pair of pants.",0,5], [46,"Red Cloths","http://proboards.the-ccw.net/pb/shop/items/redshirt.gif",550,"A red shirt and a pair of pants.",0,5], [47,"Purple Cloths","http://proboards.the-ccw.net/pb/shop/items/purpleshirt.gif",550,"A purple shirt and a pair of pants.",0,5], [48,"Green Cloths","http://proboards.the-ccw.net/pb/shop/items/greenshirt.gif",550,"A greem shirt and a pair of pants.",0,5], [49,"Blue Cloths","http://proboards.the-ccw.net/pb/shop/items/blueshirt.gif",550,"A blue shirt and a pair of pants.",0,5], [50,"Black Cloths","http://proboards.the-ccw.net/pb/shop/items/blackshirt.gif",550,"A black shirt and a pair of pants.",0,5], [51,"Small Pile of Coins","http://proboards.the-ccw.net/pb/shop/items/smcoins.gif",500,"A small pile of coins.",2,7], [52,"Medium Pile of Coins","http://proboards.the-ccw.net/pb/shop/items/medcoins.gif",1000,"A medium pile of coins.",2,7], [53,"Large Pile of Coins","http://proboards.the-ccw.net/pb/shop/items/bigcoins.gif",1500,"A large pile of coins.",2,7], [54,"Treasure Chest","http://proboards.the-ccw.net/pb/shop/items/treasure.gif",2500,"A treasure chest fillied with coins.",2,7], [55,"Red Jewel","http://proboards.the-ccw.net/pb/shop/items/redjewel.gif",500,"A shiny red jewel.",0,7], [56,"Blue Jewel","http://proboards.the-ccw.net/pb/shop/items/bluejewel.gif",500,"A shiny blue jewel.",0,7], [57,"Green Jewel","http://proboards.the-ccw.net/pb/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://proboards.the-ccw.net/pb/shop/stars/starblue.gif"], [1, "Red", "http://proboards.the-ccw.net/pb/shop/stars/starred.gif"], [2, "Green", "http://proboards.the-ccw.net/pb/shop/stars/stargreen.gif"], [3, "Small Yellow", "http://proboards.the-ccw.net/pb/shop/stars/star.gif"], [4, "Large Yellow", "http://proboards.the-ccw.net/pb/shop/stars/staryellow.gif"], [5, "Pink", "http://proboards.the-ccw.net/pb/shop/stars/starpink.gif"], [6, "Purple", "http://proboards.the-ccw.net/pb/shop/stars/starpurple.gif"], [7, "Black", "http://proboards.the-ccw.net/pb/shop/stars/starblack.gif"], [8, "Grey", "http://proboards.the-ccw.net/pb/shop/stars/stargrey.gif"], [9, "White", "http://proboards.the-ccw.net/pb/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://proboards.the-ccw.net/pb/shop/0.3/main.js"></script>
The username of a staff member that can edit money/items. This user must have the power to edit profiles. The username of a staff member that can modify shop settings and edit money/items. This user must have the power to edit profiles and headers and footers.
For more stars or staff that can edit repeat the underlined line. There should be a comma after each of the lines for the stars/staff except the last.
Note for When/If Removing this Code: This code stores information in the "Personal Text" field of the users profile. If at some point you decide to remove this code or for whatever reason the code stops working then that information will remain visible in the personal text field until you or the user removes it. This information would look something like: óèð¨!±°°¶²µ± â$ ó$ á$ ôþÃõóôïí+Ôéôìå ðþ²±¬±¬²µ¬µ´¬· ©8
|
|