Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.2.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #21  
Old 08-29-2011, 06: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: 491,661
Hall of Famer is on a distinguished road
Default

Well Fadillzzz, I have a suggestion for your script. Why dont you modify these lines a bit by replacing one-time loop with mysql_fetch_array()? All programming flaws such as the one below have been fixed in Mys v1.2.3:

PHP Code:
$i=0;
while (
$i 1) {

$aid=@mysql_result($result,$i,"aid"); //The adoptable's ID
$currentlevel=@mysql_result($result,$i,"currentlevel");
$type=@mysql_result($result,$i,"type");
$name=@mysql_result($result,$i,"name");
$tradestatus=@mysql_result($result,$i,"tradestatus");
$father=@mysql_result($result,$i,"father");
$mother=@mysql_result($result,$i,"mother");
$lastbred=@mysql_result($result,$i,"lastbred");
$adultdescription=@mysql_result($result,$i,"adultdescription");


$i++;

__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #22  
Old 08-29-2011, 06:24 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,854
fadillzzz is an unknown quantity at this point
Default

Hmm...that actually is not part of the mod...
That code is inside SDT's myadopts.php file. I think I'll just let her decide what to do with it.
Reply With Quote
  #23  
Old 08-29-2011, 06:30 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 97,381
SilverDragonTears is on a distinguished road
Default

yea i'll pm you my info, since that didn't work either
__________________

Check out SilvaTales
Reply With Quote
  #24  
Old 08-29-2011, 06:38 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,854
fadillzzz is an unknown quantity at this point
Default

Still? But I just tried it and it works...
The only thing that you need to work on now, is probably some styling for better looking

BTW, You did click on the 'Click here to sort your adoptables' first right? before actually trying to sort the adoptables?

Last edited by fadillzzz; 08-29-2011 at 06:41 PM.
Reply With Quote
  #25  
Old 08-29-2011, 06:40 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: 491,661
Hall of Famer is on a distinguished road
Default

Again Id recommend SDT to give ftp access to Fadillzzz so he can fix the glitch much more easily. It is difficult to help with someone using a heavily customized site.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #26  
Old 08-29-2011, 06:41 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 97,381
SilverDragonTears is on a distinguished road
Default

OMG. I bet it's worked this whole time. I thought there would be an underline link.

*smacks self*
__________________

Check out SilvaTales
Reply With Quote
  #27  
Old 08-29-2011, 06:43 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,854
fadillzzz is an unknown quantity at this point
Default

Finally
I was beginning to worry that my mod is only working on my development site XD
Reply With Quote
  #28  
Old 08-29-2011, 06:44 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 97,381
SilverDragonTears is on a distinguished road
Default

I'm so blond. Literally. Sorry fadillzz =( LOL

Any way to make the sort images smaller?
__________________

Check out SilvaTales
Reply With Quote
  #29  
Old 08-29-2011, 06:45 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: 491,661
Hall of Famer is on a distinguished road
Default

Well if a Mod works on your development site, it is safe to assume it is fine on a standard Mysidia site. I am assuming SDT has a customized site already since she modified some of the script herself. This is probably why your Mod wont work on her site at the very beginning.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #30  
Old 08-29-2011, 06:56 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,854
fadillzzz is an unknown quantity at this point
Default

Quote:
Originally Posted by SilverDragonTears View Post
Any way to make the sort images smaller?
You mean make the item smaller when we're dragging it?
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
"Fairy State" theme by Bobbybighoof (Mysidia 1.3.3) bobbybig Templates and Themes 3 07-18-2018 07:54 PM
Sort "myadopts" page SilverDragonTears Questions and Supports 23 06-12-2017 06:39 PM
Removing of prefix "class", "abstract", "interface" Suggestions FounderSim Suggestions and Feature Requests 3 10-05-2014 06:35 PM
Creating a "Faction" for adoptables/owned adoptables Vaporman87 Questions and Supports 1 03-04-2014 04:38 PM
Changing... or "masking" existing URLs Vaporman87 Questions and Supports 7 03-03-2014 08:10 PM


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

Currently Active Users: 860 (0 members and 860 guests)
Threads: 4,081, Posts: 32,032, 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