mmh. Perhaps its a conflict with "Shop Item: Profile Image" mod.
Not a big problem anyway. Pets will probably still work, but they wont show up in the user profiles.
You can offcourse manually edit your profile.php after you install the pet mod. You have to add:
//Begin Shop-Pets Mod
//Show the pets owned by the member
function showPets($memID)
{
global $txt, $user_info, $scripturl, $modSettings, $db_prefix;
global $context, $user_profile, $ID_MEMBER, $sourcedir;
loadLanguage('Shop');
$result = db_query("
SELECT *
FROM {$db_prefix}shop_pets
WHERE ownerid = $memID", __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($result)) {
require($sourcedir . '/shop/pet_engine.php');
require($sourcedir . '/shop/pets_breeds/' . $row['breed'] . '.php');
eval('$temp = new pet_' . $row['breed'] . ';');
$temp->load_values($row['pet_id']);
$context['pets'][$row['pet_id']] = $temp;
}
}
//Loads the pets up!
function load_pets() {
global $sourcedir;
require($sourcedir . '/shop/pet_engine.php');
if ($handle = opendir($sourcedir . "/shop/pets_breeds/")) {
while (false !== ($file = readdir($handle))) {
if (substr($file, -4) == '.php')
{
// Get the name (file name without .php extension)
$name = basename($file, '.php');
require($sourcedir . '/shop/pets_breeds/' . $file);
}
}
}
}
Somewhere before a line that at least looks like this:
foreach ($context['posts'] as $counter => $dummy)
$context['posts'][$counter]['can_delete'] &= $context['posts'][$counter]['delete_possible'];
}