Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   How to change the oder of users adoptables? [Answered] (http://www.mysidiaadoptables.com/forum/showthread.php?t=835)

Tezna 05-17-2009 06:31 PM

How to change the oder of users adoptables? [Answered]
 
I want my adoptables to be like:
[adoptable] [adoptable] [adoptable] [adoptable]
Not:
[adoptable]
[adoptable]
How do I fix it?

Seapyramid 05-17-2009 07:15 PM

RE: Help with the myadopt.php page.
 
This has already been answered in a few different threads.

Bloodrun 05-17-2009 10:28 PM

RE: Help with the myadopt.php page.
 
It's quite simple really. Go to your myadopts.php file, find where it says:

PHP Code:

if($act == ""){



// No action specified, we just show all the adoptables with a manage link



$article_title $loggedinname."'s Adoptables";

$article_content $lang_adoptmanagement."<br>"

And just take out the <br>
The reason it is set up this way, is because the adoptables information can make the tables rather large, so the best option would be to have go Vertically instead of horizontally.

A quick update:

After you edit that part of the code, scroll down a little bit, until you find this:

PHP Code:

// Our code to determine if we show the table or not...





$article_content $article_content."<table width='440' border='1'><tr>";







// Output the table information...

// Get the current adoptable's image



$image getcurrentimage($aid);



$article_content $article_content."<td><div align='center'><p>".$name."</p><p><a href='myadopts.php?act=manage&id=".$aid."'><img src='".$image."' border=0></a></p><p>

<b><a href='myadopts.php?act=manage&id="
.$aid."'>Manage</a></b></p></div></td>";





$article_content $article_content."</tr></table><br>";





$i++;





The last '$acrticle_content' needs to be changed to this:

PHP Code:

$article_content $article_content."</tr></table>"

You could also, change the size of the table to a smaller size, so that they could fit. This all of course, depends on the size of your adoptables image.

SieghartZeke 12-04-2009 11:09 AM

RE: How to change the oder of users adoptables? [Answered]
 
This not work for me,......


All times are GMT -5. The time now is 04:22 PM.

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