Download
(312Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 02-09-24 11:13 AM
Pictures
File Info
Compatibility:
Classic (1.15.1)
Seeds of Renewal (10.2.5)
WOTLK Patch (3.4.3)
Updated:02-09-24 11:13 AM
Created:01-24-09 04:30 PM
Downloads:70,886
Favorites:487
MD5:
10.2.5

ChocolateBar (Broker Display)  Popular! (More than 5000 hits)

Version: v3/13
by: yess [More]

ChocolateBar is a sweet display addon for broker plugins
Basically its a Titan-panel or Fubar replacement.

Any data broker addon you have will be put on a pice of chocolate and together they create a chocolate bar on the top of your screen.

Main Features

* Easy config, simply drag some chocolate and drop points will show. The idea is to easily get rid of a plugin or disable the text. See pics.
* Load-on-demand options, and small memory footprint.* Multiple bars - top or bottom as many as you want.
* Move bars anywhere you want.
* More Chocolate - a broker plugin to show a second bar that will autohide again. Great for launchers or other plugins you don't need visible all the time
* Support for icon colors and coordinates like used by TomTom

Options for:
* Show bars on mouse over only
* Hide bars in combat
* Set a fixed width for any plugin
* Change icon size
* Change textures, colours and a lot more...

Where to get more chocolate?

.)Updated list
.)WoWInterface

Usage

Right click the panel
or type "/chocolatebar" to open the options menu.
You can also go to the great Blizz addons menu if you like
windows that cant be moved or resized...

You miss a feature or had to much chocolate, please let me know. I look forward to your feedback.

ChocolateBar
v3.11 (2023-05-06)
Full Changelog
  • fix error on login
Optional Files (0)


Archived Files (38)
File Name
Version
Size
Author
Date
v3.11
302kB
yess
01-24-24 05:26 PM
v3.11
302kB
yess
05-06-23 05:27 PM
v3.10
302kB
yess
04-02-23 01:34 PM
v3.9.7
301kB
yess
02-01-23 06:49 AM
v3.9.7
301kB
yess
12-11-22 08:34 PM
v3.9.6
301kB
yess
12-11-22 10:50 AM
v3.9.5
299kB
yess
12-08-22 06:33 PM
v3.9.4
299kB
yess
12-08-22 06:32 PM
v3.9.3
299kB
yess
12-08-22 06:24 PM
v3.9.1
299kB
yess
12-07-22 08:40 AM
v3.9.1
299kB
yess
12-04-22 03:50 PM
v3.9
309kB
yess
11-28-22 04:32 PM
v3.9
309kB
yess
11-28-22 04:32 PM
v3.9
309kB
yess
11-28-22 04:32 PM
v3.8.5
309kB
yess
08-31-22 11:11 AM
v3.8.4
309kB
yess
03-31-22 10:58 AM
v3.8.4
309kB
yess
03-31-22 10:58 AM
v3.8.3
309kB
yess
03-30-22 05:27 AM
v3.8.2
309kB
yess
03-25-22 08:14 AM
v3.8.1
309kB
yess
03-18-22 01:23 PM
v3.8
309kB
yess
02-17-22 12:51 PM
v3.8
309kB
yess
02-17-22 12:51 PM
v3.7.7
309kB
yess
10-01-21 04:43 PM
v3.7.6
284kB
yess
09-30-21 12:50 PM
v3.7.6
284kB
yess
09-30-21 12:50 PM
v3.7.5
284kB
yess
09-22-21 04:24 PM
v.3.7.4
284kB
yess
09-22-21 04:19 PM
v.3.7.4
284kB
yess
09-22-21 04:19 PM
v3.7.2
284kB
yess
09-22-21 04:02 PM
v3.7.1
284kB
yess
09-22-21 03:47 PM
v3.7.1
284kB
yess
09-22-21 03:47 PM
v3.7
307kB
yess
09-21-21 06:17 PM
v3.7
307kB
yess
09-21-21 06:17 PM
v3.6.15
282kB
yess
04-30-21 03:51 PM
v3.6.15
307kB
yess
04-30-21 03:50 PM
v3.6.14
282kB
yess
04-12-21 11:33 AM
3.6.13
307kB
yess
04-10-21 03:54 PM
v3.6.12
282kB
yess
04-10-21 01:03 PM


Post A Reply Comment Options
Unread 01-25-23, 09:21 PM  
Sasari
A Defias Bandit
 
Sasari's Avatar

Forum posts: 2
File comments: 11
Uploads: 0
Question Updates?

