Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Suggestions and Feature Requests

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 08-25-2011, 04:58 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: 327,933
Hall of Famer is on a distinguished road
Default

Glad it helped you SDT, it seems that I havent released a Mys public mod for a while already. The work of itemshop and other Mys v1.3.0 programming do take much time off me. I am considering making Mys v1.2.3 available as a security release, which will strengthen password encryption protection, enable registration question/answer(prevent bots registration) and fix script flaws. I may update my old mods for Mys v1.1.x to Mys v1.2.x afterwards.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #12  
Old 08-25-2011, 06:29 AM
ipengu's Avatar
ipengu ipengu is offline
Member
 
Join Date: Aug 2011
Location: Central NY
Posts: 50
Gender: Male
Credits: 7,365
ipengu is on a distinguished road
Default

Quote:
Originally Posted by Hall of Famer View Post
Glad it helped you SDT, it seems that I havent released a Mys public mod for a while already. The work of itemshop and other Mys v1.3.0 programming do take much time off me. I am considering making Mys v1.2.3 available as a security release, which will strengthen password encryption protection, enable registration question/answer(prevent bots registration) and fix script flaws. I may update my old mods for Mys v1.1.x to Mys v1.2.x afterwards.
Will that include donate fix? Would like to know, so I know whether or not I should work on it myself.
__________________
Coder/Marketer/Etc
Super busy, lack of time for computer related things for awhile.

Current Mods:
Slim Profile | Disallow unfreezing adoptable
Longer Shoutbox | IP Tracking/Account Limiter
Colorblast | Flux Series

In the works:
Integrated Forum (Very unlikely to be a free public mod, at first anyways)15%
Better admin control panel (current one is terrible)
Couple Themes
Few other things.
Reply With Quote
  #13  
Old 08-25-2011, 03: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: 327,933
Hall of Famer is on a distinguished road
Default

Well it should include donate fix, as donating negative amount of money will be automatically corrected to its absolute value(thus always yields a positive value). If you have more suggestions on the donation system, please speak your mind out, we dont mind if you try to code one yourself and submit it to us.

Please note that once you submit a script and it is adopted in an official release, you will not be able to take back your contribution in future. For instance, if you submit a minigame script and it is used in Mys v1.3.0, but you want to take it out from Mys v1.3.x or Mys v1.4.0. This is not possible, unless you have detected a flaw in your script that causes severe programming or security issues.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #14  
Old 08-25-2011, 03:13 PM
ipengu's Avatar
ipengu ipengu is offline
Member
 
Join Date: Aug 2011
Location: Central NY
Posts: 50
Gender: Male
Credits: 7,365
ipengu is on a distinguished road
Default

Don't know how well your coding is, but what about an auto complete feature when typing in a username (could be very universal), perhaps anonymous donations.

About the autocomplete feature though, I may look into this myself as a mod release.

Also why would one ask to have something taken out? Seems quite dumb to be honest.
__________________
Coder/Marketer/Etc
Super busy, lack of time for computer related things for awhile.

Current Mods:
Slim Profile | Disallow unfreezing adoptable
Longer Shoutbox | IP Tracking/Account Limiter
Colorblast | Flux Series

In the works:
Integrated Forum (Very unlikely to be a free public mod, at first anyways)15%
Better admin control panel (current one is terrible)
Couple Themes
Few other things.
Reply With Quote
  #15  
Old 08-25-2011, 03:21 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: 327,933
Hall of Famer is on a distinguished road
Default

umm auto-complete feature? Mind elaborating a bit more? And donate anonymously? This is actually a quite easy job to do, there are many ways to censor usernames so they appear anonymous.

Well there may be at times when a user chooses not to contribute anymore, the losers will claim to take their contribution away from the community. I know it only happens like once in a blue moon, but it will be rather important to make sure we will not be affected by any possible losers. We will warn contributors of this before they submit scripts/themes, so it is not our fault if a contributor wants to take back his/her contribution prior to leaving the community and finds out that this is not allowed. We will not be using any non-staff members script without such consent anyway.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #16  
Old 08-25-2011, 03:52 PM
ipengu's Avatar
ipengu ipengu is offline
Member
 
Join Date: Aug 2011
Location: Central NY
Posts: 50
Gender: Male
Credits: 7,365
ipengu is on a distinguished road
Default

auto complete/auto suggest

Pretty much like on google, if you start typing..... united states, it will offer suggestions of completion.

Also as long as credit is given, I don't see what the big deal would be, but I guess everyone is different
__________________
Coder/Marketer/Etc
Super busy, lack of time for computer related things for awhile.

Current Mods:
Slim Profile | Disallow unfreezing adoptable
Longer Shoutbox | IP Tracking/Account Limiter
Colorblast | Flux Series

In the works:
Integrated Forum (Very unlikely to be a free public mod, at first anyways)15%
Better admin control panel (current one is terrible)
Couple Themes
Few other things.
Reply With Quote
  #17  
Old 08-25-2011, 04:41 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: 327,933
Hall of Famer is on a distinguished road
Default

I see, it does sound interesting. I looked at the url already, seems that it may require javascript programming? I cannot code in javascript at this moment, but it should be interesting to see if its possible to code such a system with PHP/Mysql alone.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #18  
Old 04-30-2012, 07:25 PM
superdude44 superdude44 is offline
Member
 
Join Date: Oct 2011
Posts: 63
Gender: Male
Credits: 9,402
superdude44 is on a distinguished road
Default

Quote:
Originally Posted by Hall of Famer View Post
Here is a possible way to have alternates set by gender:

Find these lines in doadopt.php:

PHP Code:
                        $alts getaltstatus($id00);

                        
// We need a unique code for the adoptable so we can show it to the user when we're done here...

                        
$code rand(120000);
                        
$genders = array('f''m');
                        
$rand rand(0,1);
                        
                        
runquery("INSERT INTO {$prefix}owned_adoptables VALUES ('', '{$row['type']}', '$name','$loggedinname','0','0', '$code', '','$alts','fortrade','no', '$genders[$rand]','0')");

                        
// Adoption complete, show the user a confirmation screen... 
Replace with something like this(the code may be different depending on the structure of your table prefix_owned_adoptables):

PHP Code:
                        // We need a unique code for the adoptable so we can show it to the user when we're done here...

                        
$code rand(120000);
                        
$genders = array('f''m');
                        
$rand rand(0,1);
                        
$petgender $genders[$rand];
                        switch(
$petgender){
                          case 
"m"
                          
$alts "yes";
                          break;
                          default: 
                          
$alts "no";
                        }                        

                        
runquery("INSERT INTO {$prefix}owned_adoptables  VALUES ('', '{$row['type']}', '$name','$loggedinname','0','0', '$code',  '','$alts','fortrade','no', '$petgender','0')");

                        
// Adoption complete, show the user a confirmation screen... 
This will set female sprite to be primary and male sprite to be alternate. Lemme know if this code wont work for you, and take a screenshot of your prefix_owned_adoptables so I can assist you further.

i am sorry for the BUMP, but is there a way to accomplish this in MAS 1.3.0?

-thanks

EDIT: i fixed it. i didn't have one of the } towards the end.

-thanks

Last edited by superdude44; 05-01-2012 at 08:39 PM.
Reply With Quote
  #19  
Old 11-01-2012, 07:15 AM
draugluin's Avatar
draugluin draugluin is offline
Member
 
Join Date: Oct 2011
Location: germany
Posts: 120
Gender: Unknown/Other
Credits: 10,752
draugluin is on a distinguished road
Default

mmmhh... I've tried this for 1.3.1 but I've got a error-message

PHP Code:
Fatal errorCall to undefined function runquery() in /var/www/clients/client161/web331/web/adopties/doadopt.php on line 67 
and this is the line 67...

PHP Code:
runquery("INSERT INTO {$prefix}owned_adoptables  VALUES ('', '{$row['type']}', '$name', '$owner', '0', '0', '$code', '','$usealternates','fortrade','no', '$gender','0')"); 
why ????
Reply With Quote
  #20  
Old 11-01-2012, 10:24 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: 327,933
Hall of Famer is on a distinguished road
Default

The function runquery() is no longer valid in Mys v1.3.x. We are using PDO class, you need to replace all queries with appropriate PDO equivalent code.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply

Thread Tools
Display Modes

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
Genders/More Alternate Images Clessidra Suggestions and Feature Requests 3 02-27-2014 10:42 AM
Multi Alternate Images Taintedkitten Questions and Supports 3 01-10-2013 07:44 PM
Adoptable genders Silvercivet Questions and Supports 2 02-12-2012 10:35 AM
How do I completely disable/delete Breeding and genders? D.A.T.A. Questions and Supports 5 08-29-2011 01:34 AM
Alternate images, how do they work? Shikari Questions and Supports 4 08-06-2011 08:17 PM


All times are GMT -5. The time now is 10:47 AM.

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