Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.1.x Mods

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 10-17-2010, 04:43 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: 626,453
Hall of Famer is on a distinguished road
Default RE: Adoptable Pet Status Mod by Kaeliah

Again this one works just great. ^^ I've found a small error though, which can be resolved by editing this line in doadopt.php:

PHP Code:
mysql_query("INSERT INTO ".$prefix."owned_adoptables VALUES ('', '$type', '$name','$loggedinname','0','0', '$code', '','$alts','$alts2','$alts3','$alts4','fortrade','no','$gender','$thetime')"); 
To:

PHP Code:
mysql_query("INSERT INTO ".$prefix."owned_adoptables VALUES ('', '$type', '$name','$loggedinname','0','0', '$code', '','$alts','$alts2','$alts3','$alts4','Happy','fortrade','no','$gender','$thetime','','','')"); 
If your default pet status is not Happy, then change this one to whatever you have as default. Also please do not just copy/paste my code since my sql tables are heavily modified and may not look exactly the same as yours. For instance, I have 4 alternative images and a gender system, so you need to delete these from your mysql_query script if yours does not have such things.
Reply With Quote
 


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
Make pets' trade status Not For Trade by default tahbikat Questions and Supports 3 12-13-2015 10:21 PM
Mods by Kaeliah - NEW: Pet Status Mod! Kaeliah Mys v1.1.x Mods 27 11-17-2010 12:38 AM
Where's my premium status? Smilie Other Chat 1 03-24-2009 02:00 PM


All times are GMT -5. The time now is 02:10 PM.

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