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 02-09-2013, 06:26 AM
Kamalya's Avatar
Kamalya Kamalya is offline
Member
 
Join Date: Jan 2013
Posts: 48
Gender: Female
Credits: 5,604
Kamalya is on a distinguished road
Default Descriptions

I want to add descriptions for each level of my dragons, I know I need to add a new field for this to my database but for the PHP how would I implement this?
__________________
Reply With Quote
  #2  
Old 02-09-2013, 06:57 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 113,130
Abronsyth is on a distinguished road
Default

Well, I would try looking at the
Quote:
admincp/adopt.php
file and finding the section in there where it allows the admin to add the description for the adoptable itself. You'll also want to take a look at
Quote:
admincp/level.php
but that's all I can figure out this early in the morning :P

I'm sure someone with a better understanding of PHP will eventually offer you better assistance XD
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote
  #3  
Old 02-09-2013, 07:05 AM
Kamalya's Avatar
Kamalya Kamalya is offline
Member
 
Join Date: Jan 2013
Posts: 48
Gender: Female
Credits: 5,604
Kamalya is on a distinguished road
Default

I have an idea I think I need to add a prefix in the level.php to account for it adding in descriptions, I didn't think of doing the admincp/level.php because I just straight upload all my stuff via the mysql I rarely touch the admin area.
__________________
Reply With Quote
  #4  
Old 02-10-2013, 03:24 PM
Kamalya's Avatar
Kamalya Kamalya is offline
Member
 
Join Date: Jan 2013
Posts: 48
Gender: Female
Credits: 5,604
Kamalya is on a distinguished road
Default

okay I got it to work, I hate the admin CP so I did not add a field in to that but if any one wants to know how to do this you just have to make a new field in adopts_level and then when you want to add it to which ever page just do: {$level->descriptions} or w/e you called your field and it will add it in for you.
__________________
Reply With Quote
  #5  
Old 02-10-2013, 03:56 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 113,130
Abronsyth is on a distinguished road
Default

I might have to do something like that for the adult stage alone...mmm...thanks for sharing! I'm glad you were able to figure it out ;)
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote
  #6  
Old 02-10-2013, 04:09 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,845
Infernette is on a distinguished road
Default

Thanks for sharing this, I totally needed it :) I might need to figure out what I'm doing but it seems awesome XD Definitely needed this
__________________
No, I have no idea what I'm doing. But it works. Barely.
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
Placing descriptions on the My Adopts page Vaporman87 Questions and Supports 7 02-21-2014 02:02 PM
Simple descriptions to adopt.php Tony Mys v1.1.x Mods 7 02-04-2011 07:31 PM
Descriptions and Names for each level? milay Suggestions and Feature Requests 1 03-06-2009 06:26 AM


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

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