Download
(405 Kb)
Download
Updated: 11-10-13 05:17 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:11-10-13 05:17 PM
Created:unknown
Downloads:548,892
Favorites:1,058
MD5:
5.4
Minimap Button Frame  Popular! (More than 5000 hits)
Version: 3.1.10c
by: Bachlott [More]
This little addon will gather up all of your addon minimap buttons and put them into a movable frame.

Features

- Minimap Button Skinning (Square Minimap Buttons)
- Add or Remove almost any minimap button
- Multiple Sorting Options - Including Custom!
- Collection of Blizzard Buttons
- Collect only the buttons you want
- Background Color can be changed from the config screen
- Hide most of the Blizzard Minimap Icons
- LDB Support
- Key Bindings
- Profile Support
- Basic Localization in English, Spanish, French, German, Korean, Russian, and Chinese (Simplified and Traditional)

Future Features

- Full LDB version of MBF

Known Issues

Metamap minimap button is incompatable due to the way it is handled in the addon.

The addon does not grab button that do not have a name currently.

Currently discovered addons that are this way are:

Enchantrix (Part of Auctioneer Advanced)
onRaid

The Blizzard buttons that only show up under certain conditions, (battleground, LFG) will only display on the Frame when they are shown normally and active scanning is enabled. Otherwise they will apprear on the minimap when they are shown.

The Add feature is a little more powerful than I originally expected. So you can accidentally grab things that you didn't expect to be able to. (Other Addons) I've tried to protect the blizzard interface features and a couple other things, but let me know if you can grab something that you don't think you should be able to. If you do accidentally add something to the bag you can always remove it.

I've added a lot to the Localization, so it's another quick and dirty, horrible translation. Thanks again for the crazyness Google. So if you can do a better translation please help me out and submit it to me so I can add it to MBF. Hopefully Google didn't make them too funny or offensive.

Note:

The ability to add minimap icons to the table can be a general or partial name of the icons. The button override table add should be the exact name of the button that you want to override and collect.

As always your feedback is more than welcome!
3.1.10b
- Update - Toc updated to 50400

3.1.10b
- Fixed - Fixed unable to move bug

3.1.10
- Update - Toc updated to 50100
- Update - Code changes to fix a conflict with another addon using MBF in it's code
- Change - Changed MBF from global to a local. Got changed by accident at some point

3.1.9
- Update - Fixed Issue with the Queue Status button not behaving like other Blizz buttons
- Update - Fixed issue with buttons not having border restored upon removal
- New - Added option to exclude the Queue Status button from being gathered

3.1.8
- Update - Added a size check to gathering
- Update - Toc updated to 50001
Archived Files (2)
File Name
Version
Size
Author
Date
3.1.10b
405kB
Bachlott
12-30-12 07:31 PM
3.1.10
405kB
Bachlott
12-28-12 11:49 AM


Post A Reply Comment Options
Old 06-18-09, 04:29 AM  
Elariah
Premium Member
 
Elariah's Avatar
Premium Member

Forum posts: 18
File comments: 70
Uploads: 0
@DaemonSambe, @Bachlott:
I found the problem, a bad check in SexyMap. There is a function called FixTrackingAnchoring(), which is called on line 252 by self:FixTrackingAnchoring(). If you comment out this line then SexyMap no longer repositions the tracking icon. I think this is a function added to fix the button for support with ElkBuffBars. Just comment out the line that calls it, and voila no more unmovable button. For me however this actually hides it completely, which is fine as I have a replacement on TitanBar for this anyway.

I think, and this would need testing, replacing
Code:
self:FixTrackingAnchoring()
with this
Code:
MiniMapTracking:Show()
might make it still show, but be picked up by MBF.

I can't try this myself for another 8 hrs though.


@Bachlott:
This is the function in SexyMap that's interfering, for reference. I'm no lua expert, but you might be able to work out exactly why this interferes with MBF and suggest which lines are actually causing it to break.

