Multiple Instances of Guild Bank on same roster

Categorizes items in your guildbank(s)

Moderator: Mathos

Multiple Instances of Guild Bank on same roster

Postby lebeshantur » Tue Oct 03, 2006 9:07 pm

I searched and didnt find an answer to this question.

I'm running 1.7 and categorized guild bank.

We have a guild bank which is flawless, big time kudos to the dev team.

We also have alliance raiding bank toons that hold raid loot that belong to all the guilds that make up our raiding alliance.

How can I maintain a guildbank tab functioning as it is for our own guild and then have an alliancebank tab of toons in our guild that keep track of our raiding alliance loot?

What precisely would need to be edited to make this work?

Thanks tons,

Lebeshantur
Last edited by lebeshantur on Tue Oct 03, 2006 11:42 pm, edited 1 time in total.
lebeshantur
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Tue Jul 25, 2006 10:41 pm

Multiple Instances of Guild Bank on same roster

Postby 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.
lebeshantur
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Tue Jul 25, 2006 10:41 pm

Multiple Instances of Guild Bank on same roster

Postby zanix » Wed Oct 04, 2006 9:23 pm

Try this file

addons/guildbank/localization.php
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Categorized Guild Bank

Who is online

Users browsing this forum: No registered users and 0 guests

cron