Download
(4Kb)
Download
Updated: 04-06-10 07:45 AM
Pictures
File Info
Updated:04-06-10 07:45 AM
Created:unknown
Downloads:20,351
Favorites:128
MD5:

TidyMinimap  Popular! (More than 5000 hits)

Version: 0.8
by: Chrippa [More]

TidyMinimap is a small addon that will tidy your minimap by moving all the custom buttons into it's own frame. I wrote this addon because I wanted similar functionality as FuBar plugins but without FuBar.

There is no in-game configuration, all settings are in the Settings.lua file to keep it simple.

There is a slash command (/tidy) that gives you the name of the minimap button you're currently hovering with your mouse. Use this to add buttons that are not automatically picked up to the Settings.lua.

When upgrading, don't overwrite Settings.lua if you want to keep your old settings.



Workaround for the CT minimap buttons (thanks to woowoowoo):
Edit the CT_Core\CT_Core.lua file and change line 112 from:
minimapFrame = module:getFrame(minimapFrameSkeleton);
to
minimapFrame = module:getFrame(minimapFrameSkeleton, nil, "CTMod2_MinimapButton");

Once you changed that, just add ['CTMod2_MinimapButton'] = true, to your settings.

0.8 (2010-04-04):
- Fixed a bug that broke TidyMinimap when trying to hide borders.


0.7 (2009-12-14):
- Updated for patch 3.3.
- Replaced deprecated :GetFrameType() call with :GetObjectType()


0.6 (2008-11-11):
- Fixed bug introduced in 0.5.
- Added slash commands suggested by Spellshaper:

scan: Force TidyMinimap to look for minimap buttons
name: Prints the name of the frame you're currently hovering

Use with '/tidy command'.
If no command is specified it defaults to the 'name' command.


0.5 (2008-11-10):
- Updated TOC for patch 3.0.
- Improved button scanning once again.


0.4 (2008-07-20):
- Updated with fixes for patch 2.4.3.
- Hiding borders are now optional, defaults to false.


0.3 (2007-07-22):
- Rewrote most of the code to make it easier to read and more
efficient.

- Should pick up more buttons. Though, still haven't figured out
a way to pick up the CT addon buttons. They are technically not
minimap buttons (doesn't have the minimap set as their parent).

- Now supports minimap buttons created by addons loaded on demand.

- Moved the frame to bottom of the minimap and turned off nudge in
the default settings.


0.2 (2007-06-22):
- Split the config from the main file (when upgrading, make backup
from the old file if you're not using default settings).

- Added a slash command. Type /tidy when hovering a minimap button
that is not moved correctly, it will display it's name to be put
into the config file.


0.1 (2007-06-18):
- First release.
Optional Files (0)


Post A Reply Comment Options
Unread 08-24-07, 02:22 PM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 6
Originally posted by scotteh
I'm having problems running this at the same time as FuBar. I went through all my addon's and as soon as i disabled FuBar it worked fine for Ace minimap buttons along with the SWStats icon. If FuBar was enabled only the SWStats icon would appear.
Working as intended. FuBar plugins only acts as minimap buttons if FuBar does not exists, or if you specificly set the plugin to be a minimap button in it's configuration.
Last edited by Chrippa : 08-24-07 at 02:22 PM.
Report comment to moderator  
Reply With Quote
Unread 08-28-07, 09:54 AM  
scotteh
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
What i mean is - when they're attached to the Minimap, they will stay attached there even when the mod is configured to move them. I've gone over my configuration a few times and i'm sure its correct.
Report comment to moderator  
Reply With Quote
Unread 08-31-07, 07:12 AM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 6
Originally posted by scotteh
What i mean is - when they're attached to the Minimap, they will stay attached there even when the mod is configured to move them. I've gone over my configuration a few times and i'm sure its correct.
Try reloading your UI after you set the plugin to attach to the minimap.
Report comment to moderator  
Reply With Quote
Unread 09-03-07, 11:23 AM  
Sythalin
Curse staff
 
Sythalin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 680
File comments: 373
Uploads: 15
Works great in theory. Doesn't actually pick up buttons when you manually add them, it misplaces the bar when you add buttons, and moves the incorrect buttons altogether.

For example:
Code:
		['WoWKB_MiniMapButton'] = true,
		['RecipeRadarMinimapButton'] = true,
		['LfgxButton'] = true,
Added those to the list. The result? LFGX button moved, other 2 stayed in place.
Added 'CECBMiniMapButton', resulting in LFGX and and WoWKB buttons being moved, rest stayed in place.
Removed CECB and kept the rest, WoWKB moved back to a minimap button and LFGX was the only thing remaining. RecipeRadar didn't move at all.

Plus, it moved from being docked at the bottom to being docked at the upperleft of the minimap progressing to the left.

Not sure how well this thing was tested, but it screws things up more than it helps. Sorry. The concept is sound if you can work the bugs out.

EDIT: NM, I see this isn't compatible with FuBar installed from the previous posts. You should really put a note in for that.
Last edited by Sythalin : 09-03-07 at 11:26 AM.
Report comment to moderator  
Reply With Quote
Unread 10-04-07, 08:17 PM  
Rockxlee
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
buttons move to middle of screen after zoning out of bg

my mini buttons move to the middle of the screen after a bg game. Anyone else having this problem?
Report comment to moderator  
Reply With Quote
Unread 10-11-07, 08:48 AM  
redwolf
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I have the same problem. Sometimes when I zone (Into an instance or BG) some, not all of my minimap buttons will move to the left. I think this is a problem with the trinity bars minimap button tho
Report comment to moderator  
Reply With Quote
Unread 10-25-07, 11:00 AM  
Speeddymon
A Murloc Raider

Forum posts: 7
File comments: 24
Uploads: 0
If your buttons are moving to somewhere on the minimap, it is most likely due to that addon's builtin positioning code. MobInfo-2 (the version that is current as of this posting) does the same thing when you open the options and click on one of the tabs. I reported the issue to the author for MI2, and he will fix it in the next version. The simple solution is to edit the settings for TidyMinimap and add the top minimap button of the group that is moved to the ignore section.

Point your mouse at that top button and then type /script GetMouseFocus():GetName()

Whatever is printed in the chat window is what you need to put in the settings.lua file.
Report comment to moderator  
Reply With Quote
Unread 10-25-07, 11:02 AM  
Speeddymon
A Murloc Raider

Forum posts: 7
File comments: 24
Uploads: 0
Originally posted by Izadore
Works great in theory. Doesn't actually pick up buttons when you manually add them, it misplaces the bar when you add buttons, and moves the incorrect buttons altogether.

For example:
Code:
		['WoWKB_MiniMapButton'] = true,
		['RecipeRadarMinimapButton'] = true,
		['LfgxButton'] = true,
Added those to the list. The result? LFGX button moved, other 2 stayed in place.
Added 'CECBMiniMapButton', resulting in LFGX and and WoWKB buttons being moved, rest stayed in place.
Removed CECB and kept the rest, WoWKB moved back to a minimap button and LFGX was the only thing remaining. RecipeRadar didn't move at all.

Plus, it moved from being docked at the bottom to being docked at the upperleft of the minimap progressing to the left.

Not sure how well this thing was tested, but it screws things up more than it helps. Sorry. The concept is sound if you can work the bugs out.

EDIT: NM, I see this isn't compatible with FuBar installed from the previous posts. You should really put a note in for that.
Perhaps you should try updating to FuBar 3.0 from wowace.com. Then if that doesn't fix it, use GetMouseFocus():GetName() to find out the real name of the button's frame and grab that instead.
Report comment to moderator  
Reply With Quote
Unread 06-14-08, 10:23 AM  
Caffeine
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
The Battleground icon is redrawn on the minimap whenever the UPDATE_BATTLEFIELD_STATUS event is fired. Adding self:RegisterEvent('UPDATE_BATTLEFIELD_STATUS') to the enable method fixes that for me.
Report comment to moderator  
Reply With Quote
Unread 07-15-08, 06:37 PM  
Cope
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Error after 2.4.3

Receiving following error after patch and tidyminimap is no longer picking up some minimap buttons.

Date: 2008-07-15 16:55:45
ID: 51
Error occured in: Global
Count: 8
Message: ..\AddOns\TidyMinimap\TidyMinimap.lua line 129:
attempt to call method 'GetTexture' (a nil value)
Debug:
[C]: GetTexture()
TidyMinimap\TidyMinimap.lua:129: updatePositions()
TidyMinimap\TidyMinimap.lua:81: scan()
TidyMinimap\TidyMinimap.lua:89:
TidyMinimap\TidyMinimap.lua:85
Report comment to moderator  
Reply With Quote
Unread 07-16-08, 03:40 AM  
tattooedpierre
An Aku'mai Servant
 
tattooedpierre's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 95
Uploads: 4
In settings.lua add an entry to ignore the new ClockUI:

'['TimeManagerClockButton'] = true,

.. under the section to ignore things (like Mail and BG indicator). For me, this fixed the 2.4.3 errors I got.

Also, someone had said earlier about using a script to identify buttons.. you dont need to do this. The addon has a built-in slash command '/tidy' to identify buttons you're hovering over.
Last edited by tattooedpierre : 07-16-08 at 05:14 AM.
Report comment to moderator  
Reply With Quote
Unread 07-20-08, 11:09 AM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 6
Thank you

Thanks for your bug reports. I have now uploaded a 2.4.3 compatible release.
Report comment to moderator  
Reply With Quote
Unread 07-20-08, 01:10 PM  
zieglar
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Is nice addon.
I have some question with TidyMinimap's layout

If I want like this to grow button
b |-
o ||
r ||
d ||
e |v
r |

I should be how to modify in Settings.lua?
thank you.
Report comment to moderator  
Reply With Quote
Unread 07-20-08, 01:43 PM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 6
Originally posted by zieglar
Is nice addon.
I have some question with TidyMinimap's layout

If I want like this to grow button
b |-
o ||
r ||
d ||
e |v
r |

I should be how to modify in Settings.lua?
thank you.
I'm not sure I understand what you mean, do you want to the buttons to grow down instead of left? If so changing the 'grow' setting in the Settings.lua file to 'down' instead of 'left' should do the trick.
Report comment to moderator  
Reply With Quote
Unread 07-20-08, 07:45 PM  
zieglar
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Originally posted by Chrippa
I'm not sure I understand what you mean, do you want to the buttons to grow down instead of left? If so changing the 'grow' setting in the Settings.lua file to 'down' instead of 'left' should do the trick.
Sorry , My english is pool .
Thank you for your addon and answer.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: