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-18-2011, 04:32 PM
coffeeaddict coffeeaddict is offline
Member
 
Join Date: Feb 2011
Posts: 13
Gender: Female
Credits: 3,183
coffeeaddict is on a distinguished road
Default A php question about changing the "level up" section

Hi everyone! I've just installed the script and have begun to tinker with it. I'm very familiar with CSS and HTML, but I haven't written my own PHP yet. I know the basics, just don't have much experience.

I'm hoping someone can give me some tips on making a change.

Instead of having visitors click on the pet to "level it up", I'd rather have the owner of the pet click on a button to "train" it. The pet would start with no training (0), and then with each click would gain training till it reached a certain number.

I've been reading php tutorials and I cannot wrap my brain around how to make this change.

If anyone's willing to help me out please let me know! I'm not expecting anyone to write the script for me, that would be asking a lot, just hoping I can get pointed in the right direction since there seems to be a lot of people here that are experienced in php.

Thanks!

Last edited by coffeeaddict; 02-18-2011 at 04:58 PM.
Reply With Quote
  #2  
Old 02-18-2011, 04:57 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 491,708
Hall of Famer is on a distinguished road
Default

umm I will be posting PHP tutorials such as if...else, switch...case, while/for loop, functions and arrays after Mys v1.2.0 is completed. Those tutorials will be posted most likely in early or mid-march, check them out then.

Regarding your problem, I do believe that a levelup system overhaul is needed. I am actually planning an experience system for my Pokemansion adoptables site in future, not sure if this is somewhat similar? o_o
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 02-18-2011, 05:01 PM
coffeeaddict coffeeaddict is offline
Member
 
Join Date: Feb 2011
Posts: 13
Gender: Female
Credits: 3,183
coffeeaddict is on a distinguished road
Default

Might be similar, I don't know much about pokeman though.

I know what if and else statements, arrays, etc. are. I've been reading online tutorials for a couple days and I get the basic idea of what everything does...I just can't seem to incoorprate what I know into a working script edit.

I have book knowledge, but no experience putting it to use :(

It seems like this should be an easy change but my brain does not agree! lol
Reply With Quote
  #4  
Old 02-25-2011, 11:32 PM
coffeeaddict coffeeaddict is offline
Member
 
Join Date: Feb 2011
Posts: 13
Gender: Female
Credits: 3,183
coffeeaddict is on a distinguished road
Default

Just wanted to update that I was able to make this work after some googling and plenty of cursing. ;-)

Thanks for the replies!
Reply With Quote
  #5  
Old 02-25-2011, 11:52 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 491,708
Hall of Famer is on a distinguished road
Default

You are very welcome, glad to see you have begun actively coding your site.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #6  
Old 02-26-2011, 12:02 PM
coffeeaddict coffeeaddict is offline
Member
 
Join Date: Feb 2011
Posts: 13
Gender: Female
Credits: 3,183
coffeeaddict is on a distinguished road
Default

This gives me a reason to learn php and I've come to the conclusion that if it's ever going to be the way I want it, I need to do it myself. I had a hard time starting, but once I got in there and tinkered with things I eventually made progress.

It'll probably take me forever to finish, but some day I'll have it done, lol
Reply With Quote
  #7  
Old 02-26-2011, 12:08 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 491,708
Hall of Famer is on a distinguished road
Default

Well yeah, you will get there someday. It wont hurt to ask questions here though, have fun coding.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
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
"Fairy State" theme by Bobbybighoof (Mysidia 1.3.3) bobbybig Templates and Themes 3 07-18-2018 07:54 PM
Removing of prefix "class", "abstract", "interface" Suggestions FounderSim Suggestions and Feature Requests 3 10-05-2014 06:35 PM
Changing... or "masking" existing URLs Vaporman87 Questions and Supports 7 03-03-2014 08:10 PM
Secondary "RARE" cash option? Tequila Questions and Supports 4 09-17-2012 10:18 AM
[Updated] AJAX Sortable Adoptables on "myadopts.php" Page fadillzzz Mys v1.2.x Mods 57 05-29-2012 03:16 AM


All times are GMT -5. The time now is 10:34 AM.

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