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 X_x_COPY_x_X » Sat Jun 13, 2015 6:24 pm

Omg O,O
This is really hard to understand. O3O
Im trying.
ImageImageImage<--- click on my eggz plz!! XD

ImageImageImage
User avatar
X_x_COPY_x_X
 
Posts: 11300
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 Kyouka » Wed Oct 07, 2015 1:47 pm

This is so complicated... I have no familiars with coding :roll:











Image
«───ᴛʜᴇ ᴏɴᴇ ᴡᴏʀᴛʜʏ─────────

【 cori | she/her | intj | semi-active 】
your local part-time sloth, tea lover, & CEO of Doing
Absolutely Nothing™. I am sporadically active on CS
so feel free to ask for my discord if you need anything!

Signature: Ishtar | Avatar: Noblesse
. . .
[ hoyo ] [ mal ] [ pronouns ]
Image
───────────ᴏғ ᴛʜᴇ ᴅᴇᴍᴏɴ───»
Image
User avatar
Kyouka
 
Posts: 6785
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

Ƭ Є Ƈ Ӈ Ɲ Ơ Ɓ Լ ƛ Ɗ Є
┏━━━━━━━━━━━━━━━━━━┓
• christian
• adult
• professional voice actress
• makes creepy art (& stories)
• incurable optimist
• creative to a fault
• also anime

┗━━━━━━━━━━━━━━━━━━┛
Ɲ Є Ɣ Є Ʀ x Ɗ Ɩ Є Ƨ
See the rest of my Dream SMP dressups.
Designs based on the Tell Me a Dream fanfiction.
User avatar
Sharp Glimpse
 
Posts: 13505
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 ✦ nemuri » 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
┌────────────┐
御影密bot - inactive
if you have questions, the
answer is probably "no"

└────────────┘
User avatar
✦ nemuri
 
Posts: 11438
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: 363
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)
User avatar
Architeuthid
 
Posts: 1386
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


─ ─ ──── навсегда в покое ──── ─ ─

★ ◕‿◕ ★

ωну ∂σ ωє ѕαу συя ρяσвℓємѕ
αяє ρєямαηєηт
ωнєη ℓιƒє ση єαятн ιѕ тємρσяαяу?

★ ◔◡◔ ★

─ ─ ──── Вечная тишина ──── ─ ─

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


✿ Art Shop ✿ Deviant Art ✿ Toy House ✿
User avatar
Tk_Katelyn
 
Posts: 1488
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

Who is online

Users browsing this forum: No registered users and 10 guests