SMF For Free Support Forum
Signup For Free Forum
October 13, 2008, 03:23:04 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: 1 2 3 4 [5] 6 7 8 9
  Print  
Author Topic: [Code] Shop V1  (Read 8031 times)
0 Members and 1 Guest are viewing this topic.
Isaiahs Grandma
SMF For Free Sponsors
*
Offline Offline

Posts: 274



View Profile WWW
« Reply #60 on: May 07, 2008, 02:28:47 pm »

Forum Url: http://ourhangout.smfforfree4.com
I took out the money code and it still did not work.
Did the google page for this by chance change when the other codes did?
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 8476



View Profile WWW
« Reply #61 on: May 07, 2008, 02:58:12 pm »

Forum Url: http://ourhangout.smfforfree4.com
I took out the money code and it still did not work.
Did the google page for this by chance change when the other codes did?

It appears he did change the footer code the other day to make the googlepage file random so the bandwidth issue will not occur again.  You need to replace the footer code for it with this one:
Of course make sure to make the necessary changes to the code

Code:
<script>
var Name = "NAME";
var Sign = "SIGN";
var PerPost = "PERPOST";
var UserID = "ID";

var Item = new Array();
Item[Item.length] = ["ITEM","DESCRIPTION","COST"];

document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/shop1.js'><\/script>");
</script>
« Last Edit: May 07, 2008, 02:59:54 pm by simply sibyl » Logged

Isaiahs Grandma
SMF For Free Sponsors
*
Offline Offline

Posts: 274



View Profile WWW
« Reply #62 on: May 07, 2008, 03:01:39 pm »

Forum Url: http://ourhangout.smfforfree4.com
Ok I thought that could be it! Thank you so much! I will give that a try!
Logged

Isaiahs Grandma
SMF For Free Sponsors
*
Offline Offline

Posts: 274



View Profile WWW
« Reply #63 on: May 07, 2008, 03:19:06 pm »

Forum Url: http://ourhangout.smfforfree4.com
Nope didnt work!  Smiley It shows the amount of dollars they have earned on the forum boards, and on the profile as well. But when you look at the forum profile settings page, it turns back to $0. When you purchase something, it goes thrrough it all and asks are you sure you want to buy item, after you hit yes, it freezes the page and does nothing else, other then it creates an error message!  Smiley

This is what I have in there:
Code:
<script>
var Name = "Banana Funds";
var Sign = "$";
var PerPost = "10";
var UserID = "1";
var Item = new Array();
Item[Item.length] = ["Car","Red Corvette","1000"];
Item[Item.length] = ["Hot Tub","Large Garden Tub","500"];
Item[Item.length] = ["Walmart Stock","Doubles your Bank!","200"];
Item[Item.length] = ["Wand","Grant wishes with your wand.","150"];
Item[Item.length] = ["New computer","Get a new computer","150"];
Item[Item.length] = ["Stave","You will use this for healing people.","100"];
Item[Item.length] = ["Dinner","Steak Dinner","50"];
Item[Item.length] = ["Pet","Buy a Dog","25"];
Item[Item.length] = ["Pet","Buy a Cat","25"];
Item[Item.length] = ["Balloon","Red Balloon","10"];
Item[Item.length] = ["Lamp","Desk Lamp","10"];
Item[Item.length] = ["Bubble Bath","Calgon take me away","10"];
Item[Item.length] = ["Wine","Austi Spamanti 750ml","10"];
Item[Item.length] = ["Garden Gloves","Leather Gloves","10"];
Item[Item.length] = ["Pet","Buy A Fish","10"];
Item[Item.length] = ["Cheese","Sharp Cheddar Cheese","10"];
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/shop1.js'><\/script>");
</script>
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 641


Do not PM me for Code Support or Request


View Profile
« Reply #64 on: May 09, 2008, 02:49:05 pm »

That is weird...I didnt change anything with the codes when I put it on a new googlepages account.

Well, I just reuploaded all of the shop codes on each account, so try taht.  If it doesn't work, then I guess it will take me awhile to figure it out.
Logged

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/center]
ArmyLife
SMF For Free Member
*
Offline Offline

Posts: 58


View Profile
« Reply #65 on: May 09, 2008, 08:00:11 pm »

how do i add cash?
Logged
Agent Moose
Moderator
*****
Offline Offline

