DF_Key_BC

Addons for WoWRosterDF

DF_Key_BC

Postby Anaxent » Sat Feb 17, 2007 6:24 am

Updated the Key_bc to work in DF.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

DF_Key_BC

Postby robojerk » Sun Feb 18, 2007 2:11 am

Fix the localization with this fix (horde only) and rename Hotter than Hell correctly for both factions..
Last edited by robojerk on Sun Feb 18, 2007 2:23 am, edited 5 times in total.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

DF_Key_BC

Postby Anaxent » Sun Feb 18, 2007 2:23 am

Nothing same one im using here but wanted all users using rosterdf to get there addons from the converted addon area so to make sure it works I have added a .0 tot here version and DF_ to there name.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

DF_Key_BC

Postby robojerk » Sun Feb 18, 2007 2:24 am

heh, I removed by question after you answered it.. I compared the files and saw they were the same...
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

DF_Key_BC

Postby robojerk » Sun Feb 18, 2007 2:31 am

The EnUS localization fix needs to be applied if you have downloaded and installed this addon already and if your guild speaks english.
Last edited by robojerk on Sun Feb 18, 2007 2:34 am, edited 1 time in total.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

DF_Key_BC

Postby Oobidah » Tue Feb 27, 2007 7:28 pm

Anyone know why some of the Key images arent displaying?
Oobidah
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Mon Dec 18, 2006 9:43 am

Re: DF_Key_BC

Postby robojerk » Tue Feb 27, 2007 7:32 pm

Oobidah wrote:Anyone know why some of the Key images arent displaying?


The localization is messed up..

If you view the normal Key_BC forum there are fixes for both horde, alliance, and lockpicking.

Here's the Horde EnUS fix for localisation, there is a lockpicking fix somewhere on these forums.

Also you need to rename Hotter then Hell to Hotter than Hell.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

DF_Key_BC

Postby Karavirs » Fri Mar 16, 2007 5:53 pm

Version 0.4 works fine with WoWRosterDF with the following

change line 377 of membersinstBC.php to
Code: Select all
   print '<a href="index.php?name=WoWRosterDF&amp;file=char&amp;cname='.$row['name'].'&amp;server='.$roster_conf['server_name'].'">'.$row['name'].'</a><br />'.$row['class'].' ('.$row['level'].')</td>'."\n";
Image

Image
User avatar
Karavirs
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Mon Feb 26, 2007 6:33 pm
Location: Chicago

Re: DF_Key_BC

Postby Sylna » Tue Mar 27, 2007 10:45 pm

I just testet and 0.4 works fine with your little change, thanks Karavirs.
But i just discovered a localisation error.

The $inst_name-array is only one-dimensional and not differenced by locale-setting, so it depends on the include-order in localization.php which coloum-names you will get. In the "official"-download of the addon the enUS.php is loaded last, so you will always get the english header, no matter what names are set in the other locals.

in the enUS.php for example you will find:
Code: Select all
$inst_name['SL']="Laby.";
$inst_name['SH']="Halls";
$inst_name['Arcatraz']="Arcatraz";
$inst_name['Kara']="Kara";
$inst_name['HA']="H Laby";
$inst_name['HHC']="H Halls";
$inst_name['HCR']="H Reser.";
$inst_name['HTK']="H Temp.";
$inst_name['HCoT']="H CoT";
$inst_name['TK']="Tempete";


but it has to be:
Code: Select all
$inst_name['enUS']['SL']="Laby.";
$inst_name['enUS']['SH']="Halls";
$inst_name['enUS']['Arcatraz']="Arcatraz";
$inst_name['enUS']['Kara']="Kara";
$inst_name['enUS']['HA']="H Laby";
$inst_name['enUS']['HHC']="H Halls";
$inst_name['enUS']['HCR']="H Reser.";
$inst_name['enUS']['HTK']="H Temp.";
$inst_name['enUS']['HCoT']="H CoT";
$inst_name['enUS']['TK']="Tempete";


of course the same way for the other locals.....

To reflect this change in the memberinstBC.php you have to change line 61 to:
Code: Select all
$header = '<a href="'.$itemlink[$row['clientLocale']].urlencode(utf8_decode(stripslashes($iname))).'" target="_blank">'.$inst_name[$roster_conf['roster_lang']][$header].'</a>';


Now, the column-headers get localized as it should be.

Sorry for my bad english, but i hope you got the plot.
Sylna
 


Return to WoWRosterDF Addons

Who is online

Users browsing this forum: No registered users and 1 guest

cron