Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Community Board > Mysidia Adoptables Official Announcement

Notices

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 08-26-2013, 10:51 AM
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: 492,310
Hall of Famer is on a distinguished road
Default Mysidia Adoptables v1.3.4[Security Release]

It's been a while since Mys v1.3.3 was released, and Mys v1.3.4 is finally ready to release. It is a significant improvement over Mys v1.3.3, and every user is encouraged to upgrade unless you have a heavily customized site. Mys v1.3.4 introduces the following new features:


1. Improved Object Oriented Architecture: Since the very beginning of Mys v1.3.0, the script has been moving towards the direction of OOP. Mys v1.3.4 takes another lead at separating controller and view from each other. From now on you will see both controller files from root directory and view files from view directory. This separation of concern will make programming flow more elegant and easy to follow. The introduction of PHP Collections Framework(PCF) also enforces good OOP practice.

2. Trade System Overhaul: Lately I wrote three blogposts about the new trade system, which is a lot more advanced than the old one. Admins now have full control of trades proposed on their sites. It's possible to trade multiple adopts/items, make public/partial trade offers, or even have staff members moderate trades. Of course, you can always set a list of restrictions for trade proposals so that it will not be abused.

3. Improved Theme/CSS Editor: This is a new feature I've already completed back in May 2013. The new theme editor allows admins to create header and body template files through ACP, as well as the css file for each theme. You will still need to manually upload image files such as banners and icons though. It is also possible to create additional CSS and Javascript for specific pages, the CSS editor does the trick for you.

4. Customizable Widget System: After Mys v1.3.3 introduced the basic site module system for sidebars, Mys v1.3.4 takes another leap for a complete customizable Widget System. You can now create modules for more than just sidebars, while you can even add your own widgets(such as a possible right-sidebar or your own navtabs/menu) to the site. With this, the script is starting to look more and more like a CMS for admins.

5. Enhanced Adopt-Level Control: One complaint about the old scripts is that managing adopt levels is difficult and tedious. In Mys v1.3.4, however, you can create multiple levels for each adoptable at the same time. You can also fully edit or even delete adopt levels at ease. The level settings, on the other hand, enables admins to control the behavior of the levelup.php page conveniently. You may specify adopt leveling pattern for quick population of levels for each newly created adoptables, its just this simple.

6. Miscellaneous Glitches Fixes: Mys v1.3.3 has a good number of bugs that require attention. In Mys v1.3.4, the following glitches are no longer present: (1) Profile Tabs incompatible with Dropdown Menu; (2) Cannot delete adoptables through ACP; (3) Adoption Center shows Fatal Error without available Petds; (4) Users can donate to themselves to earn money; (5) Baby Adopts with parents cannot breed; (6) Certain Item Functions not working properly.


Installation Guide:
1. Use ftp to Upload the entire folder Mysidia Adoptables v1.3.4 to your preferred directory, and change the name to whatever you like.
2. Change the CMD of folder "picuploads" to 777, together with its subfolders, this is required to enable user uploading images. Also change the CMD of the subfolders "cache", "compile" and "config" in your template folder to 777.
3. Rename the file config_adopts to config.php, otherwise the script will tell you config.php does not exist.
4. Access the installer script at "http://yoursitename.com/install/index.php", follow the instructions and proceed.
5. Congrats, you've successfully installed Mys v1.3.4, cheers!

Note: The value pepper code can be generated from a website called: http://strongpasswordgenerator.com/, it can be of any length and may contain symbols.Make sure to delete the file install/index.php after running this script, or your site is potentially at danger if this file is accessed by someone else. Also make sure your server is running on PHP 5.3.0+ and supports PDO, the latter is especially important.


Upgrade Guide:
An upgrader from mys v1.3.3 is available, and should be easy to use. To upgrade, simply upload all script files to your folder and overwrite the existing ones. The config file is named config_adopts.php by default, so your old config file should be safe. Now run the upgrade.php script to complete this task, shouldnt take more than 10 secs.

Do not use the upgrader if you have a site with heavily modified script! Mys v1.3.4 also has many significant changes over Mys v1.3.3, I am not sure if old addons/plugins will work but conversion should not be difficult no matter what. What can be sure is that the upgrader will not do its job if your script is highly customized, in this case you need to upgrade manually.


Forum Integration Guide:

First of all, make sure you have both fresh installation of Mysidia Adoptables and MyBB forum. Open the file /inc/config_forums.php, enter each empty field for the database info of your MyBB forum. Then Change the variable mybbenabled from 0 to 1. The very last step is to disable registration on the forum. It is all said and done, new users will have accounts created from both the adoptables site and the forum from now on. In Mys v1.3.4 they also log into site and forum accounts simultaneously! The forum stats is automatically updated whenever a new registration is completed, so there is no need for admins to update forum stats in ACP from now on. Note the forum integration has been upgraded and thus it should work with the latest version of MyBB. Lemme know immediately if it does not, I will take action asap.


Download Links(both .rar and .zip are provided):

4Shared Links:

Rar version:
http://www.mediafire.com/file/w1u51u...1.3.4.rar/file

Zip Version:
http://www.mediafire.com/file/pmrvp0...1.3.4.zip/file



With Mys v1.3.4's release, it is about time to call Mys v1.3.x series end of life. This means that from now on the development team will be focusing on the next major version, Mys v1.4.0, which will be drastically different from Mys v1.3.x. Mys v1.3.x demonstrates a step by step process to convert a purely procedural script to OO script, it definitely isnt easy, which is part of the reasons why development has not been as fast as the old days. Nonetheless, all the efforts we've spent in the past few months have proved to be fruitful. The script is ready to move on the next big stage, and I promise a completely different picture from what you've already seen in the old Mys script. There will be no further development for Mys v1.3.x series. Still, within the 3-5 days after Mys v1.3.4's release I will be fixing glitches un-detected from my beta site, its possible a patched version will be available if the bugs are fatal.

Mys v1.4.0 will come with a full-fledged MVC architecture, it is projected to be highly object oriented. The new script will introduce several big new features such as Stats, ClanGroup, Multi-Alternate Images and ACP Overhaul, while other minor new features are still open for members to suggest/request. Please follow my blogposts if you are interested in these new stuff. You may also wish to reply to the Mys v1.4.0 features suggestions thread if you have a specific request to make. Since not all new features have been pre-determined for Mys v1.4.0 at this moment, anything is possible.

Have a great week everyone, I hope you enjoy the latest work from Mysidia Adoptables Dev Team.

Hall of Famer
August 26, 2013
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #2  
Old 08-26-2013, 01:04 PM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 18,378
pachoofoosh is on a distinguished road
Default

This is amazing! The new trade system looks really, really nice, can't wait to use it on my site! ;v; The new organization of the code is even more awesome, it makes it a ton easier to edit things quickly. Thank you so much for all your hard work on this script, with each new security release it becomes even more amazing!

Although just one thing - I'm not sure the script works with php 5.3 anymore. ^^' I installed it with version 5.3.27, and a fatal error was returned when trying to view the site. Upon changing my php version to 5.4, the site went back to working just fine. c:

Last edited by pachoofoosh; 08-26-2013 at 01:39 PM.
  #3  
Old 08-26-2013, 04:00 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: 492,310
Hall of Famer is on a distinguished road
Default

Thanks for your comment pachooroosh, I also appreciate your contribution for the updated MyBB integration. ^^

Oh are you sure? What was the error message about? I will have to fix it if its the case, as most webhosts do not offer PHP 5.4. The script is in no position to require PHP 5.4 compatibility until at least another 2 major releases.(till Mys v1.6.0 I think)
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #4  
Old 08-26-2013, 04:57 PM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 18,378
pachoofoosh is on a distinguished road
Default

No problem! Glad I could help out. :D
This was the error message I received with PHP 5.3 running:

