Download
(4 Kb)
Download
Updated: 04-06-10 07:45 AM
Pictures
File Info
Updated:04-06-10 07:45 AM
Created:unknown
Downloads:16,987
Favorites:132
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)


Archived Files (2)
File Name
Version
Size
Author
Date
0.7
4kB
Chrippa
12-17-09 01:36 PM
0.6
4kB
Chrippa
11-11-08 08:27 AM


Post A Reply Comment Options
Old 10-13-10, 08:07 AM  
faszi
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
is it possible to change the space between the buttons?
and what about 2 rows of buttons?
faszi is offline Report comment to moderator  
Reply With Quote
Old 09-13-10, 08:34 AM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 122
File comments: 318
Uploads: 15
Originally posted by bvcyp
Im using pMinimap and want to move the hole tidyminimap bar to the lower side of my screen. How can I do that?
in TidyMinimap settings.lua

change to

pos = 'BOTTOMRIGHT#Minimap#BOTTOMRIGHT#0#-60',
it worked with my Minimap addon. so it should be the same.
__________________
wMmap :: Is a lightweight Minimap, with a sleek look & custom imagery.
wIn1 :: In one addon. and is very lightweight & simple to use.
wChat :: Is a lightweight chat mod.
wPetXPBar :: Is A simple lightweight Pet XP Bar.
weasoug is offline Report comment to moderator  
Reply With Quote
Old 06-01-10, 08:22 AM  
bvcyp
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
Im using pMinimap and want to move the hole tidyminimap bar to the lower side of my screen. How can I do that?
bvcyp is offline Report comment to moderator  
Reply With Quote
Old 04-30-10, 12:24 PM  
Lord_Doom
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 9
Uploads: 1
[06:46:22] Interface\FrameXML\UIDropDownMenu.lua:693: DropDownList1:SetPoint(): Couldn't find region named 'TidyMinimapLeft'
(tail call): ?
[C]: ?
[C]: in function `SetPoint'
Interface\FrameXML\UIDropDownMenu.lua:693: in function `ToggleDropDownMenu'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>
I was also getting this error til I found out that there was some invisible map buttons/frames by using /tidy, so I added these to the skip part in settings.lua

Code:
['MiniMapLFGFrameDropDownButton'] = true,
['MiniMapBattlefieldDropDownButton'] = true,
['MiniMapTrackingDropDownButton'] = true,
Then the problem went away
Lord_Doom is offline Report comment to moderator  
Reply With Quote
Old 04-06-10, 07:47 AM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 5
Hello, I've uploaded an update that hopefully fixes this bug.
I'm not using this addon myself anymore so this fix is untested.

Originally posted by fru
First of all, thanks for this great addon! Exactly what i was looking for.

But i found a little bug trying to change the




setting to "false":
Chrippa is offline Report comment to moderator  
Reply With Quote
Old 04-04-10, 02:59 AM  
fru
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
First of all, thanks for this great addon! Exactly what i was looking for.

But i found a little bug trying to change the

borders = true,

setting to "false":

Message: Interface\AddOns\TidyMinimap\TidyMinimap.lua:69: bad argument #1 to 'strlower' (string expected, got nil)
Time: 04/04/10 10:52:52
Count: 5
Stack: [C]: ?
Interface\AddOns\TidyMinimap\TidyMinimap.lua:69: in function <Interface\AddOns\TidyMinimap\TidyMinimap.lua:66>
Interface\AddOns\TidyMinimap\TidyMinimap.lua:155: in function `updatePositions'
Interface\AddOns\TidyMinimap\TidyMinimap.lua:103: in function `scan'
Interface\AddOns\TidyMinimap\TidyMinimap.lua:112: in function <Interface\AddOns\TidyMinimap\TidyMinimap.lua:108>

Locals: (*temporary) = nil
(*temporary) = "string expected, got nil"
fru is offline Report comment to moderator  
Reply With Quote
Old 03-19-10, 10:02 PM  
iosephus
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Getting this to work with Gatherer and Auctioneer (enchantrix)

In order to get this to work with Gatherer and Auctioneer (enchantrix), you need to add the following to your Settings.lua in the "special" array:

['Gatherer_MinimapOptionsButton'] = true,

So the special array should look similar to this:

special = {
['OutfitterMinimapButton'] = true,
['BejeweledMinimapIcon'] = true,
['WIM3MinimapButton'] = true, ['Gatherer_MinimapOptionsButton'] = true,

}

Also, the only thing after the special array should be a closing bracket and a closing parenthesis. At least, that's how my file is set up.
iosephus is offline Report comment to moderator  
Reply With Quote
Old 12-09-09, 03:37 PM  
Sano
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 29
Uploads: 8
Re: HI

