Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2009, 08:36 AM
trollis76 trollis76 is offline
Member
 
Join Date: Feb 2009
Posts: 160
Credits: 15,217
trollis76
Lightbulb 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!
__________________


Reply With Quote
  #2  
Old 02-19-2009, 11:55 AM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 13,418
BMR777 is on a distinguished road
Default 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. :)
Reply With Quote
  #3  
Old 02-19-2009, 12:33 PM
trollis76 trollis76 is offline
Member
 
Join Date: Feb 2009
Posts: 160
Credits: 15,217
trollis76
Default 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?
Reply With Quote
  #4  
Old 02-19-2009, 12:36 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 13,418
BMR777 is on a distinguished road
Default 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. :)
Reply With Quote
  #5  
Old 02-19-2009, 12:46 PM
trollis76 trollis76 is offline
Member
 
Join Date: Feb 2009
Posts: 160
Credits: 15,217
trollis76
Default 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
Reply With Quote
  #6  
Old 02-19-2009, 12:50 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 13,418
BMR777 is on a distinguished road
Default 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. :)
Reply With Quote
  #7  
Old 02-20-2009, 12:46 AM
trollis76 trollis76 is offline
Member
 
Join Date: Feb 2009
Posts: 160
Credits: 15,217
trollis76
Default RE: Shop?

OK, sure I'll post it here when I start some new weird project... :D
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
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


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

Currently Active Users: 1102 (0 members and 1102 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