by lebeshantur » Wed Oct 04, 2006 6:12 pm
Here is what I did and it works. Your mileage may vary
1. Make a copy of the guildbank directory and named it alliancebank in the addons directory.
2. Add a field to the roster_config table using phpmyadmin to hold the alliance bank toon name
a. Select the roster_config table
b. Select the insert tab
c. Id = 9021
d. Config_name = alliance_bankertoon
e. Config_value = AllianceBankToon
f. Form_type = text{50|30
g. Config_type = guildbank_conf
h. Click Go
3. Search and replace all occurrences of banker_rankname in the gbank.php file with alliance_bankertoon
4. In menu.php change $config['menu_name'] = 'Categorised GuildBank'; to $config['menu_name'] = 'Categorised AllianceBank';
5. In menu.php change $config['menu_index_file'][0][1] = $wordings[$roster_conf['roster_lang']]['guildbank']; //menu link text to $config['menu_index_file'][0][1] = "AllianceBank"; //menu link text
On #5 I couldn’t figure out where to put another constant for this so I hard coded it. It would be great if your guys could post a line change for this that would be more elegant.
Also this does add a space in the roster config to change the alliance bank toon name at your whim. That field doesn’t have a label although it is intuitive what the purpose is.
Last edited by
lebeshantur on Wed Oct 04, 2006 6:15 pm, edited 2 times in total.