Download
(4Kb)
Download
Updated: 04-06-10 07:45 AM
Pictures
File Info
Updated:04-06-10 07:45 AM
Created:unknown
Downloads:20,293
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 06-18-07, 03:23 PM  
PurpleWedgie
An Aku'mai Servant

Forum posts: 33
File comments: 26
Uploads: 0
Very nice mod, I've been looking for just this functionality. Thank you for the coding effort!
Report comment to moderator  
Reply With Quote
Unread 06-18-07, 03:59 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
buttons hidden

The TidyMiniMap buttons are covered up by the top FuBar.

How would I move them to, say, under the MiniMap?

If the buttons are positioned under the minimap, I don't want to move the minimap down. Also, I have the MiniMap title bar (zone name) removed using RecZoneFu, so I don't want to move the minimap down again for that.
Last edited by Jaim Sandar : 06-18-07 at 04:11 PM.
Report comment to moderator  
Reply With Quote
Unread 06-18-07, 04:41 PM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 6
Re: buttons hidden

Originally posted by Jaim Sandar
The TidyMiniMap buttons are covered up by the top FuBar.

How would I move them to, say, under the MiniMap?

If the buttons are positioned under the minimap, I don't want to move the minimap down. Also, I have the MiniMap title bar (zone name) removed using RecZoneFu, so I don't want to move the minimap down again for that.
To put the buttons under the minimap instead you could try changing the 'pos' variable in settings to 'TOPRIGHT#MinimapCluster#BOTTOMRIGHT#0#0'. The numbers are x and y coordinates, try upping or lowering them if it doesn't fit.
There is a setting to disable the moving of the minimap, just change the 'nudgeminimap' variable to false.
Last edited by Chrippa : 06-18-07 at 04:45 PM.
Report comment to moderator  
Reply With Quote
Unread 06-18-07, 05:59 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
Thank you, I 'll try that tonight.

Several hours later:
That made the changes I wanted, thanks.

Now when I have time I need to figure out how to add other buttons to Tidy, since the only one there now is TrinketMenu. I see it in the code... just have to experiment, I guess.

Thank you.
Last edited by Jaim Sandar : 06-19-07 at 01:03 PM.
Report comment to moderator  
Reply With Quote
Unread 06-19-07, 07:02 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 Jaim Sandar
Now when I have time I need to figure out how to add other buttons to Tidy, since the only one there now is TrinketMenu. I see it in the code... just have to experiment, I guess.

Thank you.
Hmm, it's supposed to pick up any buttons automaticly, what addons are not working?
Report comment to moderator  
Reply With Quote
Unread 06-20-07, 11:08 AM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
I'm not able to confirm at this time, but I think one of my clients is only showing TrinketMenu and SmartBuff in the Tidy bar, and another shows TrinketMenu, SmartBuff, TrainerSkills, and XCalc. TrainerSkills and XCalc aren't installed on the first client.

As I remember, some of the buttons that are staying around the minimap, and not moving to the Tidy bar, are:
Atlas, Fishing Buddy, CensusPlus, and Outfitter.
I'll test some more buttons when I get a chance.

