Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Mysidia Adoptables Official Announcement (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=2)
-   -   Mysidia Adoptables v1.3.3[Security Release] (http://www.mysidiaadoptables.com/forum/showthread.php?t=4057)

Hall of Famer 03-16-2013 12:30 PM

Mysidia Adoptables v1.3.3[Security Release]
 
It is finally about time to reveal the next version of Mysidia Adoptables to the public. This Mys v1.3.3 is also a significant improvement over the last version rather than a maintenance release. It has several new features that you may wish to explore, here are a list of them:

1. Enhanced Object Oriented code and SEO friendly URL: Just like what I've been doing in Mys v1.3.2, Mys v1.3.3 signifies another huge leap for the development of this script in OOP. The concept of front/app-controller is being applied everywhere in the script, Mys v1.3.3 introduces 100+ new classes/object types. In a perfect script everything is an object, so this is the right direction to go. The benefits of OOP are evident with the new SEO friendly URL, I hope you find it better than the old-styled URL.

2. GUI API and Brand new Template Engine with Smarty: This can be a bit tricky to understand. In Mys v1.3.2 one big issue is how to add html tables, forms, links, images and all those elements into the document, Mys v1.3.3 solves this problem with a GUI API. The template engine also has been upgraded to Smarty, it is easy to use and efficient in terms of performance. Getting used to new template system should take minimum time for those of you already familiar with HTML.

3. Breeding System Overhaul: If you have been following my latest blogs, you should've been very familiar with the advanced breeding system. This one is much more powerful than the simple breeding system we had before, admins have full flexibility to control the outcomes of breeding. You can specify which species can be produced with given two types of parent adoptables, you can set a list of conditions for this to happen, you can even turn off the breeding system in debug time.

4. The
new Daycare System: The daycare system is completed for Mys v1.3.3, it is a suggestion from the user Iris and I believe it will be a good addition to the software. The daycare center works like a location where users see random or all adoptables eligible for daycare. The admins can decide on both the layout of the daycare system, and a few basic settings. The daycare system is expect to help a great number of aspiring adoptable clickers.

5. Customizable Modules and Sidebar through ACP: Another feature I have planned for Mys v1.3.3 was the customizable sidebar system, and I ended up designing a sidebar capable of handling user-generated modules. With Mys v1.3.3, you can not only manipulate existing modules such as money-bar and links-list, but also creating new modules to display on Sidebar. With this, it should be a simple task to have user avatars shown on the sidebar, if you know just a tiny bit of coding.

6. Minor new features and Glitch Fixes: Mys v1.3.3, on the other hand, has fixed a few bugs from the old version. The theme installer is working fine now, although it does not check validity of your theme folder location so you need to keep track of this yourself. The SYSTEM user glitch with private messages is also fixed, you wont receive fatal error anymore. Minor bugs such as guests sending friend requests and viewing available plugins are also resolved in this version.


Installation Guide:
1. Use ftp to Upload the entire folder Mysidia Adoptables v1.3.3 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.3. There is no need to manually encrypt your password in Mys v1.3.3, so 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.2 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.

Note the upgrader may break your site's template file. This is due to the adoption of Smarty template engine, but the benefits of using Smarty offsets this potential issue. Since it does not break your css file, the conversion should be easy. For the first 10 days after Mys v1.3.3's release date, I will be taking requests to convert old user's template .html file into Smarty compatible format. So lemme know if you need help with template conversion, it really is not difficult.

Do not use the upgrader if you have a site with heavily modified script! Mys v1.3.3 also has many significant changes over Mys v1.3.2, 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.3 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.


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

Rapidshare links:

Rar version:
http://rapidshare.com/files/40440522...s%20v1.3.3.rar

Zip version:
http://rapidshare.com/files/30529502...s%20v1.3.3.zip

Mediafire Links:

Rar version:
http://www.mediafire.com/?vramz9l2f9ciu0c

Zip version:
http://www.mediafire.com/?u869zm28oy0bdoa

4Shared Links:

Rar version:
http://www.4shared.com/rar/l3O-WAQ4/...bles_v133.html

Zip Version:
http://www.4shared.com/zip/cGfG7XsR/...bles_v133.html


If you consider the changes from Mys v1.3.2 to Mys v1.3.1 are quite dramatic, this one is not much off. In Mys v1.3.3 the controller classes encapsulate every available actions, and you may need to change your coding style to adapt to the MVC(model-view-controller) direction Mysidia Adoptables is going if you are an aspiring coder yourself.

At this point we only have the 'C' here, while in Mys v1.3.4 the 'V' will most likely make its appearance too. By Mys v1.4.0 I hope to achieve a true MVC architecture design for Mysidia Adoptables, which should be good news for programmers who plan to design mods/addons for the script. The script is still not fully object oriented yet, but we are moving fast towards this destination. In a perfect script everything is an object, we are nowhere close to perfection, nor is perfection achievable, but we can be as close to it as we can.

I thank you everyone who stick to us and this project for so long. Mys v1.3.3 sure did not take as long as Mys v1.3.2 to be released, but I still need to speed this up a bit. The good news is that as the script is becoming more and more object oriented, the development wont take as much time as it used to be moving on from Mys v1.3.1 to v1.3.2. Id say around two to two-half months between each release is a reasonable scenario. I will post my plans for Mys v1.3.4 and v1.4.0 later, please keep track with it if you want to.

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

Hall of Famer
March 16, 2013

Monopet 03-16-2013 02:42 PM

This is amazing, thank you so much HoF and the team for all of your hard work <333
Is there any way us users could repay you?

Hall of Famer 03-16-2013 03:20 PM

Quote:

Originally Posted by Monopet (Post 26351)
This is amazing, thank you so much HoF and the team for all of your hard work <333
Is there any way us users could repay you?

Thank you so much for your comment, Monopet. And well, we are making this script for free and it will remain to be free. If there's a wish I can make, I hope more people will be using the script and find it enjoyable. I aint that optimistic though, the script has never been popular to begin with and chances are it never will be. I am fine so long as there are at least a few regular users here so that I can get constant feedback and suggestions.

demoness 03-16-2013 03:29 PM

Whoah, so fast! 00 You did great job with this script! Ill try it on my new hosting :3

Abronsyth 03-16-2013 07:49 PM

Okay, this is really quite odd...my forum is set so that it's URL should be http://www.bellesombres.com/forum but when I try to access that it just leads me back to the index page? I've checked the files and the /forum folder is as it should be...so any idea why that URL just leads me to the index page..?

Hall of Famer 03-16-2013 08:30 PM

Quote:

Originally Posted by Abronsyth (Post 26358)
Okay, this is really quite odd...my forum is set so that it's URL should be http://www.bellesombres.com/forum but when I try to access that it just leads me back to the index page? I've checked the files and the /forum folder is as it should be...so any idea why that URL just leads me to the index page..?

Does your forum script have a .htaccess file? If not, upload a copy of the .htaccess file from the Mys v1.3.3's /install directory to your forum directory, this should fix the unwanted URL redirect issue.

Abronsyth 03-17-2013 11:33 AM

That was odd, for some reason my .htaccess file had been turned into a .txt document, but I fixed it and now it's working fine :)

Thanks, HoF!

Hall of Famer 03-17-2013 11:37 AM

No worries, it appears to be an error from MyBB. I did notice that MyBB's .htaccess file is in .txt format when I was betatesting Mys v1.3.3 with their latest release MyBB v1.6.9. Its strange though, but guess even popular forumwares like MyBB makes mistakes. XD

Abronsyth 03-17-2013 02:10 PM

Okay, now, when trying to access the day care page (/levelup/daycare) it just brings me back to the index page...I do have the daycare enabled. Any idea as to why this may be occurring and how I ought to go about fixing it..?

Hall of Famer 03-17-2013 02:13 PM

Quote:

Originally Posted by Abronsyth (Post 26369)
Okay, now, when trying to access the day care page (/levelup/daycare) it just brings me back to the index page...I do have the daycare enabled. Any idea as to why this may be occurring and how I ought to go about fixing it..?

umm this is weird, never happened to me before. May I have a link to your site? I wonder if you've changed something in the code, but if not this can be quite serious.

Abronsyth 03-17-2013 03:35 PM

http://www.bellesombres.com is my site and http://www.bellesombres.com/levelup/daycare is what the default link is for the daycare.

The only bits I've changed were in the footer, and the theme.

Hall of Famer 03-17-2013 04:39 PM

It appears that the problem is not just with daycare. The profile page wont show either, it seems that you cannot have a valid url longer than this yoursite.com/controller. If you specify a non-default action for your controller, it wont show.

Anyway did this happen to you right after you installed the site? Or did it just occur after you played with the script for a bit(like changing the theme, adding an .htaccess file to forum directory)?

Abronsyth 03-18-2013 03:30 PM

Um, this was happening before I altered anything. I haven't really had time to look around much...though apparently I can't log out once logged in either.

Infernette 03-18-2013 04:10 PM

Quote:

Originally Posted by Abronsyth (Post 26391)
Um, this was happening before I altered anything. I haven't really had time to look around much...though apparently I can't log out once logged in either.

Heh, I'm also having this problem too, so it's not just you that is getting this either. :)

Hall of Famer 03-18-2013 04:44 PM

umm this is too bad, the url rewrite is not funcitioning as it should. I'd like to look into this in detail, perhaps it has something to do with caching. Try changing the CMD of the folder /templates/cache and /template/compile to 777 and see if the error persists. If so, please lemme know and I will look more into it. In the worst case scenario, you will need to provide me with ftp access and I can play with the script a bit on your server to see why it aint working.

Abronsyth 03-18-2013 05:37 PM

Changed the permissions but it's still not working...let me know if you'd like the FTP details and I can send them to you via PM. I trust you won't do anything to destroy my site (on purpose) XD

Hall of Famer 03-18-2013 05:50 PM

Of course thats the least thing I would do. XD So yeah, Id like to see what the problem is by running a few PHP tests. After all, thats how I detect and resolve most glitches. This one isnt likely to be a bug, more like a server environment issue. I will see what I can do.

Kesstryl 03-18-2013 11:22 PM

Quote:

Originally Posted by Hall of Famer (Post 26352)
Thank you so much for your comment, Monopet. And well, we are making this script for free and it will remain to be free. If there's a wish I can make, I hope more people will be using the script and find it enjoyable. I aint that optimistic though, the script has never been popular to begin with and chances are it never will be. I am fine so long as there are at least a few regular users here so that I can get constant feedback and suggestions.

Are you kidding me? This script is great! I love the support it has, the updates, right now it's the best thing out there aside from getting a programmer to code you a game for a fee. I'm grateful for all the hard work put into this. As an artist who is not a professional programmer, this means so much to me, to be able to turn my art into an interactive game. Even if there is ever a paid version and I pay for it, I will always keep the "powered by Mysidia" in the footer because I believe in giving credit where it belongs

Hall of Famer 03-18-2013 11:49 PM

Quote:

Originally Posted by Kesstryl (Post 26398)
Are you kidding me? This script is great! I love the support it has, the updates, right now it's the best thing out there aside from getting a programmer to code you a game for a fee. I'm grateful for all the hard work put into this. As an artist who is not a professional programmer, this means so much to me, to be able to turn my art into an interactive game. Even if there is ever a paid version and I pay for it, I will always keep the "powered by Mysidia" in the footer because I believe in giving credit where it belongs

Thank you so much for saying this Miss Kesstryl, I really appreciate all these. And yeah, I actually consider the code in Mys v1.3.3 somewhat decent, unlike the previous versions which had quite a bit of spaghetti code. Anyway, I plan to achieve a somewhat professional-looking object-oriented script by Mys v1.4.0, it is going in the right direction. Please do keep following our updates and you will see what I am doing next for Mys v1.3.4 and v1.4.0.

