#1
|
|||
|
|||
Shop?
My plan is to make a simple "Get points - Spend points" system. This is what I need support with:
*How do I make it so that the variable "$money" raises with 10 everytime a player levels up another pet? Do I write it like this: First: $money = 0 And then: $money = +10 ? *How do I edit the script for the "Terms of Service" page? Please give me some support! |
#2
|
|||
|
|||
RE: Shop?
Well, for question 1 you would have to not only increase the variable but you would also have to store the user's money in the database. Do you have PHP knowledge? This is more advanced so you should know some PHP code to do this if you want to do this on your own.
For the second question, do you mean edit the Terms of Service content? This can be done in the Admin CP of the script on the page editor. Otherwise please be more specific as to what you meant. :) |
#3
|
|||
|
|||
RE: Shop?
Hm, well I don't have any PHP knowledge... I am only 12 years old, and just started with different scripts. Could you pretty please tell me how to store something in the database? It would help me this [|||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||] much.[hr]
Yes, I want to edit the site, but can you use PHP in the editor? Or just plain text? |
#4
|
|||
|
|||
RE: Shop?
Well, I wouldn't recommend making any changes now as a new release is only a week or two away, which will add a lot more features. Johnathon is working on it. :)
For the editor you can use plain text or HTML only. If you need to do PHP in that page then you can edit the tos.php file to add your PHP code. :) |
#5
|
|||
|
|||
RE: Shop?
OK, thanks for the help. I just wanted to see if anyone where kind enough to help me, so I would at least know how to do it in the future... :D
Ah, never mind... :D |
#6
|
|||
|
|||
RE: Shop?
Well, it's not just a simple thing to do. I recommend that you take a look at the code inside of the PHP files for the script and see how the script connects with the database and inserts and deletes info and how it works. That will get you started. :)
If you have some actual code you are working on feel free to post it here and I can take a look. :) |
#7
|
|||
|
|||
RE: Shop?
OK, sure I'll post it here when I start some new weird project... :D
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shop Discount | Kyttias | Questions and Supports | 3 | 12-23-2014 05:51 PM |
Shop error? | pachoofoosh | Questions and Supports | 1 | 10-30-2014 01:10 PM |
Shop to buy an adoptable? | SilverDragonTears | Questions and Supports | 8 | 08-16-2011 02:17 PM |
System Shop | sensacion | Questions and Supports | 0 | 05-08-2011 06:40 PM |
Shop and... | 12345 | Questions and Supports | 1 | 03-05-2009 07:59 AM |
What's New? |
What's Hot? |
What's Popular? |