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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2011, 02:48 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 27,150
PTGigi
Default

Guys a change was made so if you're using this please add in this new edit It's not much, just a drop-down menu that allows the user to use ONLY their own adoptables.

The "Pet Spotlight Details" and replace entirely with this:
PHP Code:
  <p><u>Pet Spotlight Details: </u></p>
  <
p>Favorite Pet ID

    <
select name='favpet' id='favpet'>
      <
option value='' selected>No Pokemon Selected</option>";
      
// We need to stop here and fetch our adoptables...

    
$query = "SELECT FROM ".$prefix."owned_adoptables WHERE owner '".$loggedinname."' ";
    
$result = mysql_query($query);
    
$num = mysql_numrows($result);

    //Loop out code
    
$i=0;
    while (
$i < $num) {

    
$aid=@mysql_result($result,$i,"aid");
    
$name=@mysql_result($result,$i,"name");
    
    
$article_content = $article_content."<option value='".$aid."'>".$name."</option>";    

    
$i++;
    }

      
   
$article_content = $article_content."</select>
</
p>
  <
p>Favorite Pet Bio
    <
textarea name='about' cols='45' rows='4' id='about'>".$about."</textarea>Here is a bio for your petthe maximum number of characters you can use is 200. You can write whatever you want but abide by the </a href='tos.php'>ToS</a> and do NOT post content that involves an advertisementvulgar language, or any other acts that could get your account bannedBBC is NOT useable for this.
</
p>
    <
input name='act' type='hidden' id='act' value='moreprofile'>
</
p>
  <
p>
    <
input type='submit' name='Submit' value='Submit Details'>
  </
p>
</
form>"; 
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic
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
Profile Bio Box Kyttias Questions and Supports 4 12-22-2014 10:55 PM
Profile Pictures >.< parayna Questions and Supports 2 12-18-2014 09:49 AM
A Little Problem with the Profile Abronsyth Questions and Supports 1 01-29-2013 06:38 PM
Error with profile.php Aasixx Questions and Supports 5 10-20-2012 06:08 PM
Last 10 visitors to your profile! Hall of Famer Other Chat 8 01-21-2011 05:20 PM


All times are GMT -5. The time now is 01:21 AM.

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