Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2012, 04:26 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,064
Nemesis is on a distinguished road
Default organizing adopts

How could I go about organizing adoptables on my site. Since I am doing pokemon I plan on adding all 650 of them. I do not want all 650 listed on one page but rather organize them by generation and Type.

So any suggestions on how to go about doing this? thanks.

Also I tried using promo codes but that just adds the Pokemon to the available adopts page and will get messy.

I think I saw someone had adopts listed like in item shops so how could I do that too?
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #2  
Old 06-28-2012, 09:32 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,064
Nemesis is on a distinguished road
Default

I actually figured this out in like 5 min so

If anyone is interested what I did was make another adopt.php file coping the original and of course giving it a different name. and change this line 32 and 33
Code:
$query = "SELECT * FROM {$prefix}adoptables, {$prefix}adoptables_conditions
	                                        WHERE {$prefix}adoptables_conditions.id = {$prefix}adoptables.id";
with this

Code:
$query = "SELECT * FROM {$prefix}adoptables WHERE {$prefix}adoptables.class = 'fire' ";
As you can see I only selected from one database and I wanted it sorted by class. So that Database class is paying off :)

Now I just need to link to the new page on my main site. And this does in fact work.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #3  
Old 06-30-2012, 02:23 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 485,394
Hall of Famer is on a distinguished road
Default

umm are you using Mys v1.3.0 now? Just curious since you were apparently not using the new database class and methods in the sample code you provided.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #4  
Old 06-30-2012, 03:04 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,064
Nemesis is on a distinguished road
Default

oh poo i am :( so if i update im going to lose all of my improvements :(
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #5  
Old 06-30-2012, 03:20 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 485,394
Hall of Famer is on a distinguished road
Default

I see, this is kinda unfortunate. If so you may as well use Mys v1.3.0 till the next major release is available, I mean Mys v1.4.0, not the upcoming v1.3.2.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #6  
Old 06-30-2012, 04:03 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,064
Nemesis is on a distinguished road
Default

ya im not sure how i missed that last update. but so far i havent encountered any errors and i'll just run the site in beta till then
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OMG MY ADOPTS IS GONE!?!?! Nemesis Other Chat 48 11-21-2018 01:20 PM
Female Adopts can breed; male adopts only have 1. Phoeniix Questions and Supports 2 11-09-2013 02:56 AM
Simple adopts superdude44 Adoptables Buzz 2 06-03-2013 06:09 PM
Organizing Adopts (that is compaitable with Mys 1.3.1?) quirkii Questions and Supports 2 07-08-2012 03:52 AM
Nom Nom Adopts XD alonaria Adoptables Buzz 1 04-03-2011 09:09 PM


All times are GMT -5. The time now is 11:34 AM.

Currently Active Users: 958 (0 members and 958 guests)
Threads: 4,081, Posts: 32,029, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636