Originally posted by Lynx0
After patch 3.3 this no longer works for me.. is there an update coming?
Just replace GetFrameType() with GetObjextType() on line 61 in tidyminimap.lua
Sano is offline Report comment to moderator  
Reply With Quote
Old 12-09-09, 10:41 AM  
Lynx0
A Flamescale Wyrmkin
 
Lynx0's Avatar

Forum posts: 132
File comments: 52
Uploads: 0
HI

After patch 3.3 this no longer works for me.. is there an update coming?
Lynx0 is offline Report comment to moderator  
Reply With Quote
Old 01-07-09, 07:15 AM  
udiya
A Murloc Raider

Forum posts: 6
File comments: 15
Uploads: 0
Hello,

Is there a way to reposition the buttons for Gatherer and Auctioneer (enchantrix) ? I tried with "/tidy" but i got a message that the button does not have a name.

Thanks in advance.
udiya is offline Report comment to moderator  
Reply With Quote
Old 12-01-08, 04:48 AM  
Lacindas
An Aku'mai Servant

Forum posts: 33
File comments: 36
Uploads: 0
not sure if this is still being updated (i hope so) but ive been getting this error lately, not sure when it first started (its a tiny little arrow button that i click and it triggers the error, its stuck inbetween some of my minibuttons)

Code:
[06:46:22] Interface\FrameXML\UIDropDownMenu.lua:693: DropDownList1:SetPoint(): Couldn't find region named 'TidyMinimapLeft'
(tail call): ?
[C]: ?
[C]: in function `SetPoint'
Interface\FrameXML\UIDropDownMenu.lua:693: in function `ToggleDropDownMenu'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>
not even sure if its a tidy error or what that arrow button is for lol
any help is appreciated
cheers
Lacindas is offline Report comment to moderator  
Reply With Quote
Old 11-22-08, 10:38 PM  
Cacha
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
Originally posted by Pseudopod
Is it somehow possible to set the anchor to center so that if a new button is added, it will stay centered? Also how do I change spacing? When I change the anchor from topright to topleft and growth from left to right, the spacing between the buttons changes from a couple of pixels to don't know how, but anyways there's a much wider gap between the buttons depending on how I set the anchor & growth.

Edit My settings:
layout = {
pos = 'CENTER#UIParent#BOTTOM#-50#60',
anchor = 'topright',
grow = 'left',
scale = 0.9,
borders = true,
},

Somehow the x-position seems to change on its own (like 50 px, dunno if it's because some button disappears or appears, though I can't see why any would do that without changing the settings and within the same session). Any idea what's up with that?
same problem here >.< the buttons move left and i have no idea why its happening =(
Cacha is offline Report comment to moderator  
Reply With Quote
Old 11-10-08, 12:23 PM  
tattooedpierre
An Aku'mai Servant
 
tattooedpierre's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 95
Uploads: 4
Still working for me, still loving this addon .. so much simpler, smarter and neater than other 'tidy' addons I've see.
tattooedpierre is offline Report comment to moderator  
Reply With Quote
Old 11-09-08, 06:48 PM  
Spellshaper
A Murloc Raider
 
Spellshaper's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 70
Uploads: 3
Re: Re: TidyMinimap + Barrel

BTW: I dropped Chrippa a line. If he's still active (which I hope) and just doesn't want to update TidyMinimap, I told him I'd be glad to update it.

If he doesn't answer... I have to assume he left WoW..
which then means there will be a fanupdate.
__________________
"We shaman don't command the magic we wield. As mages and warlocks strain and sweat to produce a tiny flame, I ask for the elements to lend me their strength."
Spellshaper is offline Report comment to moderator  
Reply With Quote
Old 11-03-08, 05:08 PM  
Spellshaper
A Murloc Raider
 
Spellshaper's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 70
Uploads: 3
Re: TidyMinimap + Barrel

Still working post 3.0.

Originally posted by dranor
I'm having a little issue with Barrel and TidyMinimap, it seems that TM captures the buttons created by barrel but it doesn't reposition them correctly until you open a profession panel (like enchanting)

Also, how i can make TM place minimap icons in several rows?
I think I fixed the problem with the repositioning...
Sometimes, directly after logging in, TidyMinimap would gather up all minimap buttons, but some would not be repositioned until a ui reload.

Open TidyMinimap.lua and scroll to the very end, you should see a line like this:
Code:
self:RegisterEvent'ADDON_LOADED'
Press enter to insert a new line, and type:
Code:
self:RegisterEvent'PLAYER_LOGIN'
Worked for me. Feedback?
__________________
"We shaman don't command the magic we wield. As mages and warlocks strain and sweat to produce a tiny flame, I ask for the elements to lend me their strength."
Last edited by Spellshaper : 11-03-08 at 05:09 PM.
Spellshaper is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: