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 62
File Updated 21-03-2011
File Updated 21-03-2011
Comments
#17
21-03-2011
Ok, I have it working with ENGLISH strings.....
Here are the edits for pro-Portal file....:
$l['reign1'] = "Less than a day";
$l['reign2'] = " Day.";
$l['reign3'] = " Days.";
Attached is edited block.....I have no idea if it will work in Persian though.
Sorry - added wrong file first time
What I really need is to define the lang file IN the block, so we don't need to edit the main language file. Will go and look at that. Thanks for the tip re non-compatibility with language packs - I had not thought of that.
Here are the edits for pro-Portal file....:
$l['reign1'] = "Less than a day";
$l['reign2'] = " Day.";
$l['reign3'] = " Days.";
Attached is edited block.....I have no idea if it will work in Persian though.
Sorry - added wrong file first time
What I really need is to define the lang file IN the block, so we don't need to edit the main language file. Will go and look at that. Thanks for the tip re non-compatibility with language packs - I had not thought of that.
The site don't jive? PRESS F5
#18
21-03-2011
yeahhhhhhh
i got it work too
i had variable like----->>>>> $l['1_Day'] = "یک روز"; in my proportal.lang
and $reign =$lang->1_Day;
by removing "1_"
it works now
i have no idea why "1_" made problem
but now im happy
thank you so much
if you want i can send my file to you
i got it work too
i had variable like----->>>>> $l['1_Day'] = "یک روز"; in my proportal.lang
and $reign =$lang->1_Day;
by removing "1_"
it works now
i have no idea why "1_" made problem
but now im happy
thank you so much
if you want i can send my file to you