Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Mys v1.1.x Mods (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=20)
-   -   Simple descriptions to adopt.php (http://www.mysidiaadoptables.com/forum/showthread.php?t=1882)

Tony 02-03-2011 04:31 PM

Simple descriptions to adopt.php
 
Very simple and effective.

PHP Code:

$aid=@mysql_result($result,$i,"id"); //The adoptable's ID
$type=@mysql_result($result,$i,"type");
$description=@mysql_result($result,$i,"description");
$eggimage=@mysql_result($result,$i,"eggimage"); 

add
PHP Code:

$desc=@mysql_result($result,$i,"description"); //the descrption of the pet. TMOD 

find:
PHP Code:

$article_content $article_content."<p><b><u><a href='adopt.php?id=".$aid."'>".$type.":</a></u></b></p> 

add below it:
PHP Code:

<p><b>Description:</b><br />".$desc." </p


Hall of Famer 02-03-2011 04:41 PM

Very interesting idea. I am actually working on a more organized adoption page that will look like this when finalized:
http://www.mywarriorcats.com/adoptables/adopt.php

This way we can build a table with columns that display pets names, images, descriptions, costs and other stuff.

Tony 02-03-2011 04:43 PM

Quote:

Originally Posted by Hall of Famer (Post 14300)
Very interesting idea. I am actually working on a more organized adoption page that will look like this when finalized:
http://www.mywarriorcats.com/adoptables/adopt.php

This way we can build a table with columns that display pets names, images, descriptions, costs and other stuff.

Wow that looks epic! I think it's great idea. I might build something similar, seeing as I've yet to design the adopt page.

Hall of Famer 02-04-2011 01:09 AM

Yeah, this is actually one of the changes I plan to make for Mys v1.1.5(to be released at this weekend or early next week), I am still wondering what info of an adoptable to display though. Pets ID, name, image, description and what else?

Tony 02-04-2011 12:03 PM

Quote:

Originally Posted by Hall of Famer (Post 14313)
Yeah, this is actually one of the changes I plan to make for Mys v1.1.5(to be released at this weekend or early next week), I am still wondering what info of an adoptable to display though. Pets ID, name, image, description and what else?

Price and gender maybe?

Hall of Famer 02-04-2011 12:49 PM

Well yeah, price may seem to be a good idea, but not gender. You do not even know what the gender of your pet is before clicking on that adoption button, since it is randomly generated.

RoconzaArt 02-04-2011 02:44 PM

I really wish we would do away with the random gender thing. It's cool if your site can work with it but I think gender should be a choice.

Tony 02-04-2011 07:31 PM

Quote:

Originally Posted by RoconzaArt (Post 14322)
I really wish we would do away with the random gender thing. It's cool if your site can work with it but I think gender should be a choice.

You can remove it if it doesn't suit your interests.


All times are GMT -5. The time now is 04:16 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.