Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Mys v1.1.x Mods (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=20)
-   -   Adoptable Search Addon [by Kae] (http://www.mysidiaadoptables.com/forum/showthread.php?t=1743)

Kaeliah 01-20-2011 03:15 PM

Adoptable Search Addon [by Kae]
 
1 Attachment(s)
Adoptable Search Addon
By Kaeliah

Modification TOS
**Note that there is no viewable credit required for this mod**

This was suggested for a new release of the MysAdopts version 1.2.0 I believe.

Functions: Adoptable search allows searching using name, type or owner and is similar to a search engine. If you type in 'sea', you're results may look like: sea, sea bass, horsea, etc. Results are listed in order of adoptable ID. Guests cannot search, this is to prevent server overload from malicious guests and spambots.

Installation: Upload the file adoptsearch.php to your main folder. Also included is some CSS arrangements specifically for the table on the page. You can see them below, add them pretty much anywhere on your CSS page to use them.

Code:

table#searchresults {
    border: 1px solid black;
    width: 490px;
}
table#searchresults td {
    padding: 5px;
    border: 1px solid black;
}

Enjoy!

Hall of Famer 01-20-2011 03:19 PM

Wow this is just, marvelous! Thank you so much for doing this Kaeliah, this will surely be added to the next release. ^^ Glad you posted in public modification forum too, it will help users whose sites are already heavily modified and thus cannot upgrade to Mys v1.2.0 easily.

Kaeliah 01-20-2011 03:20 PM

Thank you. :smile: I also try to keep installations as simple as possible. It doesn't get much better than this one. XD

PTGigi 01-20-2011 04:21 PM

Oh yus searching! :D Now to add this when my homework is done >.>

RoconzaArt 01-20-2011 05:11 PM

I like how your scripts are easy to install. Amazing work Kaeliah

Kaeliah 01-20-2011 05:19 PM

@Gigi - Yay hopefully it will be useful for you.

@Roconza - Well see, as a coder it's my job to provide support. If a script is hard to install, it means more work for me explaining how to install it and move problems that could arise. So it works better for everyone if the install is easy. :smile:

PokePets 01-21-2011 09:14 AM

Thaaaaaaaaaaaaanks :)

Kaeliah 01-21-2011 09:43 AM

Your welcome :smile:

Missy Master 01-23-2011 08:15 AM

you're EPICCCC for this!!!

Thank you so much!! **runs to install this ***

RoconzaArt 01-24-2011 05:07 PM

I found a error in this:

Quote:

$article_content = $article_content."<tr><td>".$aid."</td><td><a href='http://kaedemolition.comlu.com/adoptables/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 change it to my site url and a invalid ID error.


All times are GMT -5. The time now is 01:42 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.