Mysidia Adoptables Support Forum  

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

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-15-2016, 08:14 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 164,477
Abronsyth is on a distinguished road
Default

Ooh, this is brilliant! My users have been asking about something like this! Thank you for sharing <3

I'm going to play around and see if I can incorporate this in the ACP :)
Edit:
That was actually way easier than I thought it'd be!

Only need to add some minor things;
.../admincp/adopt.php
Around line 52 you should see something starting with $mysidia->db->insert, the first of 3 that are right there. Add this into that string somewhere;
PHP Code:
"rarity" => $mysidia->input->post("rarity"
Now go to .../admincp/view/adoptview.php
Now find where you see a bunch of strings starting with $basicInfo and insert this chunk somewhere (I added mine right under the class section):
PHP Code:
        $basicInfo->add(new Comment("Adoptable Rarity: "FALSE));
        
$basicInfo->add(new TextField("rarity"));
        
$basicInfo->add(new Comment("The rarity level for this adoptable (Common, Uncommon, or Rare)")); 
__________________
My Mods Site (1.3.4, 2020 Mods)

Last edited by Abronsyth; 01-15-2016 at 05:00 PM.
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


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

Currently Active Users: 860 (0 members and 860 guests)
Threads: 4,081, Posts: 32,043, 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