Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Currency for leveling up / Adoptable shop (Fixed again)
[size=medium]Note with this update! Please, re-run the queries to add the shop adoptables, if you have already installed it. Thanks.[/size]
[size=large]Important!! A way to prevent people stealing shop adoptables![/size] Open adopt.php and find something like this in the code (it won't be exactly like mine): PHP Code:
PHP Code:
[size=large]Earning money on level up [/size] Step 1: Run this here MySQL query to add the money field in your users table: PHP Code:
Download levelup.php and edit it to suit your site. Replace the number 10 with your desired amount of currency per level up. Step 3: This is important if you still want people to be able to register. :P Edit register2.php and find this line: PHP Code:
PHP Code:
Add this.... PHP Code:
PHP Code:
PHP Code:
[size=large] Shop to buy adoptables[/size] Step 1: Download shop.php, buy.php, and buyconfirm.php and upload them to your main folder. Step 2: Add adoptables for sale by running a query like this. Do not change the shop part unless you know what you're doing. PHP Code:
PHP Code:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
leveling idea | Nemesis | Suggestions and Feature Requests | 2 | 01-08-2012 12:23 PM |
Shop to buy an adoptable? | SilverDragonTears | Questions and Supports | 8 | 08-16-2011 02:17 PM |
Adoptable shop new version! [UPDATED!] | mapleblade | Mys v1.1.x Mods | 57 | 08-15-2011 07:50 AM |
How to create a a battle system ,shop and currency?? | SieghartZeke | Questions and Supports | 9 | 11-02-2009 12:15 AM |
Pets Not leveling up | Seapyramid | Questions and Supports | 4 | 02-02-2009 05:03 PM |
What's New? |
What's Hot? |
What's Popular? |