Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2014, 09:27 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,930
Kyttias is on a distinguished road
Default Show Gender while Naming Pet & Name Promo Code Pets

Two things:

- Is it possible to let users know what gender their pet is going to be before/as they are naming it when it is new?

- Is it possible to give users the option to name pets obtained from promo codes as they get them? (Currently they just get the name of the species as their name by default and users are never asked to name them.)

I know it is always possible for a user to visit the adoptable and rename/name their pets, but... for the sake of their convenience?

+ How would I go about showing the species description on an individual pet's page (their stats page)? (Or, basically, getting it to where it's attached to a variable accessible in 'adopt'. {$this->adopt->info} or something to that effect?)
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 07-10-2014 at 09:48 PM.
Reply With Quote
  #2  
Old 07-10-2014, 09:59 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,153
Hwona is on a distinguished road
Default

Umm, I don't know with v.1.3.4, but with v.1.3.3, I think it's possible, for the naming, to put something like: this->adoptGender(); or something like that on the promocode page.
As for displaying the species description? Is that an existing function in the ownedadoptables class? If not, maybe try getting an adoptable's species and then going to the adoptables table in the database and select the description that matches the species.
__________________
Reply With Quote
  #3  
Old 07-10-2014, 10:45 PM
Infernette Infernette is offline
CODE CODE CODE CODE CODE
 
Join Date: Jan 2013
Location: Where I live? I live home.
Posts: 164
Gender: Female
Credits: 23,612
Infernette is on a distinguished road
Default

By using $this->adopt->info you are pulling from the owned_adoptables table- It'd be best to put the info in the adoptables table and do a fetch on the row that the species(both are type) is at to pull the info to save resources and having to tag each adopt with the same info, unless you are varying it for every adoptable someone has(i.e. custom descriptions).
__________________
No, I have no idea what I'm doing. But it works. Barely.
Reply With Quote
  #4  
Old 07-11-2014, 01:52 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,930
Kyttias is on a distinguished road
Default

Hum, yeah. I'll have to do a database pull based on species name.

I'm definitely/mostly curious about getting the gender to display while a user is first naming their pet, though. It definitely helps in the naming process to know what gender an adoptable is going to be, afterall.

(Meanwhile, the alternate image use implies a 50-50 ratio could be created to make male and female adoptables with different pictures, yet, doesn't look like it's actively bothering to connect an image with a specific gender. There isn't even a way to make it so a species only can be a single gender.)
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #5  
Old 07-11-2014, 09:29 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,295
Hall of Famer is on a distinguished road
Default

Its definitely possible, but you will need to edit the adopt.php file a little bit since the original script generates adoptable's gender after you name your pet. You can always rename your pet at anytime through myadopts.php though.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #6  
Old 07-11-2014, 02:12 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 86,930
Kyttias is on a distinguished road
Default

Darn, I was afraid to hear that, but thought it might be the case. Could you put changing that into consideration for a future version of Mysidia?
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
Reply

Tags
gender, naming

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
Mys v1.3.4 Know Gender of New Pets Before Naming Kyttias Mys v1.3.x Mods 4 08-04-2018 01:13 AM
Promo Code Questions! parayna Questions and Supports 4 10-07-2014 03:12 PM
Promo code with Disposable keys Chibi_Chicken Tutorials and Tips 3 04-18-2012 04:23 PM
show gender not until second level ? draugluin Questions and Supports 6 11-04-2011 07:51 PM
Only show egg image with promo code RoconzaArt Questions and Supports 5 03-25-2011 12:51 PM


All times are GMT -5. The time now is 03:46 AM.

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