This is a custom block for Pro_Portal. It shows the last 4 champions from the game section, the game they are champion of and for how long.
Features:
Link to to the Game that the member is Champion of
Link to Champion's Profile.
Avatars are scaled in the PHP. No css tricks.
A custom language file to easily change to your board language
Installation:
Open the folder and upload to your server
Put the block file with the rest of the pro_portal blocks.
Put the lang.php file in the correct language folder
Languages Included:
english
persian
Link to test board >> http://www.leefish.nl/testfish/portal.php I put the language to Persian on this block so you can see it.
Special Thanks
h0mayun for having the idea for the custom language file
Features:
Link to to the Game that the member is Champion of
Link to Champion's Profile.
Avatars are scaled in the PHP. No css tricks.
A custom language file to easily change to your board language
Installation:
Open the folder and upload to your server
Put the block file with the rest of the pro_portal blocks.
Put the lang.php file in the correct language folder
Languages Included:
english
persian
Link to test board >> http://www.leefish.nl/testfish/portal.php I put the language to Persian on this block so you can see it.
Special Thanks
h0mayun for having the idea for the custom language file
Filesize 3.6 KB |
File Name latest_champs_on_Pro_portal.rar | # of Downloads 64
File Updated 21-03-2011
File Updated 21-03-2011
Comments
#3
21-03-2011
hi leefish
tnx for file
just one question
when i want transtale word lake for example "Date" to ma language (persian),it shows "???????"
how can i fix that
propably i should to made file UTF but i cant
i searched everywhere and found nothing
do you know how to fix it?
tnx for file
just one question
when i want transtale word lake for example "Date" to ma language (persian),it shows "???????"
how can i fix that
propably i should to made file UTF but i cant
i searched everywhere and found nothing
do you know how to fix it?
#4
21-03-2011
Its because they are strings - there is one for less than one day, one for 1 day and one for multiple days. Its the code below. IF you do manage to make a Persian translation can I have a copy and include it in the upload?
If you open the file in Notepad++ you can change the word 'Days' into another word.
PHP Code:
if ($reign < 1)
{
$reign ="Less than a day";
}
else if ($reign < 2)
{
$reign = '1 Day';
}
else
{
$reign = round($reign).' Days';
}
If you open the file in Notepad++ you can change the word 'Days' into another word.
The site don't jive? PRESS F5