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
  #11  
Old 01-24-2011, 08:29 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 31,871
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 08:32 PM.
Reply With Quote
  #12  
Old 01-24-2011, 09:55 PM
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: 327,522
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, 12:44 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 31,871
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, 02:29 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 25,162
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, 04:20 PM
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: 327,522
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, 04:30 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 25,162
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, 07:05 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 31,871
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 04:26 PM


All times are GMT -5. The time now is 03:23 PM.

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