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

Reply
 
Thread Tools Display Modes
  #11  
Old 01-24-2011, 09:29 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 12,837
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

Woops, my bad... I'll fix that... *goes to fix*

Just download and upload the new file, it'll work properly.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]

Last edited by Kaeliah; 01-24-2011 at 09:32 PM.
Reply With Quote
  #12  
Old 01-24-2011, 10:55 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is online now
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: Somerville
Posts: 4,388
Gender: Male
Credits: 126,306
Hall of Famer is on a distinguished road
Default

^^ Glad you fixed this problem already Kaeliah. Looks like it was a similar mistake I made when adding cash system for leveling up pets, which connected to the table adopts_users instead of prefix_users. XD
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #13  
Old 01-25-2011, 01:44 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 12,837
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

I just left the entire link in by accident... >.> *facepalm*
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #14  
Old 01-25-2011, 03:29 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 7,306
PTGigi
Default

And I hate to bring up another error but it's only a minor one

PHP Code:
else{
$article_content $article_content."<table id=\"searchresults\"><tr><td>ID</td><td>Name</td><td>Type</td><td>Owner</td><td>Level</td><td>Gender</td></tr>";
$i 0;
while(
$i $num){
$name=@mysql_result($result,$i,"name");
$aid=@mysql_result($result,$i,"aid");
$type=@mysql_result($result,$i,"type");
$owner=@mysql_result($result,$i,"owner");
$level=@mysql_result($result,$i,"currentlevel");
$gender=@mysql_result($result,$i,"gender");

$article_content $article_content."<tr><td>".$aid."</td><td><a href='levelup.php?id=".$id."'>".$name."</a></td>
<td>"
.$type."</td><td><a href='profile.php?user=".$owner."'>".$owner."</a></td><td>".$level."</td><td>".$gender."</td></tr>";

$i++;
}
$article_content $article_content."</table>";

Should be:
PHP Code:
else{
$article_content $article_content."<table id=\"searchresults\"><tr><td>ID</td><td>Name</td><td>Type</td><td>Owner</td><td>Level</td><td>Gender</td></tr>";
$i 0;
while(
$i $num){
$name=@mysql_result($result,$i,"name");
$id=@mysql_result($result,$i,"aid");
$type=@mysql_result($result,$i,"type");
$owner=@mysql_result($result,$i,"owner");
$level=@mysql_result($result,$i,"currentlevel");
$gender=@mysql_result($result,$i,"gender");

$article_content $article_content."<tr><td>".$id."</td><td><a href='levelup.php?id=".$id."'>".$name."</a></td>
<td>"
.$type."</td><td><a href='profile.php?user=".$owner."'>".$owner."</a></td><td>".$level."</td><td>".$gender."</td></tr>";

$i++;
}
$article_content $article_content."</table>";

So the ID number link works
__________________


"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
  #15  
Old 01-25-2011, 05:20 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is online now
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: Somerville
Posts: 4,388
Gender: Male
Credits: 126,306
Hall of Famer is on a distinguished road
Default

umm does it really make a big difference if you use 'id' instead of 'aid'?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #16  
Old 01-25-2011, 05:30 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 7,306
PTGigi
Default

Well it had both $aid and $id so that messed it up, and personally I like $id so I changed the $aid to match the other $id X3

This is the line with the exact error:
PHP Code:
$article_content $article_content."<tr><td>".$aid."</td><td><a href='levelup.php?id=".$id."'>".$name."</a></td> 
See how there's an $aid and an $id? But up top only one is specified.
__________________


"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
  #17  
Old 01-25-2011, 08:05 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 12,837
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

Fixed, again.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
Reply

Tags
addon, adoptable, code, kae, mod, search

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 Addon: Frei Chat (Facebook-like Messenger) Kyttias Mys v1.3.x Mods 27 09-24-2016 03:46 PM
Quick Search Bloodrun Addons/Mods Graveyard 43 10-10-2009 05:45 AM
Search mapleblade Suggestions and Feature Requests 14 06-03-2009 04:54 AM
[SEO]Increase your search rankings! eaglelegend Addons/Mods Graveyard 2 03-24-2009 05:57 PM
Remove Search Bar LilPixie Questions and Supports 3 02-12-2009 05:26 PM


All times are GMT -5. The time now is 07:34 AM.

Currently Active Users: 225 (1 members and 224 guests)
Threads: 3,943, Posts: 31,409, Members: 15,530
Welcome to our newest members, ancrsbys01.
BER





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636