Make your own PHP adoptables system

Need help making a website? Coding your own adoptables? Ask questions or share knowledge here

Re: Make your own PHP adoptables system

Postby Aspenly » Sat Jun 13, 2015 6:24 pm

Omg O,O
This is really hard to understand. O3O
Im trying.
I'm Asp, Nice to meet you. Please use the pronouns they,them,their. <3
User avatar
Aspenly
 
Posts: 10829
Joined: Sat Dec 14, 2013 1:19 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Diangelion » Wed Oct 07, 2015 1:47 pm

This is so complicated... I have no familiars with coding :roll:
Image
✧ she/her | jan 8 | bi | ptz ✧

╭─━━━━━━━━━━━━─╮
✧ Elsword NA - Siffrin (Diangelion)
✧ Void Elsword - Siffrin (lvl 99 T. Demonio)
✧ Discord - Siffrin #5275
✧ Love Nikki - 100889261
✧ Deviantart - Siffrin

╰─━━━━━━━━━━━━─╯
User avatar
Diangelion
 
Posts: 1899
Joined: Sat Sep 26, 2015 10:20 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby l.u.n.a » Wed Oct 14, 2015 5:08 am

here it is!!
User avatar
l.u.n.a
 
Posts: 213
Joined: Thu Feb 12, 2015 2:06 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Sharp Glimpse » Sat Oct 24, 2015 1:02 am

I was wondering if someone could help me.

I'm using 000webhost and I wanted to put adoptables. My computer doesn't let me open the zip file, so I copied the code from the tutorial and pasted in the HTML box. But when I tried to click 'Adopt Me', it just went to a blank page saying '404 Not Found'. I realized I hadn't put the code for the second page (where it says Thanks for adopting this pet etc.) but I don't know where to put it. I know a little php but am not very good at it.

Here's the first page of the adopting. Where do I put the rest?

Code: Select all
<html>
<head>
</head>

<body>
<p>Adopt one of my pets!</p>
<table width="400" border="0" cellspacing="0" cellpadding="4">
  <tr>
    <td><img src="dogbaby.png"></td>
    <td>
       <form action='adopt.php' method='post'>
           <input type="hidden" name="id" value="1">
            Owner's name: <input type="text" name="ownername" value=""><br/>
            Pet's name: <input type="text" name="petname" value=""><br/>           
            <input type="submit" value="Adopt me!">
        </form>
    </td>
  </tr>
  <tr>
    <td><img src="ratbaby.png"></td>
    <td>
       <form action='adopt.php' method='post'>
           <input type="hidden" name="id" value="2">
            Owner's name: <input type="text" name="ownername" value=""><br/>
            Pet's name: <input type="text" name="petname" value=""><br/>           
            <input type="submit" value="Adopt me!">
        </form>   
    </td>
  </tr>
</table>
</body>
</html>
Image











.















Image
♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦
xxxxxxxxxxxxxxxxxxxxxxxx
Christian | MK | Homeschooled
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Hi there! I'm Sharp Glimpse and
I own three adorable cats and a
dog. I am always open to trades!
God bless, and have a great day!

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Female | Aug. 15 | Pro-Life | Image
xxxxxxxxxxxxxxxxxxxxxxxx
Image
xxxxxxxxxxxxxxxxxxxxxxxx
♦ Coding by me ♦
xxxxxxxxxxxxxxxxxxxxxxxx
Image























.



Image
Image
▬▬▬ ♦ ♦ ▬▬▬
xxxxxxxxxx
xxxxxxxxxx
▬▬▬ ♦ ♦ ▬▬▬
Image

Image
.♦ ♦ ♦ ♦ ♦ ♦ (Psalm 139:9) ♦ ♦ ♦ ♦ ♦ ♦
User avatar
Sharp Glimpse
 
Posts: 11911
Joined: Thu Nov 14, 2013 3:40 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby .kaede » Tue Oct 27, 2015 1:12 pm

