Removing the Cat. Guild Bank button

Categorizes items in your guildbank(s)

Moderator: Mathos

Removing the Cat. Guild Bank button

Postby Jaax » Mon Apr 16, 2007 4:30 pm

I was curious how I would go about removing the CGB button from the Addon's list?

I would like to keep the addon but I would prefer link to that portion of my roster seperately. To explain, I am creating a guild website and have a link for Guild Roster and a link for Guild Bank, just to make it easier to find by guild members. (I'm constantly being amazed at guild members being unable to find things unless they are quite literally in plain sight.)

Obviously I don't NEED to remove the button, I'm just curious if its possible and how I could do it. :thumright:
User avatar
Jaax
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Tue Aug 08, 2006 11:21 am

Removing the Cat. Guild Bank button

Postby PleegWat » Mon Apr 16, 2007 6:50 pm

You need to remove these two lines in the addon's menu.php

Code: Select all
$config['menu_index_file'][0][0] = ''//request query variables delimited by &
$config['menu_index_file'][0][1] = $wordings[$roster_conf['roster_lang']]['guildbank']; //menu link text
 
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: Removing the Cat. Guild Bank button

Postby Jaax » Tue Apr 17, 2007 12:01 pm

Awesome, thank you! =)

Is it just as easy to remove the entire menu top menu (except the banner of course)?

For instance:
If I were to go to www.website.com/roster/index.php I would see the entire roster, menu and all.

But if I were to go to www.website.com/roster/addon.php?roster_addon_name=guildbank it would only show the header banner, guildbank characters, filter guildbank and the actual contents of the bank - but no menu?
Last edited by Jaax on Tue Apr 17, 2007 12:17 pm, edited 2 times in total.
User avatar
Jaax
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Tue Aug 08, 2006 11:21 am

Removing the Cat. Guild Bank button

Postby zanix » Tue Apr 17, 2007 2:14 pm

You can remove the menu in any addon by adding some code

Add this anywhere in the code of the addon
(probably index.php or conf.php)
Code: Select all
$roster_show_menu = false;
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Removing the Cat. Guild Bank button

Postby Jaax » Tue Apr 17, 2007 2:30 pm

zanix wrote:You can remove the menu in any addon by adding some code

Add this anywhere in the code of the addon
(probably index.php or conf.php)
Code: Select all
$roster_show_menu = false;


Wow... that was ridiculously simple!! Thank you so much for your help, I really appreciate it =)
User avatar
Jaax
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Tue Aug 08, 2006 11:21 am


Return to Categorized Guild Bank

Who is online

Users browsing this forum: No registered users and 0 guests

cron