FYI: Prior to trying TidyMiniMap I was using MiniMapButtonBag http://wowui.incgamers.com/ui.php?id=3423
(fan update http://wowui.incgamers.com/ui.php?id=4532)
which I really liked, except it always showed errors when the cursor was moved over the minimap. Everything still worked, but the errors are a nuisance. It has an easy way to move buttons back and forth between the button bag and the minimap. Not all buttons can move to the bag, but very few do not.

EDIT:
In case you had trouble finding the answer to your question in all that, here is the answer again:
The buttons that aren't "picked up automatically" (so far) are:
Atlas, Fishing Buddy, CensusPlus, and Outfitter.
Last edited by Jaim Sandar : 06-21-07 at 11:42 AM.
Report comment to moderator  
Reply With Quote
Unread 06-22-07, 11:18 AM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 6
Try out the new version (0.2) when it's been approved by the admins. It will make it easier to add buttons that are not automaticly picked up.
Report comment to moderator  
Reply With Quote
Unread 06-22-07, 11:37 AM  
Jesamyn
<This Space for Rent>
 
Jesamyn's Avatar

Forum posts: 141
File comments: 82
Uploads: 0
Oh, perfect! I do like Fubar, but I had some 'spare' plugins for it that I didn't want on a regular panel. Since I can show them on the minimap instead, this will do wonderfully. Thanks.
__________________
I'm not an idiot. I'm just harmlessly psychotic.
Report comment to moderator  
Reply With Quote
Unread 06-22-07, 06:03 PM  
Geboran
A Rage Talon Dragon Guard

Forum posts: 308
File comments: 34
Uploads: 0
Had an error when I tried hovering and typing /tidy over the CT2 button:

[2007/06/22 18:00:48-379-x22]: TidyMinimap\TidyMinimap.lua:123: bad argument #1 to 'format' (string expected, got nil)
TidyMinimap\TidyMinimap.lua:123: in function `?'
Interface\FrameXML\ChatFrame.lua:3369: in function <Interface\FrameXML\ChatFrame.lua:3331>:
<in C code>: ?
<in C code>: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3098: in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:3119: in function `ChatEdit_OnEnterPressed':
<string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>
__________________
------------------------------------------
Geboran - Level 70 Paladin
<Evolution>
Stormreaver (US), Alliance
Report comment to moderator  
Reply With Quote
Unread 06-22-07, 07:47 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 10860
File comments: 687
Uploads: 33
Interesting, different alternative to movable map buttons and the button bag.

Originally posted by Geboran
Had an error when I tried hovering and typing /tidy over the CT2 button:

[2007/06/22 18:00:48-379-x22]: TidyMinimap\TidyMinimap.lua:123: bad argument #1 to 'format' (string expected, got nil)
TidyMinimap\TidyMinimap.lua:123: in function `?'
Interface\FrameXML\ChatFrame.lua:3369: in function <Interface\FrameXML\ChatFrame.lua:3331>:
<in C code>: ?
<in C code>: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3098: in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:3119: in function `ChatEdit_OnEnterPressed':
<string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>
If I recall correctly, the CT2 button does not have a name, which is why it couldn't be placed in the MinimapButtonBag, either.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

[SIGPIC][/SIGPIC]
Report comment to moderator  
Reply With Quote
Unread 06-23-07, 02:00 AM  
woowoowoo
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 30
Uploads: 1
I found this little CT2 fix on the MinimapButtonBag page at curse-gaming.

You have to 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 change that, just add ['CTMod2_MinimapButton'] = true, to your settings.
CTRA also doesn't seem to be picked up by this mod either, problaby the same issue.
Report comment to moderator  
Reply With Quote
Unread 06-23-07, 02:14 PM  
tattooedpierre
An Aku'mai Servant
 
tattooedpierre's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 95
Uploads: 4
Absolute genius! Well done for this! Fixes a problem I've been suffering for a while now
Report comment to moderator  
Reply With Quote
Unread 07-21-07, 07:21 PM  
BlackZam
A Murloc Raider

Forum posts: 7
File comments: 51
Uploads: 0
above the minimap

Can I put the buttons above the minimap?
If so, how?
Other then that this is a really nice addon.

---
Used the settings from 0.2 and got the buttons where I wanted them.
But now I want to nudge the buffs and debuffs.... :/
Last edited by BlackZam : 07-21-07 at 07:36 PM.
Report comment to moderator  
Reply With Quote
Unread 07-21-07, 08:31 PM  
Severin
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Excellent mod, love it and have a suggestion/request.

I was wondering if you could add a way to reorder the buttons...currently it appears they get put in alphabetical order from right to left. I would like the ability to reorder them however I choose.

Thanks again for the great mod!
Report comment to moderator  
Reply With Quote
Unread 08-20-07, 02:07 PM  
scotteh
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: