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)
-   -   Eggs randomly displayed (http://www.mysidiaadoptables.com/forum/showthread.php?t=278)

Quillink 01-12-2009 08:12 PM

Eggs randomly displayed
 
I remember on the old forum RSmiley whacked together a mod that allowed the 'Adopt' page to only show three random eggs at once, every time the page was refreshed - as opposed to stretching the browser out and showing the whole collection. x]

Anyway, do you still have the mod RSmiley? If not, do you mind throwing another together? :shy:

Blackmagic 01-13-2009 09:29 AM

RE: Eggs randomly displayed
 
nice idea :)
i would take it too :D

Rsmiley 01-13-2009 06:29 PM

RE: Eggs randomly displayed
 
Sure why not =]

I can whip ya up another one if you wish :P[hr]
Here :p

It displays 5 each time now for those who have ALOT of adoptions :P

Btw Arvyre... Very popular and nice site =]

Blackmagic 01-14-2009 08:22 AM

RE: Eggs randomly displayed
 
wow, so fast :)

sounds good, I'll try it, if I have enough creatures *smile*

Blackmagic 01-28-2009 10:29 AM

RE: Eggs randomly displayed
 
works good :) *happy*

another question:
I want to show the eggs side by side and not line up under it
öhhm....
look :

http://www.rusnakweb.com/forum/attachment.php?aid=83

where have I change the script ?

thank you :)

livingingc 01-28-2009 11:15 AM

RE: Eggs randomly displayed
 
Lol you made a diagram. Of what I heard, you cant change them to horizontal. But, im sure there must be a way. Quillink made his do it horizontal by making a page not in php and linking up his images with the correct urls.

BMR777 01-28-2009 04:31 PM

RE: Eggs randomly displayed
 
Quote:

Originally Posted by Blackmagic
works good :) *happy*

another question:
I want to show the eggs side by side and not line up under it
öhhm....
look :

http://www.rusnakweb.com/forum/attachment.php?aid=83

where have I change the script ?

thank you :)

In the file adopt.php there is this:

PHP Code:

$article_content=$article_content."<p align='center'><b><a href='adopt.php?aID=".$aID."'>".$name.":</a></b></p>
<p align='center'><a href='adopt.php?aID="
.$aID."'><img src='".$imageurl."' border='0'></a> </p>
<p align='center'><a href='adopt.php?aID="
.$aID."'>Adopt ".$name."</a></p>"

That's the HTML code that actually outputs the adoptables from the database to the users waiting to adopt. You could edit that to change how they are displayed. Keep in mind that anything with a $ in front is a variable and is pulled from the database for each creature. :)

EDIT: There's also a similar looking bit of code a little bit further down the file for guest adoptions.

Brandon

livingingc 01-28-2009 09:39 PM

RE: Eggs randomly displayed
 
Editing that bit only allows changes to each pet listing. He wants the pets to display in rows rather than one long column. For instance, theres enough horizontal room with this template that two or three pets can display next to each other (side by side). I havent found a way to do this. Its a template thing, I believe.

Blackmagic 01-29-2009 10:36 AM

RE: Eggs randomly displayed
 
@ living

yes, i made a pic, because my english is horrible and I don't know, how I should descripe it.
I've seen the side of Quillink, that's what I want to have :)
I'v tried tables, but that doesn't work.

btw... I'm female ;)

livingingc 01-29-2009 12:20 PM

RE: Eggs randomly displayed
 
Oh, sorry ! lol.

If you notice in the URL, Quillink's site has the adoptable page with an HTML extention. So you would have to create an HTML page with links to the php adoptables. So, you can try that to get the same result. For me, I'll just wait to see if a better solution is found.


Quote:

Originally Posted by Blackmagic
@ living

yes, i made a pic, because my english is horrible and I don't know, how I should descripe it.
I've seen the side of Quillink, that's what I want to have :)
I'v tried tables, but that doesn't work.

btw... I'm female ;)



All times are GMT -5. The time now is 08:39 AM.

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