Mysidia Adoptables Support Forum  

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

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-21-2013, 05:56 AM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 144
Gender: Male
Credits: 12,478
LucasA33 is on a distinguished road
Default Adding coin image instead of a currency name.q

I'm new to PHP so I am at a loss of what to do here, but I want to add a small 16x16 icon image where it says MONEY:


I've tried resources like google but all it ever does is confuse me :P
Maybe one of you guys could help me put this together.

Current code:

Quote:
/**
* The getMoneyBar method, getter method for property $moneyBar.
* @access public
* @return Paragraph
*/
public function getMoneyBar(){
return $this->moneyBar;
}

/**
* The setMoneyBar method, setter method for property $moneyBar.
* It is set internally upon object instantiation, cannot be accessed in client code.
* @access protected
* @return Void
*/
protected function setMoneyBar(){
$mysidia = Registry::get("mysidia");
$this->moneyBar = new Paragraph;
$this->moneyBar->add(new Comment("Money: {$mysidia->user->money} {$mysidia->settings->cost} | "));

$donate = new Link("donate");
$donate->setText("Donate");
$this->moneyBar->add($donate);
$this->setDivision($this->moneyBar);
}
__________________
Reply With Quote
 


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
Second Currency and Currency icon Rovick Suggestions and Feature Requests 14 11-11-2014 05:29 PM
Mod: Currency Magnie Addons/Mods Graveyard 12 06-05-2010 10:05 AM
New Release Currency trollis76 Suggestions and Feature Requests 19 05-27-2009 03:49 PM
Currency Mod Killgore Questions and Supports 1 04-10-2009 08:04 PM
New Release Currency trollis76 Questions and Supports 0 12-31-1969 07:00 PM


All times are GMT -5. The time now is 11:28 AM.

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