Mysidia Adoptables Support Forum  

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

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-22-2010, 01:52 PM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,375
Arianna will become famous soon enough
Default More efficient script

http://www.pixelpuppy.net/otherfiles/adoptables26.zip

The file I've linked to is basically the Rusnak PHP Adoptables script, only more optimized. functions.php is more organized and uses less queries, the beginning and end of each page is much more adaptable to mods and other changes to the script, and there's also something which shows you how many queries each page is taking.

It uses (right now) the exact same database as the current version, and I don't think there are any bugs. If you find any, please tell me and I'll fix them right away.

All existing mods should work with it, as long as they are put between the START SCRIPT and OUTPUT PAGE comments. The exception is that every occurring mysql_query() should be replaced with runquery() for the number of queries to be documented.

Right now I'm working on cleaning input better, as well as integrating some of my existing mods into it. When I update the best thing to do would be to re-download the whole rar as some things (for example, removing redundancies or errors which were made on lots of pages) require lots of files to be edited. :)

Currently I don't have the credit to Bmr on every page, because I don't know what exactly I should put there yet, especially because it seems as if the new version will have lots of people editing it. As soon as I know what to put there, I'll add it.

Edit, 23rd of December: Today I made the script use a few less queries, fixed some previous glitches, and also introduced a debug mode which shows the queries which have been made at the bottom of the page. (Debug mode will be turned off in the final release, of course.) If you have any feedback on what I can do better please do - my next goals are to add the gender, money and styleswitcher systems.

Edit, 26th of December: Over the last few days I made a few more changes. Now not only is the gender script completely working, but I've worked a bit more on themes and done the styleswitcher. I'm currently working on adding all the features of V1.1 to this, but please do download and tell me if you find any glitches. Just run stuff.sql and once you've registered, change your group to 1 using phpmyadmin if you'd like to look at the admin panel.
Reply With Quote
 


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


All times are GMT -5. The time now is 04:39 PM.

Currently Active Users: 9612 (0 members and 9612 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