Code:
function mod:FixTrackingAnchoring()
	if ElkBuffBars and ElkBuffBars.db.profile.hidetrackingframe then
		parent:Print("|cffff0000!! Warning !!!|r Elkano's Buff Bars is set to hide the tracking button. This will hide your tracking texture. Run |cffffcc00/ebb config|r and uncheck |cffffcc00Hide minimap tracking frame|r to fix this.")
	end
	local x, y = MiniMapTracking:GetCenter()
	local mx, my = Minimap:GetCenter()
	local dx, dy = x - mx, y - my
	
	MiniMapTracking.Hide = function() end
	MiniMapTracking:Show()
	
	MiniMapTracking:SetParent(UIParent)
	MiniMapTrackingButton:SetParent(Minimap)
	MiniMapTrackingButton:ClearAllPoints()
	MiniMapTrackingButton:SetPoint("CENTER", Minimap, "CENTER", dx, dy)
	MiniMapTrackingButton:SetFrameStrata("LOW")
	MiniMapTracking:SetParent(MiniMapTrackingButton)
	MiniMapTracking:SetFrameStrata("BACKGROUND")
	MiniMapTracking:ClearAllPoints()
	MiniMapTracking:SetPoint("CENTER")
end
Elariah is offline Report comment to moderator  
Reply With Quote
Old 06-17-09, 05:24 PM  
DaemonSambe
A Kobold Labourer
 
DaemonSambe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 152
Uploads: 1
Tracking Button

I also use SexyMap. Also have problems getting the Tracking Button to gather into MBF. Also turned off all of Sexymap's button handling.

The thing is, every other button works fine. Calendar, Mail, Voicechat, everything except the Tracking Button.

So, no idea which mod is actually 'causing' the problem at this point. The only alternative i've found, is to actually turn ON button handling in Sexymap, always hide the Tracking Button, and let everything else go into MBF. But, as mentioned it causes slight irregularities... Such as buttons moving into Sexymap, when i hover on the map, and so on. Mostly annoyances, but not permanent difficulties. Still, not th solution i would like.

Regards.
DaemonSambe is offline Report comment to moderator  
Reply With Quote
Old 06-17-09, 09:02 AM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 172
Uploads: 1
Originally posted by NarusegawaNaru
I've search through every lua file and only 2 contain "MiniMapTrackingButton" anywhere. One is MBF and one is SexyMap's button.lua but I'm not fully sure whats going on in that one. I'll try disabling it to see if it causing a problem.

But is there anything else I could search for besides that string of the buttons name?
Ah Sexymap. It does all sorts of stuff that interferes with MBF. The only way for the two of them to work together is to completely turn off all the minimap button stuff in Sexymap. Otherwise they're going to fight over the buttons.
Bachlott is offline Report comment to moderator  
Reply With Quote
Old 06-17-09, 08:02 AM  
Elariah
Premium Member
 
Elariah's Avatar
Premium Member

Forum posts: 18
File comments: 70
Uploads: 0
I've search through every lua file and only 2 contain "MiniMapTrackingButton" anywhere. One is MBF and one is SexyMap's button.lua but I'm not fully sure whats going on in that one. I'll try disabling it to see if it causing a problem.

But is there anything else I could search for besides that string of the buttons name?
Elariah is offline Report comment to moderator  
Reply With Quote
Old 06-17-09, 05:32 AM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 172
Uploads: 1
Originally posted by NarusegawaNaru
I'll try again later, but the button is called "MiniMapTracking" I think. It's just the standard one where you click it to change what your tracking on the minimap.
Yeah thats the standard Blizzard tracking button. Make sure that it's not in either of the dropdowns. You don't want it in there. You should be able to gather it by simply selecting the option to gather the blizzard buttons. If it doesn't gather when that's selected you can try a manual add on it. The other thing to check is to make sure that any minmap addon you are using isn't doing anything to the minmap buttons. That is usually the cause of buttons sticking to the minimap and MBF saying that they are already gathered.
Bachlott is offline Report comment to moderator  
Reply With Quote
Old 06-17-09, 01:54 AM  
Elariah
Premium Member
 
Elariah's Avatar
Premium Member

