PDA

View Full Version : Noob Help


lasher666
02-02-2016, 09:56 AM
So, i managed the script to work, it shows my index page and all, but when i click in some link, it returns a error "webpage not found". I tried to acess the control panel, some error. But i notice, when i click in the link, it duplicate the url like http://http//xxxxxxx.mysidiahost.comhttp://xxxxxx.mysidiahost.com/admincp
so, i deleted the first part of url an tried this xxxxxx.mysidiahost.com/admincp
It works. I was able to add an adoptable and all. But, back to my page, i am still getting errors when try to click something out the index page... so, how can i browse the adopts, add content and everything. Someone have a good (and complete) tuto for dummies? Not for installation, but to get the page all functional. Me (and lots of others peoples) will be grate. Thank you.

Hall of Famer
02-02-2016, 10:57 AM
Good chance your config.php file has the wrong domain information, make sure when you enter your domain you do not have 'http://' or 'http', or you can get strange routing errors like this.

lasher666
02-02-2016, 11:05 AM
Good chance your config.php file has the wrong domain information, make sure when you enter your domain you do not have 'http://' or 'http', or you can get strange routing errors like this.
Worked like a charm. Thank you.
Can i add itens like clothes in a draggable form, like in sites as chicken smoothie? If yes, any tips?

Hall of Famer
02-02-2016, 01:29 PM
Well of course you can add any kinds of items, although I cant give you tips on how to do this since I dont even understand what exactly you want to make. You can create custom item functions by editing file functions_items.php, and you will need some coding skills in order to do this.

lasher666
02-04-2016, 07:18 AM
Well of course you can add any kinds of items, although I cant give you tips on how to do this since I dont even understand what exactly you want to make. You can create custom item functions by editing file functions_items.php, and you will need some coding skills in order to do this.
I want to do some draggable itens, like in dress up games... i made a example in flash, an attached it. Can i do something like that with mysidia?

Abronsyth
02-04-2016, 02:22 PM
It's totally doable with a good deal of programming, but mysidia, if I recall, tends to be rather buggy with ajax (which I believe you would need for such a thing). I know some users have managed to work with it (see this thread; http://mysidiaadoptables.com/forum/showthread.php?t=4989), so I would look into that. I plan on hiring a programmer to do this for my site eventually :)

Hall of Famer
02-04-2016, 10:11 PM
Yeah of course its totally doable, with this script you can make anything happen given that you have the necessary skillset.

lasher666
02-05-2016, 05:44 AM
Nice, but i dont know anything about coding... (just AS and some html), can you point me the right way to achieve that?

Hall of Famer
02-05-2016, 08:58 AM
You need to learn how to code in PHP, this is the book for beginner to intermediate level developers who aspire to study PHP and OOP. I had an older version myself a few years ago when I got started, and Id recommend you buy and read it too:

http://www.amazon.com/Objects-Patterns-Practice-Matt-Zandstra/dp/1430260319/ref=sr_1_1?ie=UTF8&qid=1454684239&sr=8-1&keywords=php+objects+patterns+and+practice

Also you may want to learn Javascript and AJAX, so this book may help:
http://www.amazon.com/AJAX-PHP-Building-Modern-Applications/dp/1847197728/ref=sr_1_6?s=books&ie=UTF8&qid=1454684374&sr=1-6&keywords=ajax

Kyttias
02-05-2016, 09:49 AM
I recommend Codecademy (https://www.codecademy.com/learn/php) for learning php. It's completely free, you don't even have to sign up (doing so will only help you save your progress).

Basically, for this to work, you need to override how adoptables are being displayed. You'll need to save a separate file for each pet, probably by id. You'd want to look into creating a function inside classes/class_ownedadoptables.php to point to the file relevant to the pet's id and display it. Then you'll need to search through all the files (hint - get an IDE text editor that will allow you to search entire folders file contents) for every instance getImageURL() in regards to the pets displaying and replace it with a call instead to the function you made that points to the pet's file. (Whether that's an image or a swf, whatever?)

As for actually incorporating dress up items, making sure the user owns the items and that they're equipped properly and so forth... I don't know. I haven't done that myself. If you're doing it all with swf flash files, you'll definitely need ajax and understanding of how php can communicate to the swf file and back, because both directions of communication will be necessary.