Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Suggestions and Feature Requests (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=21)
-   -   Suggestions for default Item functions (http://www.mysidiaadoptables.com/forum/showthread.php?t=2343)

AlexC 01-08-2012 02:16 PM

I know this thread is a bit old, but I've got a question - with the item shop, will we be allowed to "drop" items on our sites - so our members can find them on certain pages and pick them up? Or can we only give items through the store?

Hall of Famer 01-09-2012 01:02 PM

umm users can drop items by clicking the 'Toss' button at inventory.php page. I have not coded a script to enable users to pick up dropped items, it should not be difficult to accomplish though since the idea should work out in a similar way as Pound script.

For now the only way to obtain items is through itemshop, but this will change in future. When a battle system is available in Mys v1.5.x, admins should be able to assign items dropped by enemies. I coded a quiz system for my Pokemansion site, in which users receive fishing rod by completing fishing quizzes.

So yeah, you can do whatever you want to extend the item/itemshop system with PHP programming.

AlexC 01-09-2012 01:34 PM

Alright, I was just wondering. I'm not that good at coding, so I wasn't sure if it was going to be added or not... I made my own explore system, so I just want to be able to have a small code that when people visit a certain page, an item is added to their inventory.

Hall of Famer 01-10-2012 12:05 PM

I see, this should not be difficult at all. You simply have to modify the database sql table that stores items for users whenever someone is supposed to receive or lose an item by accessing the explore page. I will show you an example someday after the itemshop is released together with Mys v1.3.0.

AlexC 01-10-2012 02:15 PM

Alright, thanks - examples are awesome. xD

Hall of Famer 01-14-2012 07:43 AM

No worries, you just need to play with basic control loops in PHP in order to accomplish this. Knowledge of If...else, Switch...case, while and for loops should be sufficient, assuming you are comfortable with PHP variables and HTML forms.

Bibarel 01-14-2012 09:21 AM

HOF, v1.3.0 gonna be awesome, i can't wait :jay:


All times are GMT -5. The time now is 05:14 PM.

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