Eggs randomly displayed

Forum
Last Post
Threads / Messages

Quillink

Member
Member
Joined
Dec 18, 2008
Messages
93
Points
0
Mysidian Dollar
7,188
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:
 
Sure why not =]

I can whip ya up another one if you wish :p

Here :p

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

Btw Arvyre... Very popular and nice site =]
 
works good :) *happy*

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

attachment.php


where have I change the script ?

thank you :)
 
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.
 
Blackmagic said:
works good :) *happy*

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

attachment.php


where have I change the script ?

thank you :)

In the file adopt.php there is this:

PHP:
$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
 
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.
 
@ 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 ;)
 
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.


Blackmagic said:
@ 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 ;)
 
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
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

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

Latest Threads

Top