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
  #1  
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: 593,088
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
  #2  
Old 11-01-2012, 01:38 PM
draugluin's Avatar
draugluin draugluin is offline
Member
 
Join Date: Oct 2011
Location: germany
Posts: 120
Gender: Unknown/Other
Credits: 14,065
draugluin is on a distinguished road
Default

@ HoF

aaaaah, that's it. I've got it. Cool... thank you
Reply With Quote
  #3  
Old 06-03-2013, 03:46 AM
draugluin's Avatar
draugluin draugluin is offline
Member
 
Join Date: Oct 2011
Location: germany
Posts: 120
Gender: Unknown/Other
Credits: 14,065
draugluin is on a distinguished road
Default

Is it possible, to write this function for Mys 1.3.3 ?
This would be very, very nice :)

I think, I have to study this new (cyrillic ) version

Thanks a lot

Last edited by draugluin; 06-18-2013 at 03:29 AM.
Reply With Quote
  #4  
Old 11-12-2014, 10:23 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 4,692
AndromedaKerova is on a distinguished road
Default

I had a go at this but there seems to be no doadopt.php in 1.3.4.

I found something similar to the code inside classes/class_adoptable.php

PHP Code:
    public function getGender(){
        
$genders = array('f''m');
        
$rand rand(0,1);
        return 
$genders[$rand];
    } 
But there was no:
// Adoption complete, show the user a confirmation screen...

I kept looking and finally found something close to that line in view/adoptview.php

I'm not sure if the code should go here or in class_adoptable.
__________________
Failing at being normal since 1990.
Reply With Quote
Reply


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 05:12 PM.

Currently Active Users: 3251 (0 members and 3251 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 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636