Missy Master 03-19-2013 10:04 PM

I was off a few days and I missed this, but YAY! It's here!!! I cannot wait to try this out!!

I'm so happy to see it at last!! Good work HoF and all who worked on it!! :)

Hedgen 03-20-2013 12:08 AM

Quote:

Originally Posted by Abronsyth (Post 26371)
http://www.bellesombres.com is my site and http://www.bellesombres.com/levelup/daycare is what the default link is for the daycare.

The only bits I've changed were in the footer, and the theme.

Did you and Famer ever get this figured out?

I noticed the levelop/daycare also, and it only shows
"this is the index page
This is a sample article. All of this text you can change in the script admin control panel."

Also clicking logout shows "/login/logout" and it also only shows
"this is the index page
This is a sample article. All of this text you can change in the script admin control panel."
instead of logging out.

Hall of Famer 03-20-2013 12:58 AM

1 Attachment(s)
Yes, I've sorted out the problem on Iris' site. The fact is that the URL Router aint working properly for sites with empty script path. It appears to be a mistake on my side, as the function str_replace() is mistakenly replacing every instance of forward slash '/ ' with blank space. On my demo site I have a script path concatenated to a forward slash, so it is not an issue. For this reason I have yet to be able to detect this glitch until Iris told me about it.

To resolve this, download the class_router.php file in this attachment and upload it to your server's directory /classes and replaces the old class_router.php. This should fix your problem. I've also updated the download links so new users do not have to go through this. I am terribly sorry for all these, I should've known that whats working out for me may not be working for other users. Perhaps it is a good idea to release a beta version of the script before the supposed stable release starting from Mys v1.4.0...

Hedgen 03-20-2013 07:42 AM

Ah, ok thanks it works now :) Now to modify this script to do what I want it to do...xD

Edit: How would I make it so the registration page shows a disabled message? With v1.3.2 I just commented most of the pages script out then added an addcontent with the message I wanted.

Abronsyth 03-21-2013 12:12 PM

Eep, found another URL problem...when trying to go from any /levelup/ page to a different page it does something funky and gives me this url:
http://bellesombres.com/levelup/click/adopt

I was trying to go to the adopt page after I clicked my adoptable. Also, when I adopt a pet and try to feed it, it goes to this url:
http://bellesombres.com/levelup/2

Instead of http://bellesombres.com/levelup/click/2

EDIT:
Okay, this just happens on the links I added manually to my side bar by creating a new module...

And now, for some odd reason, I get this error when trying to go to the /adopt page...even though it was working a few moments ago.
Fatal error: Call to a member function count() on a non-object in /home/bellesom/public_html/classes/abstract/abstract_guicontainer.php on line 392

Hall of Famer 03-21-2013 12:49 PM

Looks to me that you added a module that does not work. Can you posted the code you used in the module? That may be the problem.

Abronsyth 03-21-2013 01:09 PM

I just used the html portion:
Code:

<strong>Navigate</strong>
<ul>
<li><a href=index>Home</a></li>
<li><a href=forum>Forum</a></li></ul>
<strong>Adopts</strong>
<ul>
<li><a href=adopt>Adopt</a></li>
<li><a href=pound>Pound</a></li>
<li><a href=shop>Market</a></li>
<li><a href=promo>Promo</a></li>
<li><a href=breeding>Breeding</a></li></ul>
<strong>Explore</strong>
<ul>
<li><a href=trade>Trade</a></li>
<li><a href=levelup/daycare>Clickery</a></li>
<li><a href=stats>Stats</a></li>
<li><a href=search>Search</a></li></ul>
<strong>Community</strong>
<ul>
<li><a href=shoutbox>Shout</a></li>
<li><a href=profile>Members</a></li>
<li><a href=tos>Terms</a></li></ul> </ul>

Any ideas..? For the url problem or the /adopt page problem?

Hall of Famer 03-21-2013 02:31 PM

Well there is a problem using html when it involves url, especially when you are using relative url. Try adding a slash at the beginning of your url so that it becomes absolute url, this will probably solve your issue. Note that the relative url begins at the last forward slash found on your current location.

Abronsyth 03-23-2013 09:01 AM

Mmkay, I'll try that out shortly...

...anyways, what about my /adopt page error? I deleted the navbar module for now, but I get this error when trying to go to /adopt:
Fatal error: Call to a member function count() on a non-object in /home/bellesom/public_html/classes/abstract/abstract_guicontainer.php on line 392

Would you like me to post my abstract_guicontainer.php?

Hall of Famer 03-23-2013 11:58 AM

There is nothing wrong with the code in abstract_guicontainer.php file unless you have modified it yourself. The error lies in your adopt.php file if you have it on your page, I am assuming you have created a few adoptables but none are available to adopt at this point? This can be a tricky one, and definitely is possibly a glitch.

Missy Master 03-23-2013 04:16 PM

Okay just did a fresh and clean install of this on sim-pets.com-- everything seemed to go fine with the install, but every page I try to go to says not found - register, log in, all of them -- so to test it out I typed out login.php to see if it would go there that way:

Fatal error: Class 'AppController' not found in /home/simpets/public_html/login.php on line 3

( this was just a last resort to test it )

I did upload the new router class page as instructed but no go just even trying to log in:

The requested URL /login was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I did change config_adopts to what it needs to be, and I even checked in file manager that these pages are there - they are - I've made no mods at all and using nothing besides a totally fresh install of 1.3.3.

the address is: http://sim-pets.com

thanks for help, I'm likely just missing something. The index page does load fine, just can't go anywhere else lol.

Hall of Famer 03-23-2013 09:09 PM

Well the URL format has changed, do not use .php at the end of yor site URL or you receive this class appcontroller not found error.

Hedgen 03-23-2013 09:39 PM

Quote:

Originally Posted by Hall of Famer (Post 26430)
Well the URL format has changed, do not use .php at the end of yor site URL or you receive this class appcontroller not found error.

When I add .php to a link, it just shows:
"this is the index page
This is a sample article. All of this text you can change in the script admin control panel."

as the content on any page with .php at the end, and it also has the site theme.

Missy Master 03-23-2013 10:01 PM

Ah okay got it--- well just trying to log in at all, I get this:




The requested URL /login was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.




Same for all the other pages I try to go to...

Hall of Famer 03-23-2013 10:43 PM

@Annatar:
It looks to me that you are missing the .htaccess file, the url rewrite aint even working.

Missy Master 03-23-2013 11:06 PM

You were dead on right!! That solved it, it looks to be working perfectly, now to go check it all out! :)

Thanks for your work on all this H o F!! This looks utterly epic!!

Anyone else having this issue, its the .htaccess file! Make sure it gets loaded :)

GuardiansWish 03-25-2013 01:40 AM

When I go to install this version to the site for a clean slate (I ended up remoing all my old stuff for various reasons), I am getting this error when I go to put in my database info and hit next:

Could not connect to database, the following error has occurred:
SQLSTATE[28000] [1045] Access denied for user 'adopts4'@'localhost' (using password: YES)

Hall of Famer 03-25-2013 06:13 AM

Apparently the username is incorrect for your database, does the user exist or have permission to use the database?

GuardiansWish 03-25-2013 08:13 AM

The used exists and is attached to the database with full access.

Hall of Famer 03-25-2013 09:44 AM

Nope, there must be some kind of mistakes with your database credentials. Either you specified the wrong database name, or that the user is invalid. If you were using the old database, its better to empty all tables before installing the script. Also check config.php to see if there's anything abnormal there.

GuardiansWish 03-25-2013 01:04 PM

Never mind, I was a silly panda. I forgot to add the Chibifurs_ part of the database name...

Thank you for being patient with me. It means the world.


All times are GMT -5. The time now is 08:55 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.