Code:
PHP Fatal error:  Uncaught exception 'Exception' with message 'Fatal Error: Class IView either does not exist, or has its include path misconfigured!' in /classes/class_loader.php:83
Stack trace:
#0 [internal function]: Loader->load('IView')
#1 /classes/class_controller.php(135): spl_autoload_call('IView')
#2 /classes/class_frontcontroller.php(72): Controller->loadView(Object(Resource\Native\String))
#3 /index.php(73): FrontController->getView()
#4 /index.php(78): IndexController::main()
#5 {main}
  thrown in /classes/class_loader.php on line 83
  #5  
Old 08-26-2013, 05:02 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: 492,310
Hall of Famer is on a distinguished road
Default

Quote:
Originally Posted by pachoofoosh View Post
No problem! Glad I could help out. :D
This was the error message I received with PHP 5.3 running:

Code:
PHP Fatal error:  Uncaught exception 'Exception' with message 'Fatal Error: Class IView either does not exist, or has its include path misconfigured!' in /classes/class_loader.php:83
Stack trace:
#0 [internal function]: Loader->load('IView')
#1 /classes/class_controller.php(135): spl_autoload_call('IView')
#2 /classes/class_frontcontroller.php(72): Controller->loadView(Object(Resource\Native\String))
#3 /index.php(73): FrontController->getView()
#4 /index.php(78): IndexController::main()
#5 {main}
  thrown in /classes/class_loader.php on line 83
Strange, this does not seem to have anything to do against PHP 5.3 compatibility. There is no such class called IView anyway, wonder why your class loader is glitching. Do you still get this error if you switch back to PHP 5.3 right now? I'll have to wait till another member tries it again and reproduces this bug, and I will take further action if the glitch is confirmed.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #6  
Old 08-26-2013, 05:40 PM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 18,378
pachoofoosh is on a distinguished road
Default

Yep, I just tried reverting my php version and recieved the error again. ^^' Hmm, I wonder why it's doing that then. I checked through the code and couldn't find any reference to the nonexistant IView class besides in the error itself. :o
  #7  
Old 08-27-2013, 02:46 AM
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: 492,310
Hall of Famer is on a distinguished road
Default

I see, so at least you are able to reproduce the error, weird. I hope other users give it a shot and see if they get the same thing, right now i really have no idea why you are getting this IView class not found error while the correct class name is View. The script until Mys v1.5.x is supposed to be compatible with PHP 5.3, so it can be considered a glitch if it does not work on PHP 5.3.27.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #8  
Old 08-27-2013, 11:47 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 133,645
Abronsyth is on a distinguished road
Default

Just installed 1.3.4, the installation went smoothly but, for some reason, when I tried to visit my site I got a server error?

I was testing the script on my Ferrepets domain, and before (while I was running 1.3.3) it was working just fine. The server error only occurred after I installed 1.3.4...any ideas as to what would cause the server error?
__________________
My Mods Site (1.3.4, 2020 Mods)
  #9  
Old 08-27-2013, 01:08 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: 492,310
Hall of Famer is on a distinguished road
Default

A 500 server error? Umm this is getting ever complicated. If the two of you don't mind, shoot me a private message with your FTP info and I'd like to actually run a few tests on your sites/server to figure out why the errors occur. Everything appears to be working for me though, strange.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #10  
Old 08-27-2013, 05:43 PM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 18,378
pachoofoosh is on a distinguished road
Default

Abronsyth;; That happened to my site too; Did you check your error logs? If so, was it the same error? ^^

HoF;; Sent you a pm! c:

Maybe one of the functions you're using isn't supported by 5.3? The only thing I can think of is that some part of the code might be using a feature only php 5.4+ offers. ^^'
Closed Thread


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
Mysidia Adoptables v1.3.3[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 122 05-18-2013 05:02 PM
Mysidia Adoptables v1.3.0[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 180 04-01-2012 11:16 PM
Mysidia Adoptables v1.2.0[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 21 03-22-2011 05:13 PM
Mysidia Adoptables v1.1.4[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 15 01-28-2011 12:48 PM
Mysidia Adoptables v1.1.3[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 27 01-26-2011 03:59 PM


All times are GMT -5. The time now is 06:12 AM.

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