jimmytubbs Posted March 18, 2008 Posted March 18, 2008 hi i want to change the currency on my game from dollars $ to pounds £ any help cheers jimmytubbs Quote
-Matt- Posted March 18, 2008 Posted March 18, 2008 Re: Money on my game Yea go edit all the page's changing $ to £ ;) Quote
Haunted Dawg Posted March 18, 2008 Posted March 18, 2008 Re: Money on my game Not Really matt. All you do is go to global_func.php and at the top should be function money_formatter($mony,$sign = "$") Just change the $ to the pound one. Quote
WickedJester Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game unless they are referring to the donations page, then you would need to look through the donator.php and the willpotion.php and change where it says usdollar to whatever you want it to be, but thats just assuming it wasnt meant to refer to game money Quote
The Ace Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game I also wanted to change my currency to the £. So I changed it in the global_func.php But it doesn't change the symbol in the bank, or stats page, or shops, etc. How can I change it there? Quote
Guest Anonymous Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game Yea go edit all the page's changing $ to £ ;) Says it all really - Why do the easy way when there is a nice hard way... ;) Quote
-Matt- Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game Lol i would do that just go on a page click CTRL + H and then edit it. Quote
The Ace Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game Thanks....but I can't seem to change it in HoF....I can't find the \$ to change it to a £! lol Quote
-Matt- Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game Do it the old fashion way :p Quote
The Ace Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game What's the old fashion way? (Soz...I'm a noob!) lol Quote
-Matt- Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game Go on the file and edit $ to £ :P or use CTRL + H Quote
Godhand Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game Heh its been a while since I messed with the outline settings change... isn't it in like header.php? :-) I can't be bothered to look for it... heh. Quote
The Ace Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game I have done that throughout my game...but I can't seem to do it on the HoF. Here is the money part of my HoF: function hof_money() { global $db,$ir,$c,$userid, $myf; print "Showing the 20 users with the highest amount of money <table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Money</th><th>Status</th> </tr>"; $q=$db->query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.user_level != 2 AND user_level != 0 $myf ORDER BY money DESC,userid ASC LIMIT 20"); $p=0; while($r=$db->fetch_row($q)) { $p++; if($r['userid'] == $userid) { $t="[b]";$et="[/b]"; } else { $t="";$et=""; } Where do I change it? lol :) Quote
Godhand Posted March 20, 2008 Posted March 20, 2008 Re: Money on my game You've tried your money formatter function already? Also checking like shops.php or bank.php you will probably have to manually do without a mass update. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.