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

Reply
 
Thread Tools Display Modes
  #21  
Old 11-30-2009, 03: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
  #22  
Old 11-30-2009, 04:34 AM
Fireballchad Fireballchad is offline
Member
 
Join Date: Aug 2009
Posts: 49
Credits: 9,756
Fireballchad
Default RE: Cash System

Nice, Well it works well just lots of editing involved which may turn some off. I might try to do separate pages also but I got it installed on mine... although I need to code it so it put free ones in a different group then pay ones...
Reply With Quote
  #23  
Old 11-30-2009, 09:03 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 26,488
Arianna will become famous soon enough
Default RE: Cash System

I think that I'll just go and check with 'if', and I can say that it won't insert, if they don't have enough money. I think I'll have that done in a few days. :)
Reply With Quote
  #24  
Old 12-03-2009, 06:30 AM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 11,713
gjac1
Default RE: Cash System

This mod is excellent, thank you very much for posting it :)

It installed and works perfectly.
Reply With Quote
  #25  
Old 12-04-2009, 09:13 AM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 11,713
gjac1
Default RE: Cash System

I noticed that people still get a cash increase even if they have already levelled that adoptable that day, is there anyway to change it so members cant just keep re clicking on the same adoptable over and over to get credits ?
Reply With Quote
  #26  
Old 12-04-2009, 02:41 PM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 26,488
Arianna will become famous soon enough
Default RE: Cash System

That doesn't happen on my site - are you sure that you've pasted the code into the right place?
Reply With Quote
  #27  
Old 12-04-2009, 05:37 PM
Haylzee Haylzee is offline
Member
 
Join Date: Jun 2009
Posts: 34
Credits: 537
Haylzee
Default RE: Cash System

That doesn't happen on mine either, but I do remember I had to add an if statement to make the whole cash code work only when the adoptable isn't frozen, because it was originally letting you get the currency for continuously clicking the same frozen adoptable over and over.
Reply With Quote
  #28  
Old 12-05-2009, 11:15 AM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 11,713
gjac1
Default RE: Cash System

Yes, i defiantly added it correctly :s , i will just have to try and figure it out as Haylzee did :)
Reply With Quote
  #29  
Old 12-09-2009, 09:16 PM
Seapyramid Seapyramid is offline
Premium Member
 
Join Date: Feb 2009
Posts: 373
Gender: Female
Credits: 17,928
Seapyramid
Default RE: Cash System

That was a glitch before posting but has been corrected long before this was posted. If you are having that issue you dont have it embedded correctly.
Reply With Quote
Reply


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 09:42 PM
Games With the Cash System redheadturkey Suggestions and Feature Requests 8 08-27-2010 03:37 AM
Cash System Ashje Questions and Supports 10 12-21-2009 03:55 PM
About the cash system Ben Suggestions and Feature Requests 10 10-07-2009 08:34 PM
Buying 'cash' with cash? Quillink Questions and Supports 4 07-20-2009 03:21 AM


All times are GMT -5. The time now is 12:58 PM.

Currently Active Users: 842 (0 members and 842 guests)
Threads: 4,081, Posts: 32,029, 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