*Thinks to self*: Hmm, that link looks really scary. Whateves, Imma click it anyways!
*Later*
*Me*: I'm scarred for life. I don't understand a single thing Nick was going on about?
Image
Imagex
───────
hi im kae ♥
always tired

───────
Image
Image
███ • ░
███ • ░
███ • ░

x
Image
Image
┌──────────────────
just another socially inept girl who gets
attached to things way too easily. i love
music, anime, manga, roleplaying, and
cats! throw all cats at me wwwwwww



└──────────────────
┌───────
░░░░░░
▀▀▀▀▀▀

ImagexxImage










└───────
────────────────┐









Image
░░
░░
░░
░░
░░
░░
░░
░░
░░
░░

────────────────┘
░░░░░░░░░░░░░░░░░░░░░░░░░
█████████████████████████
────────────┐




Image
Image
Image
░░│
░░│
░░│
░░│
░░│

────────────┘
┌─────────────
Image

[ yin ] [ vero ] [ bee ]
[ tater ] [ riri ] [ shop ]





└─────────────
User avatar
.kaede
 
Posts: 8768
Joined: Tue Jun 30, 2015 3:04 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby nsarnowski » Tue Nov 03, 2015 11:20 am

I will have to try it
Image
Pet's name: sam(silver and moons only duaghter)
Adopt virtual pets at Chicken Smoothie!
User avatar
nsarnowski
 
Posts: 208
Joined: Sun Nov 23, 2014 6:32 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Architeuthid » Wed Dec 23, 2015 1:33 pm

I finally set up a proper pet shop(I think) on my website, imaginea.net: The World of Imaginea Pet Shop
It's only got one pet with three variants so far, but the Night-Light Cats are really cool because they change according to the time. (defaulted to Pacific Standard Time)
xxxxxxxxxxxxxxxxxxxxxxxx
xImagex
x
x
x

▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰
they/them \\ true neutral \\ intx

just a strange nerdy writer
thinking about octopi and
mind control gummy bears
over here, don't mind me.
▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰ ▰
User avatar
Architeuthid
 
Posts: 1315
Joined: Tue Dec 23, 2014 10:13 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Tk_Katelyn » Sun Dec 27, 2015 4:05 pm

Just wondering, how is this supposed to get this to connect to the account? Like how will you get it to show up in your inventory? PV your reply, i won't remember to check back here XD



★ ◕‿◕ ★
ωну ωє ѕαу συя ρяσвℓємѕ αяє
ρєямαиєит
ιf ℓιfє σи єαятн ιѕ тємρσяαяу?

ℓσσкιиg тσ вυу/тяα∂є/ѕєℓℓ ςнαяαςтєяѕ!
ρм мє ιf ιитєяєѕтє∂.

ιf уσυ ωαит тσ тяα∂є,
тяα∂є fαιяℓу!


Art ShopDeviant ArtCharacters
Image
User avatar
Tk_Katelyn
 
Posts: 677
Joined: Sat Dec 28, 2013 9:19 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Rottfield » Mon Jan 04, 2016 1:20 pm

To add onto what Choloute said, do you have a database to keep track of all of the data flowing through?
You need the system to be able to save the pet data on accounts, so users can see the adopt that they've adopted.
From what I've seen the website doesn't have a log(s) to store the data since accounts are not being used and the clicking the button doesn't actually have the user adopt the pet, it just takes them to a page where the bbcode/html is given.
You should use MySQL.
////!!
☆:*・゚(●´∀`●):*・゚☆
User avatar
Rottfield
 
Posts: 813
Joined: Thu Jun 25, 2015 12:20 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby strawberryjeons » Sun May 22, 2016 9:05 pm

Wow cool this seems helpful! Thanks a lot :)
wip
User avatar
strawberryjeons
 
Posts: 1982
Joined: Tue Apr 05, 2016 10:05 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Return to HTML/PHP Coding and Webdesign help

Who is online

Users browsing this forum: No registered users and 0 guests