PDA

View Full Version : Eggs randomly displayed


Quillink
01-12-2009, 08:12 PM
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
nice idea :)
i would take it too :D

Rsmiley
01-13-2009, 06:29 PM
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
wow, so fast :)

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

Blackmagic
01-28-2009, 10:29 AM
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
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
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:

$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
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
@ 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
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.



@ 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 ;)

BMR777
01-29-2009, 02:20 PM
If it's a template issue, why not just create a custom template for the script the way you want. You do know it supports a template system, right? :)

Brandon

Ashje
01-30-2009, 03:08 AM
Where do I place the file to use this?