View Single Post
  #15  
Old 09-30-2014, 10:55 AM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 28,539
kristhasirah
Default

well the code is the function for the items... in this case for 1 Item, you must open the function/function_items.php and just copy/paste the code before the "?>" and replace the imageurl with the image you want, not forget to change the: function items_Skin($item, $adopt){ by replacing the _Skin with the name of each custom, that way you wont be confused. also remember to edit the class_privateitem.php to add the new case for each code you create and replace "Skin" with the name of custom:
case "itemsSkin":
$message = items_Skin($this, $owned_adoptable);
break;

and add them to your database in the table adopts_items_function by adding a new row for each custom skin =)

well is a nice idea you have for reverting back the adopt, but if you cant be online all the time, members can start complaining... i know there should be a way to edit the code and revert the adopts back to their original image, but cant figure out how to update the imageurl table back to "NULL"... because for now it just write null as the url and give an x image for the adopt >_>
__________________

Last edited by kristhasirah; 09-30-2014 at 12:36 PM.
Reply With Quote