I have some questions...

Forum
Last Post
Threads / Messages

SapphirePhoenix

Adoptable Site Owner
Member
Joined
Nov 22, 2015
Messages
81
Points
0
Age
19
Location
Australia
Mysidian Dollar
5,356
Sorry for making so many threads and asking so many questions, but I'm still not sure about some things.

1. How do I change my site's icon? (the ones you see on your tab)
2. For breeding, it says something like this:
You currently have 398 azurelicas, the cost of breeding is: azurelicas

It doesn't show how much it costs. What am I supposed to do?
3. When I tested out the trading, it says 'mysidian dollar' instead of my site's currency, how do I change that?
4. How do I change/add meta tags, keywords and the description of my site for SEO?
5. How do I give my site currency to another user using the ACP? Like, from the system?

I think that's about it. I may add more later as I go. Thank you everyone!
 
1. The icon is called a Favicon, and in order to change it you'll need to make your own (the dimensions are 16x16 pixels), and upload it to your site directory (main directory, not a subfolder). Once you've uploaded it rename it to favicon.ico
It won't change immediately, but in a little while it should.

2. I've noticed this as well but haven't looked into quite yet since I've been working on other things. I'm not sure how to call the setting put in for the cost itself (so far I've only managed to call the name of the currency), but you can manually change it like this:
Go into .../lang/lang_breeding.php and find the line that starts with $lang['money'], and replace it with this:
PHP:
$lang['money'] = "You currently have {$mysidia->user->getcash()} {$mysidia->settings->cost}, the cost of breeding is: 1000";
Then just change where it says 1000 to whatever the cost is. If there is no cost then you can simply delete the entire line.

3. Okay, now in the file ../lang/lang_trade.php find this line (around line 40):
PHP:
$lang['cash_offered'] = "The Mysidian dollar amount you wish to trade for this adoptable: ";
Replace it with:
PHP:
$lang['cash_offered'] = "The {$mysidia->settings->cost} amount you wish to trade for this adoptable: ";

4. Meta tags are added in the header.tpl file for your theme. Go into this file and under the first <head> tag add:
HTML:
<meta name="description" content="DESCRIPTION HERE">
<meta name="keywords" content="word1,word2,etc">
Just change where I indicated with the description and key words you want included.

5. You cannot change currency through the admin control panel, but fear not it is still possible, just a bit more work.
First go to your Host's control panel. Now find "phpMyAdmin," go to adopts_users, and find the user whose currency amount you'd like to change. Click "Edit" beside their username, and scroll down until you see "money" (it's the 2nd to last box), and change the value in the box that has their current amount of currency in it. Once you've changed it, press "go" and you're good to go :)

If you have any questions about any of that then feel free to ask!
 
If you look in the files there's a folder called "lang" and you go inside of it to find the lang files :)
 
The header.tpl file should be located inside your theme folder, which you can find by /templates/{$yourthemefolder}, and {$yourthemefolder} is the name of your theme such as main, green, elements, etc.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,130
Members
1,603
Latest member
Monako
BETA

Latest Threads

Latest Posts

Top