Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2014, 05:58 PM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 16,107
pachoofoosh is on a distinguished road
Default

I broke the adoptspotlight on my site by deleting adoptables directly from the database (was resetting everything); after I reset the auto_increment values it got mean and decided not to work. QvQ

This fixed the problem for me and got the adoptSpotlight working, it might work on your site? ^^

in class_userprofile.php, find the following function (should be around line 55):
PHP Code:
public function getFavpet(){
      if(
is_numeric($this->favpet)){
          
$this->favpet = ($this->favpet == 0)?new Comment("None Selected"):new Link("levelup/click/{$this->favpet}", new Image("levelup/siggy/{$this->favpet}"), TRUE); 
      } 
      return 
$this->favpet;      
  } 
Replace it with this:
PHP Code:
  public function getFavpet(){
      if(
is_numeric($this->favpet)){
          
$adopty = new OwnedAdoptable($this->favpet);
          
$favimg $adopty->getImage();
          
$this->favpet = ($this->favpet == 0)?new Comment("None Selected"):new Link("levelup/click/{$this->favpet}", new Image($favimg), TRUE); 
      } 
      return 
$this->favpet;      
  } 
__________________
The calzones... betrayed me?
Reply With Quote
Reply

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
Spotlight Adopt in Sidebar Abronsyth Questions and Supports 2 11-18-2015 01:23 PM
Broken Theme Zoroark Questions and Supports 1 10-15-2012 09:55 PM
Pet Spotlight / BBCodes - Problem Kimba Questions and Supports 7 11-27-2011 11:20 AM
Problem with the Pet Spotlight and the forum codes Isura Questions and Supports 0 09-30-2011 12:43 PM
Broken Login konzair Questions and Supports 8 01-26-2011 09:43 AM


All times are GMT -5. The time now is 08:15 PM.

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