We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
GSF Shop; You will need your OWN Money Code; By .Scott
Topic Started: Jan 23 2010, 12:49 AM (324 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: .Scott
GSF Shop; You will need your OWN Money Code
 
Code Name: GSF Shop
Description: A shop made for a forum I visit, though they don't use it anymore. So edit ANYTHING you would like in here, just don't mess around with the copyright. ;) Also creating shops that people want in this is setting up regular forums for them which the requests are sent AUTOMATICALLY to an admins pm box that you choose, read what the code does WHEN you set it up and just play around with it. This code will not show for Guests, so you have to be a member to see it. I won't be installing this for anyone.
Preview of it in Use: Preview
Where it goes: Footer
Code:
 
<script>
//GSF Shop
//By slayer766 of thecodingzone.com
//Steal this and the dragon will get you!

//On=Turn Shop On. Off=Turn Shop Off.
var ShopStatus = "On"

var boardname = 'slayer766hacks'

//User to PM the purchases to
var username = 'slayer766'

//The users ID number
var userid = '1'

//Price, Location, Name for Shop1
var shop1price = '399'
var shop1locate = 'GFX'
var shop1name = 'Blah'

//Price, Location, Name for Shop2
var shop2price = '845'
var shop2locate = 'Codes'
var shop2name = 'Rawr'

//Price, Location, Name for Shop3
var shop3price = '1,200'
var shop3locate = 'Review'
var shop3name = 'Secks'

//Shop offline error messages
var off1 = "<br /><b>Error:</b> Shop has been turned off until further notice."
var off2 = "<br /><b>Error:</b> Shop has been turned off until further notice."
var off3 = "<br /><b>Error:</b> Shop has been turned off until further notice."

//Shops 1-3 sections
var shop1 = "<br /><form action='"+location.href.split("?")[0]+"?' name='shop'><input type='text' name='msg_title' size='25' tabindex='2' maxlength='20' value='Buying a Shop' class='forminput'><br /><br />Send Purchase To Who?<br /><select name='from_contact' class='forminput'><option value='-'>Select</option><option value='"+userid+"'>"+username+"</option></select><input type='hidden' name='act' value='Msg'><input type='hidden' name='CODE' value='04'><input type='hidden' name='MODE' value='01'><input type='hidden' name='OID' value=''><input type='hidden' name='reply_to' value=''><br /><br /><h3><u>"+shop1name+" Description</u></h3><textarea cols='20' rows='3' name='Post' tabindex='3'>Name of Shop: "+shop1name+" Price of shop: $"+shop1price+" Location of shop: "+shop1locate+"</textarea><br /><br /><input type='submit' value='Buy This Shop' tabindex='4' accesskey='s' class='forminput' name='submit'></form><br /><br />"


var shop2 = "<br /><form action='"+location.href.split("?")[0]+"?' name='shop'><input type='text' name='msg_title' size='25' tabindex='2' maxlength='20' value='Buying a Shop' class='forminput'><br /><br />Send Purchase To Who?<br /><select name='from_contact' class='forminput'><option value='-'>Select</option><option value='"+userid+"'>"+username+"</option></select><input type='hidden' name='act' value='Msg'><input type='hidden' name='CODE' value='04'><input type='hidden' name='MODE' value='01'><input type='hidden' name='OID' value=''><input type='hidden' name='reply_to' value=''><br /><br /><h3><u>"+shop2name+" Description</u></h3><textarea cols='21' rows='3' name='Post' tabindex='3'>Name of Shop: "+shop2name+" Price of shop: $"+shop2price+" Location of shop: "+shop2locate+"</textarea><br /><br /><input type='submit' value='Buy This Shop' tabindex='4' accesskey='s' class='forminput' name='submit'></form><br /><br />"


var shop3 = "<br /><form action='"+location.href.split("?")[0]+"?' name='shop'><input type='text' name='msg_title' size='25' tabindex='2' maxlength='20' value='Buying a Shop' class='forminput'><br /><br />Send Purchase To Who?<br /><select name='from_contact' class='forminput'><option value='-'>Select</option><option value='"+userid+"'>"+username+"</option></select><input type='hidden' name='act' value='Msg'><input type='hidden' name='CODE' value='04'><input type='hidden' name='MODE' value='01'><input type='hidden' name='OID' value=''><input type='hidden' name='reply_to' value=''><br /><br /><h3><u>"+shop3name+" Description</u></h3><textarea cols='22' rows='3' name='Post' tabindex='3'>Name of Shop: "+shop3name+" Price of shop: $"+shop3price+" Location of shop: "+shop3locate+"</textarea><br /><br /><input type='submit' value='Buy This Shop' tabindex='4' accesskey='s' class='forminput' name='submit'></form><br /><br />"

document.write("<script language='javascript' src='http://i6.ifrm.com/9467/89/upload/p12049161.ibf'><\/script>");
</script>


This section goes in your Board Wrappers> Header & Body> replace your <% BOARD %> tag like this:

Code:
 
<div id="theBoard>
<% BOARD %>
</div>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply