Adopt pages, and general adopt/index page :L

Forum
Last Post
Threads / Messages

blondbananamix

Member
Member
Joined
Jan 16, 2011
Messages
47
Points
0
Mysidian Dollar
3,969
Is it possible so that on the adopt page, you click on the adoptable you want to adopt, and THEN get taken to a new page where you can then name and adopt it?
like this:
http://www.iaza.com/work/110526C/iaza16159818850700.png
So you click on the pet you want to adopt, and Then go to a page where you name it and actually adopt it.

Would I also be able to have certain adoptables on certain pages, like in a 'shop'?

How can I also put an image on my home page under the title,
http://coatimundikiwi.x10.mx/Welcome/
When i try it doesn't seem to come up.

Thanks for the help, if you do help me :)
 
"Is it possible so that on the adopt page, you click on the adoptable you want to adopt, and THEN get taken to a new page where you can then name and adopt it?
like this:
http://www.iaza.com/work/110526C/iaza16159818850700.png
So you click on the pet you want to adopt, and Then go to a page where you name it and actually adopt it."

I am sorta confused, doesn't the script already do that?

"Would I also be able to have certain adoptables on certain pages, like in a 'shop'?"

you could use the promo codes and have them buy those at shops.

"How can I also put an image on my home page under the title,
http://coatimundikiwi.x10.mx/Welcome/
When i try it doesn't seem to come up."

I can probably do that easy however my clients come first and right now i need to tend to their needs.


Good luck
 
It's possible but currently it's just not set up this way. I prefer the older way to the current one, and I think others do too so maybe in the next version it'll go back. :)
 
@Nemesis- Currently you click the adopt you want, then name and adopt it on the SAME page, I want the name and adopt part on a different page...

but people could tell others the promo codes, so they could easily cheat.

okay then. never mind.

@Kaeliah- :/ alright then, I guess I'll put my site on hold until I can fix it, and possibly until the new version is released. :littlecfrown:
 
Well this new adoption system was made by Arianna, some members do prefer it over the old one. Its not that hard to convert back to the old adoption system though, no need to put your site on hold because of this.
 
ok i guess i get the page thing now, but i kinda don't see the point in doing it that way unless you wanted to show an image or have something significant on that page. anyway good luck.
 
maybe I'll look at older versions of the script and see if I can tweak it. :)

@Nemesis- I don't like the way it's all piled on the page currently, thats why I wanted to change it. Also, users can type in a name without selecting any pet, and then click adopt and the system will still say you have adopted something. D: Reverting to the old style will hopefully fix this. :)
 
Well this new adoption system was made by Arianna, some members do prefer it over the old one. Its not that hard to convert back to the old adoption system though, no need to put your site on hold because of this.

Would you be so kind as to show me how to do this? By this, I mean how to make it so that you click the adoptable to adopt it? I'd be so grateful :pleased:
 
I figured it out XD

I don't remember what it looked like before but if you find where the images are displayed on the adopt.php page just add this to it. SO it looks like:

//If we can adopt the adoptable, show the image and adoption link...
$article_content .= "
<a href='adopt.php?id=".$aid."'><img src='".$eggimage."' /></a><br>
{$description}<br>";
Then just remove the radio boxes.
Let me know if you need more help =)
 
Oh thank you so much <3 This has really helped me :) :smile:

Edit: what do you mean by the radio boxes? :3 I'm having a little trouble with it, I'll try and work out what to do.
 
Last edited:
Ah okay, thank you.

I have a problem now with the script. I think I deleted something I shouldn't have because now when I try and adopt an adoptable, i click the 'manage adoptable' link and it says the adoptable does not exist D:

I don't know if this helps but here is that part of the adopt.php page...

adopt to guests...

if($canadopt == "yes"){


//If we can adopt the adoptable, show the image and adoption link...
$article_content .= "
<a href='adopt.php?id=".$aid."'><img src='".$eggimage."' /></a><br>
<strong>{$type}</strong> - {$row['cost']} {$GLOBALS['settings']['cost']}.
<br>{$description}<br>";


}
} // End the looping out of all adoptables...
$article_content .= "</table>
<h3>Adopt</h3>
<p>Adoptable Name: <input name='name' type='text' id='name' />
<input name='promocode' type='hidden' id='promocode' value='".$promocode."'>
</p>
<p>
<input type='submit' name='Submit' value='Adopt Me'>
</p>
</form>"
;
} // This bracket ends the IF check for whether or not an ID was entered
 
From a quick look at your code, I think you forgot to pass the adoptable id.
By default, the script pass the id using a radio button
PHP:
<td><input type='radio' name='id' id='id' value='{$aid}' /></td>
 
okay, I decided to resotre that line of code to its original which i baked up. Now however when I adopt, i click 'manage adoptable' and I get this:
The ID specified does not match any adoptable in our system. Sorry. If you wish, you can adopt a pet.
D: help?
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,122
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top