Forum posts: 18
File comments: 70
Uploads: 0
I'll try again later, but the button is called "MiniMapTracking" I think. It's just the standard one where you click it to change what your tracking on the minimap.
Elariah is offline Report comment to moderator  
Reply With Quote
Old 06-16-09, 08:16 PM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 172
Uploads: 1
Originally posted by NarusegawaNaru
I tried that, it tells me the button is either not supported, locked, or already being collected (or something similar to this effect anyway)

I have no idea what else could be stopping MBF grabbing it
If you're talking about the OnRaid button. MBF has no way of grabbing it. The button itself doesn't have a name assigned to it so I can't reference it to pick it up. If it's parent was the minimap then I might be able to cobble something together to get it but it's parent is the worldframe so no such luck.
Bachlott is offline Report comment to moderator  
Reply With Quote
Old 06-16-09, 08:33 AM  
Elariah
Premium Member
 
Elariah's Avatar
Premium Member

Forum posts: 18
File comments: 70
Uploads: 0
I tried that, it tells me the button is either not supported, locked, or already being collected (or something similar to this effect anyway)

I have no idea what else could be stopping MBF grabbing it
Elariah is offline Report comment to moderator  
Reply With Quote
Old 06-15-09, 08:21 AM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 172
Uploads: 1
Originally posted by IRID1UM
The button of Saeris' Linkslist isn't being collected. I guess it is no real minimap button or something.
If you have time, would you please check it out?
Thanks!
Okay for this button all you need to do is a manual add.

Just put your cursor over the button and then type /mbf add

or you can just type in /mbf add LinksList_ToggleButton

That will put grab it up for you.
Bachlott is offline Report comment to moderator  
Reply With Quote
Old 06-14-09, 06:27 AM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 172
Uploads: 1
Originally posted by Nihlo
dunno if anyone mentioned yet...the button of onRaid isn't collected
onRaid is one of the buttons that MBF is unable to collect. The button itself isn't assigned a name so I'm unable to collect it.

@NarusegawaNaru: You wouldn't be looking in any of the drop-downs to add anything. If you're trying to manually add a button it's the same way as it's always been. Put your cursor over the button you want to add and type /mbf add or press the keybinding.

@IRID1UM: I'll see what it's doing. I've had reports of this button doing this from time to time. I fix it and a few months later something in it has changed again.
Bachlott is offline Report comment to moderator  
Reply With Quote
Old 06-14-09, 03:37 AM  
IRID1UM
A Deviate Faerie Dragon
 
IRID1UM's Avatar

Forum posts: 12
File comments: 92
Uploads: 0
The button of Saeris' Linkslist isn't being collected. I guess it is no real minimap button or something.
If you have time, would you please check it out?
Thanks!
IRID1UM is offline Report comment to moderator  
Reply With Quote
Old 06-14-09, 02:05 AM  
Elariah
Premium Member
 
Elariah's Avatar
Premium Member

Forum posts: 18
File comments: 70
Uploads: 0
MBF is set to collect it yeah. It's set to collect anything it can and ignore nothing.

Any idea what to look for in drop-down to manually add it? I've not seen anything obvious in the list.
Elariah is offline Report comment to moderator  
Reply With Quote
Old 06-14-09, 01:37 AM  
Nihlo
A Murloc Raider

Forum posts: 5
File comments: 125
Uploads: 0
dunno if anyone mentioned yet...the button of onRaid isn't collected
Nihlo is offline Report comment to moderator  
Reply With Quote
Old 06-13-09, 04:05 PM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 172
Uploads: 1
Libraries have quickly become the bane of my existence. Missed another one because I have so many other addons with libs in them. 3.0.5 has the minimap button fixed.
Bachlott is offline Report comment to moderator  
Reply With Quote
Old 06-13-09, 03:59 PM  
Bachlott
A Defias Bandit
 
Bachlott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 172
Uploads: 1
Originally posted by Aquentvp
Love this addon - thank you!

But I prefer the small, red, diamond-shaped minimap button that expands all the others to the title bar, and I cannot figure out how to return to that.

There appears to be an option to do that, but it's greyed out for me.
Yeah I just looked and for some reason it's not enabled. I suspect it's another library issue. I'll look into it and fix it asap
Bachlott is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.