Posts: 641


Do not PM me for Code Support or Request


View Profile
« Reply #66 on: May 10, 2008, 08:26:43 am »

Members get cash everytime they make a post.
Logged

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/center]
ArmyLife
SMF For Free Member
*
Offline Offline

Posts: 58


View Profile
« Reply #67 on: May 10, 2008, 03:38:07 pm »

Forum Url: http://Joltscapev3.smfforfree2.com
Yes i know, Lets say i want to add more cash if they do something good in the Runescape private server (join if you want over 100 active players) is there a way i can raise the cash without rasing the post count?
Logged
mattmilla1
SMF For Free Member
*
Offline Offline

Posts: 52


crazydog10


View Profile WWW
« Reply #68 on: May 10, 2008, 04:53:39 pm »

make them post more Wink
Logged

<CRAZYDOG10>
     
=crazydog10=
<br />
=That cat is a bigfoot bounty hunter lol=
ArmyLife
SMF For Free Member
*
Offline Offline

Posts: 58


View Profile
« Reply #69 on: May 10, 2008, 05:34:10 pm »

Forum Url: http://joltscapev3.smfforfree2.com
Thats not the point i dont want them to get "Cheap posts" i want to reward them but i guess ill just have to raise posts... which i dont want to.
Logged
mattmilla1
SMF For Free Member
*
Offline Offline

Posts: 52


crazydog10


View Profile WWW
« Reply #70 on: May 10, 2008, 05:39:50 pm »

you could always promote them to admin or something.....just keep exploring the code to find out more about it...its a complicated code!!! Agent Moose did a great job with it and him looking forward to V2!!! I cant wait.
Logged

<CRAZYDOG10>
     
=crazydog10=
<br />
=That cat is a bigfoot bounty hunter lol=
simply sibyl
Global Moderator
*
Offline Offline

Posts: 8476



View Profile WWW
« Reply #71 on: May 10, 2008, 05:44:21 pm »

you could always promote them to admin or something.....

Short off topic remark:
We are constantly advising people to not give admin access to anyone on their forums.
Too many times we are seeing forums being taken away from someone because of this.
Also be careful givng someone Global Moderator access.   

Logged

ArmyLife
SMF For Free Member
*
Offline Offline

Posts: 58


View Profile
« Reply #72 on: May 10, 2008, 05:55:00 pm »

No, im not some type of noob who starts a forum with only 1 person ever active and gives admin/mod away to anyone (no offenese to people that do that) Im running a forum for a successful private server, and i only have administrators the only administrators rights i give is to Real ingame admins and the owner. So i would not do that...
Logged
Isaiahs Grandma
SMF For Free Sponsors
*
Offline Offline

Posts: 274



View Profile WWW
« Reply #73 on: May 10, 2008, 06:19:53 pm »

Forum Url: http://ourhangout.smfforfree4.com
The code is working, however it does not subtract when you try too. When setting up the custom profile settings, does it need to be a text, text area or selection box?
Logged

RedNight
SMF For Free Sr. Member
*
Offline Offline

Posts: 290



View Profile WWW
« Reply #74 on: May 10, 2008, 06:30:00 pm »

 Isaiahs Grandma This is how you need to set up the Custom Profile Fields.  Do exactly like it says and it will work.


Quote
Before you accually add the shop, you need to create a new Profile Feild.  So,
1. Go to: Admin >> Features and Options >> Custom Profile Fields.
2. Press Add Field.
3. Now Click on the [Settings] Link.
4. Now Put this information as the Settings:
      Name: Subtract
      Field Description: The Ammount of money that will be subtracted from this user.
      Show in profile?:  Check
      Show in posts?: Under Post Count
      Parse BBC?: UnCheck
      Text to display before field (BBC is ok if enabled above): Leave Blank
      Text to display After field (BBC is ok if enabled above): Leave Blank
      Field ID:  SubtractMoney
      Add a horizontal rule before field?:  Don't Show
      Show field on registration?:  Don't Show
      Only allow admins to edit field?:  Check
      Only allow admins to view field?:  UnCheck
5. Press Save.
« Last Edit: May 10, 2008, 06:33:08 pm by RedNight » Logged



Pages: 1 2 3 4 [5] 6 7 8 9
  Print  
 
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.311 seconds with 18 queries.