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-05-2018, 11:48 AM
Ittermat's Avatar
Ittermat Ittermat is offline
The awesomesauce
 
Join Date: Feb 2016
Location: in front of my laptop
Posts: 272
Gender: Female
Credits: 47,153
Ittermat is on a distinguished road
Default

I got that part XD but now I have no idea how to make the Trophies actually appear

They're under the category "Trophy" in my items..

I tried this- and that didnt work.. >_<

//trophies
$document->add(new Comment('</div></div><div class="c-tab outer-tab">
<div class="c-tab__content">',false));
$user->getitem();
$profile->display("Trophy", $user);
Reply With Quote
  #2  
Old 11-06-2018, 01:42 AM
draugluin's Avatar
draugluin draugluin is offline
Member
 
Join Date: Oct 2011
Location: germany
Posts: 120
Gender: Unknown/Other
Credits: 15,069
draugluin is on a distinguished road
Default

Hmmm.... this works for me. try it...
(profileview.php)

you just have to change the names and the path.

PHP Code:
// The new tab    
        
$tabs->starttab(5); 
        
$document->add(new Comment("Throphies!<br> ")); 
        
        
$throphy $mysidia->db->select("inventory", array("itemname"), "category ='throphy' and owner='{$mysidia->user->username}' ");
             
        while(
$row $throphy->fetchObject()) {    
                  
$itemname $row->itemname;
                  
$document->add(new Comment("<img src='/pics/{$itemname}.png'>" ));
         }  
        
        
$tabs->endtab(5); 
__________________
Reply With Quote
Reply


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


All times are GMT -5. The time now is 12:05 AM.

Currently Active Users: 1292 (0 members and 1292 guests)
Threads: 4,082, Posts: 32,047, 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 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636