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 04-08-2012, 02:27 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 66,830
AlexC is an unknown quantity at this point
Default Adoptables not in Adopt Center?

So I just added an adoptable to my site, and since I deleted all of the previous ones, it is the only one. It has been set to show up always in the adoption center, but it isn't appearing? It's in the database, but otherwise there isn't anything on the site?

EDIT: I was able to give myself an adoptable via the ACP, so everything else seems to be working, it just isn't showing up here.
__________________

Last edited by AlexC; 04-08-2012 at 02:32 PM.
Reply With Quote
  #2  
Old 04-08-2012, 03:47 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 112,543
Abronsyth is on a distinguished road
Default

I had this same problem, with the pets randomly disappearing from where they were supposed to be shown on the site, they were still in the database, just no longer adoptable.
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote
  #3  
Old 04-08-2012, 03:53 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 66,830
AlexC is an unknown quantity at this point
Default

Alright, I wasn't sure if it was just me. I actually had it in the last script too - only like, half showed up, I wasn't sure what it was. I just deleted all of them and was going to start over.
__________________
Reply With Quote
  #4  
Old 04-08-2012, 05:12 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: 329,062
Hall of Famer is on a distinguished road
Default

Well is this happening just randomly to any adoptables, or that certain species always wont show up? If the latter is true, check the ids of your adoptables from the table prefix.adoptables and table prefix.adoptables_conditions. The two ids must match each other, or the pets wont show from adoption center. I will incorporate a rebuild_id script for such tables in future, so if by any chance the adoptables or user ids are different from each table, it will sort things out for you.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 04-08-2012, 05:28 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 66,830
AlexC is an unknown quantity at this point
Default

I went and checked that database and found that the id's didn't match. Also had a spare one floating around. o.O Thank you, guess that was the problem - I have no idea how that got out of whack. xD
__________________
Reply With Quote
  #6  
Old 04-08-2012, 05:50 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: 329,062
Hall of Famer is on a distinguished road
Default

Yeah, for adoptables and users that have multiple tables, each is linked together with another with a reference field that contains the same information. If this information does not match, you wont see the adoptables from adoption center, or users from members list.

This usually should not be a problem for anyone of you, unless you have a habit of resetting id increment from phpmyadmin. The below screenshot shows you how you can do this:



The highlighted field increments by 1 whenever you insert a new row into database, and wont decline even if a row is removed. Theoretically the id increases by 1 after you create a new pet, and it stays at the current pointer even if you hard-delete a pet. I am not sure how you can have id mismatches unless you've done more than creating/deleting adoptables in ACP.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 04-09-2012, 10:05 AM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 66,830
AlexC is an unknown quantity at this point
Default

I did go through the database to edit a bunch of stuff, so that's problably how it happened- I 'll try to find that thing and fix it.
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

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
Adopt many adoptables at once. Aasixx Questions and Supports 9 09-17-2012 11:16 AM
Adopt Center Alaric Questions and Supports 12 12-27-2011 05:07 AM
Would you adopt these adoptables? elfhome Other Chat 2 02-15-2011 03:54 PM
Is it possible not to display the species name of the adoptable in adopt center? Hall of Famer Questions and Supports 3 03-07-2010 06:54 PM
Organize adoptables on adopt.php kisazeky Questions and Supports 4 03-22-2009 07:14 PM


All times are GMT -5. The time now is 02:47 PM.

Currently Active Users: 319 (0 members and 319 guests)
Threads: 4,080, Posts: 32,024, 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