Is there a chance that this might be updated soon for the newest patch released on 01/24/2023?
Report comment to moderator  
Reply With Quote
Unread 02-17-22, 02:17 PM  
Dogtor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 5
Not match with 3.3.5a version! Can you make it for WotLK?
Report comment to moderator  
Reply With Quote
Unread 11-25-20, 06:18 PM  
Daeveren
A Kobold Labourer

Forum posts: 0
File comments: 30
Uploads: 0
Getting these errors when trying to move a plugin on the bar. The plugin won't move and the entire bar dissapears.

Code:
Message: Interface\AddOns\ChocolateBar\Chocolate.lua:325: Action[FrameMeasurement] failed because[Can't measure restricted regions]: attempted from: NamePlate1PlaterUnitFrame:GetPoint().
Time: Thu Nov 26 02:17:33 2020
Count: 1
Stack: Interface\AddOns\ChocolateBar\Chocolate.lua:325: Action[FrameMeasurement] failed because[Can't measure restricted regions]: attempted from: NamePlate1PlaterUnitFrame:GetPoint().
[string "@Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:758: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717>
[string "=[C]"]: ?
[string "=[C]"]: in function `GetPoint'
[string "@Interface\AddOns\ChocolateBar\Chocolate.lua"]:325: in function <Interface\AddOns\ChocolateBar\Chocolate.lua:307>
Code:
Message: Interface\AddOns\ChocolateBar\DragAndDrop.lua:86: attempt to index upvalue 'focus' (a nil value)
Time: Thu Nov 26 02:17:34 2020
Count: 1
Stack: Interface\AddOns\ChocolateBar\DragAndDrop.lua:86: attempt to index upvalue 'focus' (a nil value)
[string "@Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:758: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717>
[string "=[C]"]: ?
[string "@Interface\AddOns\ChocolateBar\DragAndDrop.lua"]:86: in function `Stop'
[string "@Interface\AddOns\ChocolateBar\Chocolate.lua"]:347: in function <Interface\AddOns\ChocolateBar\Chocolate.lua:341>
Report comment to moderator  
Reply With Quote
Unread 10-20-20, 05:59 PM  
Pachinak
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Performing Action Reserved for Blizzard UI

Update:

Message: [ADDON_ACTION_FORBIDDEN] AddOn 'ChocolateBar' tried to call the protected function 'SpellStopCasting()'.
Time: Tue Oct 20 16:57:37 2020
Count: 1
Stack: [ADDON_ACTION_FORBIDDEN] AddOn 'ChocolateBar' tried to call the protected function 'SpellStopCasting()'.

Locals: <none>

is what's happening.
Report comment to moderator  
Reply With Quote
Unread 10-19-20, 09:22 PM  
Pachinak
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Performing Action Reserved for Blizzard UI

Not sure if it's chocolate bar that's doing this or one of the broker displays on it, but pretty much every time I do something I get a message as in the title of this post.

Any ideas?
Report comment to moderator  
Reply With Quote
Unread 10-17-20, 11:57 PM  
MrsAngelD
A Murloc Raider
 
MrsAngelD's Avatar

Forum posts: 6
File comments: 22
Uploads: 0
Fix for 9.0

So I had a look at the Pull Request that's open on Chocolate bar here

And made the changes manually since for some reason the commit hasn't been accepted. I'll post the fix below.

Open Bar.lua
On Line 8 Replace
Code:
local pairs, ipairs, table, math, mod = pairs, ipairs, table, math, mod
With

Code:
local _G, pairs, ipairs, table, math, mod = _G, pairs, ipairs, table, math, mod
On Line 30 replace
Code:
local frame = CreateFrame("Frame", name, UIParent, "BackdropTemplate")
With

Code:
local frame = CreateFrame("Frame",name, _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")
Save & Close


Open Chocolate.lua
On line 1 Replace
Code:
local ChocolateBar = LibStub("AceAddon-3.0"):GetAddon("ChocolateBar")
With

Code:
local ChocolateBar = LibStub("AceAddon-3.0"):GetAddon("ChocolateBar")
On Line 373 Replace
Code:
local chocolate = CreateFrame("Button", "Chocolate" .. name)
With

Code:
local chocolate = CreateFrame("Button", "Chocolate" .. name, _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")
Save and Close

Open DropPoints.lua
After Line 3 which reads
Code:
local dopPoints
Add
Code:
local _G = _G
On Line 8 Replace
Code:
local dropFrames = CreateFrame("Frame", nil, _G.UIParent)
With

Code:
local dropFrames = CreateFrame("Frame", nil, _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")
On Line 22 Replace
Code:
local frame = CreateFrame("Frame", name, ChocolateBar.dropFrames)
With

Code:
local frame = CreateFrame("Frame", name, ChocolateBar.dropFrames, BackdropTemplateMixin and "BackdropTemplate")
Save & Close

Open Options.lua
On Line 1 replace
Code:
local LibStub = LibStub
With

Code:
local LibStub = LibStub
On Line 916 Replace
Code:
moveBarDummy = _G.CreateFrame("Frame",bar)
With

Code:
moveBarDummy = _G.CreateFrame("Frame",bar, _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")
Save and Close

Open modules/CB_Lauchers.lua
On Line 86 Replace
Code:
local frame = CreateFrame("Frame", "CB_LaunchersFrame", _G.UIParent)
With

Code:
local frame = CreateFrame("Frame", "CB_LaunchersFrame", _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")
Save & Close

Chocolate Bar should now be working as usual.

There is also a Zip file that was released by the person who provided the above edits, you can find it Here: https://github.com/agentschmitt/ChocolateBar/releases
__________________
Last edited by MrsAngelD : 10-18-20 at 12:31 PM.
Report comment to moderator  
Reply With Quote
Unread 10-14-20, 02:34 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 13
File comments: 276
Uploads: 0
Cool Re: Pre-patch?

Originally Posted by Lichbane
Any update for the shadowlands pre-patch?


I'm seeing significant efforts over here:


https://github.com/the-rebel-Mermaid...a681f4e2d8845c


You can comment here:


https://github.com/the-rebel-Mermaid...lateBar/pull/3
__________________
spiralofhope.com
Report comment to moderator  
Reply With Quote
Unread 10-14-20, 01:55 PM  
Lichbane
A Deviate Faerie Dragon
 
Lichbane's Avatar

Forum posts: 16
File comments: 83
Uploads: 0
Pre-patch?

Any update for the shadowlands pre-patch?
Report comment to moderator  
Reply With Quote
Unread 09-06-19, 07:47 AM  
ThomasH
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Very nice Bar. I use it a very long time in retail(s). I use four Bars and in Classic i miss a field to tell a Broker, in which bar it should appear. Would be easier than lock and unlock to let the broker add appear in bar 1 and then move it arround.
Report comment to moderator  
Reply With Quote
Unread 09-06-19, 02:21 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi,

is the version 3.3.4 suitable for 8.2 patch or it is only for classic ?

Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 07-21-19, 10:32 AM  
yess
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 50
Uploads: 7
Originally Posted by Rilgamon
While playing around testing my infoclock I noticed cb does not update the tooltip. So the clock would simply show the time when the dataobject gets the mouseover and keep that value until another mouseout/-in.
Is there a chance for continiously updating tooltips? I always wondered if the broker or the display should handle that
Yes they do not update. You can update the tooltip by yourself if you use the OnEnter() and OnLeave() functions.
Report comment to moderator  
Reply With Quote
Unread 08-25-18, 01:25 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
While playing around testing my infoclock I noticed cb does not update the tooltip. So the clock would simply show the time when the dataobject gets the mouseover and keep that value until another mouseout/-in.
Is there a chance for continiously updating tooltips? I always wondered if the broker or the display should handle that
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 08-24-18, 05:45 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Originally Posted by yess
I have checked your addons. The difference is that the plugins are created after the player_entering_world event.

This will be fixed in the next version. I will also add them to the options list when they are created. Initially I only added them to the list when you open the options. But that did not work for the blizzard options that were added in an later expansion. So I added them there after the player is entering the world but that was not the best solution
Cool I love it when I just have to wait for someone to fix my bugs
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 08-22-18, 09:10 AM  
yess
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 50
Uploads: 7
I have checked your addons. The difference is that the plugins are created after the player_entering_world event.

This will be fixed in the next version. I will also add them to the options list when they are created. Initially I only added them to the list when you open the options. But that did not work for the blizzard options that were added in an later expansion. So I added them there after the player is entering the world but that was not the best solution
Last edited by yess : 08-22-18 at 09:16 AM.
Report comment to moderator  
Reply With Quote
Unread 08-19-18, 07:45 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
When using Interface->Addons->ChocolateBar my own addons are not listed.
When accessing the prefs by rightclick on the bar they're listed and after that available for the systems settings panel,too. Is there something I can change in my addons to make them directly available?
Since it happens only with my addons I guess I'm doing sth wrong even though it works in other broker displays.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: