fadillzzz |
02-13-2011 11:09 PM |
Quote:
Originally Posted by RoconzaArt
(Post 14499)
I'd like to know as well.
|
I don't see why it's hard to install this mod if you have the 'Secure Random Adoption' mod installed. I've looked at Pokepets's .php file and I can easily find where to place the necessary code to install this mod.
All you have to do is just find this code in doadopt.php & doadoptab.php
PHP Code:
if($aid == "" or !is_numeric($aid)){
$article_title = $err_idnoexist; $article_content = $err_idnoexist_text;
}
Below that, add this code
PHP Code:
$result = mysql_query("SELECT * FROM ".$prefix."owned_adoptables WHERE owner='".$loggedinname."' AND currentlevel='0'"); $num = mysql_num_rows($result);
if($num >= 5){ $canadopt = "no"; $article_title = "Too many eggs!"; $article_content = "You already have too many eggs!"; }
Send me a PM if you're still having some problems to install this mod. I'll be gladly to help you out. :happyc:
|