Make your own PHP adoptables system

Need help with the site/forum/pets? Ask questions and get help from other members here.

Re: Make your own PHP adoptables system

Postby Nick » Mon Jan 18, 2010 3:36 pm

You've put all sorts of extraneous "-" signs into adoptables.xml:

Code: Select all
- <adoptables>
- <adoptable id="1">
- <variation id="1" chance="1.0">
  <age image="dogbaby.png" />
  <age date="2008-11-20" image="dogpuppyrare.png" />
  <age date="2008-11-25" image="dogadultrare.png" />
  </variation>
- <variation id="2" chance="5.0">
  <age image="dogbaby.png" />
  <age date="2008-11-20" image="dogpuppy.png" />
  <age date="2008-11-25" image="dogadult.png" />
  </variation>
  </adoptable>
- <adoptable id="2">
- <variation id="1" chance="1.0">
  <age image="ratbaby.png" />
  <age date="2008-11-23" image="ratadult.png" />
  </variation>
  </adoptable>
  </adoptables>

Get rid of those... :)
User avatar
Nick
Admin
 
Posts: 6349
Joined: Thu Jul 03, 2008 2:40 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Turquoise » Wed Jan 20, 2010 8:33 am

Thank You So Much Nick!

I finally finished my website, using your PHP tut, and from some help from a friend. =)
Last edited by Turquoise on Wed Apr 07, 2010 4:30 am, edited 1 time in total.
Image
User avatar
Turquoise
 
Posts: 2131
Joined: Sun Sep 21, 2008 9:12 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby tinydoodles » Thu Jan 28, 2010 12:47 pm

Thank You Nick :D This is pure awesomeness 0.0
Code: Select all
                                              *                                 *
          *     __                   *
   *        ,db'                                                *                     *
          ,d8/        *                                               *
          888
          `db\            *                               *
            `o`_                    *                                              *
                                  _                ___       _.--.
          *                       \`.|\..----...-'`   `-._.-'_.-'`
                *                 /  ' `         ,       __.--'
       *                          )/' _/     \   `-_,   /
                                  `-'" `"\_  ,_.-;_.-\_ ',
//---\/---------__--/-------\\-------- _.-'_./----{_.' ; /----\//--v-----//---\/---------__--/-----
                                     {_.-``-'         {_/
                               
User avatar
tinydoodles
 
Posts: 5644
Joined: Sun Sep 27, 2009 11:42 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby CK's Nightmare » Mon Feb 08, 2010 10:14 am

not a good idea trying to read that when you're tired... jumping letters and words can get quite annoying!!!
but, what I could get out of that seemed helpful... still, I think I'm gonna stay with chickensmoothie ^^
Image

Image
User avatar
CK's Nightmare
 
Posts: 1433
Joined: Mon Aug 17, 2009 7:37 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby MilkyPistachio » Mon Feb 08, 2010 11:11 am

Thank you very much Nick!
Ive almost ALWAYS wanted to make my own adoptables since i ever got a neopets account.
Ive been looking at this all day,and exploring html code and other things.
I would of started this,but due to homework..I couldn't D:
But I will use it as soon as tommorow comes :D (well...After school)

Just one question,You know about accounts?ive used a MySQL database for a similar account thing,but it didn't work too well. Would you need to learn much more advanced things to create a account database?Not saying I will...Except If I become really good,Im mostly asking this because there are probaly other people out there that want to know this,and.. Im curious.

Thank you!
~Milkeh
Image
She hatched :3 YAY!
Please visit my site:Milkshake Adoptables!
My (best) friends here at CS:Galaxycool,Googleyeyeseyes123 and Puplover12345
Image
User avatar
MilkyPistachio
 
Posts: 71
Joined: Thu Dec 24, 2009 12:01 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Blu Malinois » Mon Feb 08, 2010 3:38 pm

Thanks Nick! :D
User avatar
Blu Malinois
 
Posts: 34770
Joined: Tue Jun 09, 2009 2:26 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby king ryan » Wed Feb 10, 2010 8:35 pm

Thank you Nick, i know HTML, but PHP I cant learn it because I cant find a good tutiroal.. then I found yours... Thanks!
Now to make a start on learning it....
x
x

lost in the thrill of it all ...
x
User avatar
king ryan
 
Posts: 7495
Joined: Sat Sep 12, 2009 10:52 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby icykeys » Wed Apr 07, 2010 4:16 am

I have an adoptables site already but it uses nothing close to php. lol. It's on myadopts! I think I'll try this, though...
Image
Image
──── ⋆⋅☼⋅⋆ ────

icy
he/they


──── ⋆⋅☾⋅⋆ ────
User avatar
icykeys
 
Posts: 2326
Joined: Wed Mar 25, 2009 3:24 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Minim1ght » Fri Apr 09, 2010 12:03 pm

Hmm Im sorta confused where would I put all this coding in? i use 000webhost and im utterly confusedxD

Also what is MySQL and phpMyAdmin? Those are on 000webhost and they go together but the explaination for them are confusing on the website:\
User avatar
Minim1ght
 
Posts: 155
Joined: Sat Jun 27, 2009 7:45 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Turquoise » Mon Apr 12, 2010 7:05 am

Thanks for the tutorial!

Now I have my own adoptables site!

Click!
Image
User avatar
Turquoise
 
Posts: 2131
Joined: Sun Sep 21, 2008 9:12 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Who is online

Users browsing this forum: Darkhistrei and 2 guests