Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Graveyard

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #21  
Old 11-30-2009, 04:26 AM
Haylzee Haylzee is offline
Member
 
Join Date: Jun 2009
Posts: 34
Credits: 537
Haylzee
Default RE: Cash System

I made a shop system awhile ago when the currency system was posted here, but it's a little different from yours Arianna. I checked out the cash/shop system someone made for the older version of the script and used that to make one for my site. I made a copy of the adopt.php page and called it shop.php, which shows the prices of the adoptables, and and a copy of the doadopt.php page and called it buy.php, when you buy an adoptable it leads to that instead of doadopt, and that page determines whether you have enough of the currency to buy the adoptable before it inserts into the database, and it removes the cost of the adoptable from the user's currency total. It works perfectly as far as I can see so far. I'm totally a php novice so I just really had to play around.

I never even bothered editing the admin.php page to be able to set prices or anything like that, I've just been doing it through phpmyadmin. lol actually it didn't even occur to me to try it, now I should go play around with that.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
secondary cash.. maximillion Questions and Supports 2 07-04-2011 10:42 PM
Games With the Cash System redheadturkey Suggestions and Feature Requests 8 08-27-2010 04:37 AM
Cash System Ashje Questions and Supports 10 12-21-2009 04:55 PM
About the cash system Ben Suggestions and Feature Requests 10 10-07-2009 09:34 PM
Buying 'cash' with cash? Quillink Questions and Supports 4 07-20-2009 04:21 AM


All times are GMT -5. The time now is 06:02 PM.

Currently Active Users: 1177 (0 members and 1177 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636