Category: Data Broker
Addon Information
Works with 3.3
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
r23
Date:
01-21-2010 10:04 AM
Size:
12.17 Kb
Downloads:
24,606
Favorites:
578
MD5:
Pictures
Click to enlarge
Guild block (sorted by class).
Ara Broker Guild Friends   Popular! (More than 5000 hits)
A Data Broker plugin that provides 2 blocks: one for guildmates & one for friends. These blocks show informative and interactive clickable tooltips. It's fast and lightweight.


It has the following functionalities on entries
- click guildmates or friends to whisp them.
- alt+click guildmates or friends to invite them.
- control+click friends to edit note.
- if you're an officier, you can control+click guildmates to edit their public note, and control+right click to edit officer's note.
- right click guildmates to sort the closest column.
- if you're an officer, you can click the MOTD to edit.
- middle click on friends to remove from friend list.
- control+mousewheel to resize tooltip.

And the following functionalities on blocks
- control+click to toggle hints so you don't have to remember all this crap.
- left click on guild block to toggle guild panel
- right click on guild block to toggle the guild notes column.
- shift+click on guild block to toggle guild name.
- left click on friend block to toggle friend panel.
- shift+right click on blocks to toggle total number of guildmates or friends.
- middle click on friend block to show the "add a friend" dialog box.


It shows
- check marks for grouped guildmates and friends.
- class icon (mainly to provide a column to sort) when not grouped.
- class colored names.
- level colored in grey, green, yellow, orange or red depending of your own level.
- zone colored in green, yellow or red depending of faction.
- public notes (and officer notes for guildmates if you have the rights).
- rank for guildmates.


If you have AddonLoader, the loading of this addon will be delayed.
If you have Skinner, this addon will be automatically skinned.
  Change Log - Ara Broker Guild Friends
r23
- Now fully functionnal in combat (yay!).


r22
- Removed localization file, now using LOCALIZED_CLASS_NAMES_MALE and LOCALIZED_CLASS_NAMES_FEMALE global tables (added in WoW 3.2). Delete the previous folder before extracting this version or you will end up with a dead file.
- Fixed a rare and weird issue (hopefully).


r21
- Added Control+MouseWheel to resize tooltip (experimental).
- Optimized implementation of the scrollbar: move lines instead of redrawing the entire tooltip.
- Fixed a possible appearance of the scrollbar when it is not wanted.
- Changed the maximum number of entries shown to something adapted to your UI scale and options.


r20
- Added a scrollbar for large guilds and/or friendlist. Use the mousewheel anywhere on the tooltip to scroll easily. (Credit goes to Tekkub for his "FauxScrollFrame" implementation )


r19
- Fixed an issue with 3.2 (GetDifficultyColor -> GetQuestDifficultyColor).
- Changed the MOTD to always display properly.
- Code tweaking.


r18
- Added support for !ClassColors.


r17
- Fixed a display issue introduced in r16. It was affecting unguilded characters.


r16
- Added tooltip with hints. Ctrl+Click a block to toggle hints.
- Added friend block shortcuts to add a friend.
- Added a MiddleClick shortcut on friend entries to remove a friend.
- Added a Shift+RightClick shortcut on blocks to toggle the total number of guildmates or friends.


r15
- Enhanced friend list refresh. Before, it was only refreshing on online/offline events. Now, it will also make sure to refresh at least once every 15 sec. That way, friends location is more accurate.


r14
- Fixed the possible leading space to the right of the tooltip when in group.
- Fixed the ruRU translation of Death Knight.
- Changed how to inherit fonts. Font addons will be able to dynamically modify them.


r13
- Made it compatible with DockingStation (display).


r12
- Fixed potential conflicts with other addons: RAID_CLASS_COLORS and CLASS_BUTTONS are now left untouched.
- Added the LDB attribute "type" (set to "data source") for better recognition & display integration.
- Replaced Menu_OnUpdate timer with MouseIsOver.


r11
- Fixed a bug that was raising the tooltip when the MOTD was edited.
- Added class localizations for friend list coloring.
- Removed class icons when grouped, so check marks are next to names for better quick views.


r10
- Fixed an error introduced with r9 that was checking everything when grouped.


r9
- Changed the visuals for grouped guildmates & friends to dynamic check marks (from greyed out icon/names).
- Changed the background handling to be Skinner friendly.
- Removed debug messages left in r8.


r8
- Fixed a silly error (missing "end").


r7
- Fixed the tooltip scale issue (r6 received only half of the fix and an internal version the other half...)
- Fixed an annoying issue that was causing ellipsis "..." on some entries.
- Removed use of Blizzard's tooltip (now use mine exclusively).


r6
- Fixed the tooltip scale issue.


r5
- Fixed a nil error occuring when guild data is not ready (but still can't get the data sometimes when first loading).
- Fixed the inverted class order on reloadui.
- Added a toggle to show/hide the guild name (Shift+Click the guild block).
- Added an officer's functionality: Control+RightClick to edit officer's note.
- Added (very) limited in-combat use: shows a snapshot of the previous accessed list.
- Added records to save sorted column/order between session.
- Extended the greyed out names of grouped guildmates to friends.
- Removed the label/value support (no more needed).


r4
- Fixed an error when entering the friend block with a non-english client (sorry, no translations added).
- Fixed AddonLoader support (hopefully): block text should be set at load time.
- Added a toggle to show/hide guild notes: any non left mouse click on the guild block will do (right, middle, 4, 5).
- Added a visual effect to distinguish from grouped and ungrouped guildmates: those in your group are coloured in grey.
- Added Skinner support.


r3
- FIXED A BIG REFRESH ISSUE. It should be smoother and more responsive now.
- Fixed AddonLoader support in toc file.
- Added a functionality so that an officer can control click a guildmate to edit its public note.
- Added support for "label" (guild name) and "value" (online/total) so that you can manage them separatly in your display (show/hide/etc).
- Added ClearFont support (not tested).
- Changed color of officer note (orange) to distinguish from public note (yellow).
- Changed frame strata to TOOLTIP (from DIALOG).
- Removed the extra space in front of a friend name (GetFriendInfo returns "" for status whereas GetGuildRosterInfo returns nil).


r2
- Fixed icon paths.


r1
- Initial release.
  Optional Files - Ara Broker Guild Friends
Sorry, there are currently no optional files available.
  Archived Versions - Ara Broker Guild Friends
File Name
Version
Size
Author
Date
r22
13kB
Aranarth
08-09-2009 01:31 PM
r21
14kB
Aranarth
08-01-2009 08:47 AM
r20
14kB
Aranarth
07-15-2009 05:40 PM
r19
13kB
Aranarth
07-02-2009 05:42 PM
r18
13kB
Aranarth
05-25-2009 07:19 AM
r17
13kB
Aranarth
03-27-2009 05:57 AM
r16
13kB
Aranarth
03-26-2009 09:05 AM
r15
13kB
Aranarth
02-06-2009 12:09 AM
r14
13kB
Aranarth
01-12-2009 10:54 PM
r13
13kB
Aranarth
12-18-2008 07:47 PM
r12
13kB
Aranarth
12-15-2008 07:39 AM
  Comments - Ara Broker Guild Friends
Post A Reply Comment Options
Old Today, 01:35 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 227
Uploads: 6
I need someone with the sorting issue that is willing to debug (as I can't do it myself because everything's fine for me), starting with the following steps:

1. When you type "/dump AraBrokerGuildFriendsDB" in chat, what are the values of "sortType" and "sortDESC" ?
2. How is it sorted when you log ?
3. How do you want it to be sorted ?
4. Re-log, wait for the interface to be fully loaded and type "/run SortGuildRoster(AraBrokerGuildFriendsDB.sortType) if AraBrokerGuildFriendsDB.sortDESC then SortGuildRoster(AraBrokerGuildFriendsDB.sortType) end" in chat then check and report the order.
Aranarth is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-27-2010, 03:08 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 227
Uploads: 6
Quote:
Originally posted by d0n
is it possible to clump the Friend and Guild list into 1 list?
Nope, and it's not planned. Broker_SocialState has both in one list, if you want to give it a try.
Aranarth is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-26-2010, 11:17 PM  
d0n
A Kobold Labourer

Forum posts: 1
File comments: 20
Uploads: 0
is it possible to clump the Friend and Guild list into 1 list?
d0n is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-26-2010, 12:14 AM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 227
Uploads: 6
Re: syncing

Quote:
Originally posted by d0n
does this addon sync with your other alts in the same server?
FriendsWithBenefits does.
Aranarth is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-25-2010, 11:02 PM  
d0n
A Kobold Labourer

Forum posts: 1
File comments: 20
Uploads: 0
syncing

does this addon sync with your other alts in the same server?
d0n is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-25-2010, 05:19 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 227
Uploads: 6
Quote:
Originally posted by Politig
Sorry for pestering, but even with DockingStation's option to hide tooltips in combat unchecked, tooltips still don't show
I tested with DockingStation and it's working for me.
Aranarth is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-25-2010, 04:42 PM  
Politig
A Murloc Raider

Forum posts: 6
File comments: 267
Uploads: 0
Sorry for pestering, but even with DockingStation's option to hide tooltips in combat unchecked, tooltips still don't show
Politig is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-25-2010, 12:02 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 227
Uploads: 6
Quote:
Originally posted by Taigen
Aranarth, I'm a bit lost about your explaintion concerning the re-ordering of the blizzard guild frame. For me, it does NOT re-order if no mods are enabled at all... yet if yours is it changes it every time I log in. Forgive me if I misunderstand, but I dont see how that can be a Blizzard problem at that point?

And if there is NO way you can figure out to fix this, could you possibly add a button or click set like Control + right click or something... that would re-arrange the blizzard frame and your mod to sort by rank? Some way to hack the code a bit? Something a bit easier than opening up the blizzard guild frame, clicking the player info arrow, selecting rank, and then collapsing the frame again? It's a pain and I really hope you can find some way to make it even a little less annoying. Thanks.
Sorry but I'm more interested to know why it's happening than adding a dirty fix, and I'm pretty stubborn.

I need someone with this issue that is willing to debug, starting with the following steps:

1. When you type "/dump AraBrokerGuildFriendsDB" in chat, what are the values of "sortType" and "sortDESC" ?
2. How is it sorted when you log ?
3. How do you want it to be sorted ?
4. Re-log, wait for the interface to be fully loaded and type "/run SortGuildRoster(AraBrokerGuildFriendsDB.sortType) if AraBrokerGuildFriendsDB.sortDESC then SortGuildRoster(AraBrokerGuildFriendsDB.sortType) end" in chat then check and report the order.
Aranarth is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-25-2010, 08:25 AM  
Taigen
A Kobold Labourer
 
Taigen's Avatar

Forum posts: 1
File comments: 21
Uploads: 0
Aranarth, I'm a bit lost about your explaintion concerning the re-ordering of the blizzard guild frame. For me, it does NOT re-order if no mods are enabled at all... yet if yours is it changes it every time I log in. Forgive me if I misunderstand, but I dont see how that can be a Blizzard problem at that point?

And if there is NO way you can figure out to fix this, could you possibly add a button or click set like Control + right click or something... that would re-arrange the blizzard frame and your mod to sort by rank? Some way to hack the code a bit? Something a bit easier than opening up the blizzard guild frame, clicking the player info arrow, selecting rank, and then collapsing the frame again? It's a pain and I really hope you can find some way to make it even a little less annoying. Thanks.
Taigen is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-24-2010, 04:09 PM  
Politig
A Murloc Raider

Forum posts: 6
File comments: 267
Uploads: 0
[quote]Originally posted by Aranarth
[b]It's working for me. Perhaps your display hides tooltip in combat ? Can you be more specific ?

I'm a dip, I figured it out x)
Politig is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-24-2010, 01:10 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 227
Uploads: 6
Re: Error report

Quote:
Originally posted by Everdreamer
Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:352: attempt to index upvalue 'block' (a nil value):
Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:407: in function `_onclick':
ButtonBin-1.0.68\ButtonBin.lua:260: in function <Interface\AddOns\ButtonBin\ButtonBin.lua:257>

This one happens when I right click the guild block icon to toggle note column, or ctrl click the guild block icon to toggle hint, or ctrl click the friend block icon to toggle hint.

Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:354: AraBrokerGuildFriends:SetPoint(): trying to anchor to itself:
Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:354: in function <Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:272>:
(tail call): ?:
Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:404: in function `_onclick':
ButtonBin-1.0.68\ButtonBin.lua:260: in function <Interface\AddOns\ButtonBin\ButtonBin.lua:257>

This one happens when I shift right click the guild block icon to toggle total number. (shift right click friend block icon doesnt trigger this error)

the version is r22 (current version)
thanks for your work
Sorry I missed your post ^^;

The problem comes from ButtonBin. To fix it, open "ButtonBin.lua" and search for the following code (leading spaces are important):
Code:
    LDB_OnLeave(self)
It should be around line 259.
Replace it with
Code:
    if not self.obj.OnLeave then LDB_OnLeave(self) end
(Note for ButtonBin author: when the plugin is clicked, don't call the plugin's OnLeave. That's OK with "OnTooltipShow", "tooltip" and "tooltiptext", but certainly not with "OnEnter/OnLeave": potential conflicts.)

Last edited by Aranarth : 01-24-2010 at 01:14 PM.
Aranarth is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-24-2010, 12:57 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 227
Uploads: 6
Quote:
Originally posted by Politig
I have spoken too soon. This addon doesn't work in combat
It's working for me. Perhaps your display hides tooltip in combat ? Can you be more specific ?

Quote:
Originally posted by Politig
Maybe make a plug-in for the new LFD system? Click to queue for random heroic, right click for specific, shift left for random regular, shift right click for specific regular... That would be handy

A similar one for BGs is another wish of mine.
I'm not playing WoW so I limit my coding time to existing addons, sorry.

Last edited by Aranarth : 01-24-2010 at 01:05 PM.
Aranarth is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-24-2010, 12:37 PM  
Politig
A Murloc Raider

Forum posts: 6
File comments: 267
Uploads: 0
I have spoken too soon. This addon doesn't work in combat
Politig is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-23-2010, 10:34 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 227
Uploads: 6
Coup de gueule

Most LDB displays try to take control of frames created by the plugin no matter what, and it's annoying. I want to point them to the LibDataBoker 1.1 Specifications, especially the "Handling tooltips" section. A part of that section is:
Quote:
Originally Posted by tekkub
OnEnter/OnLeave

This design is needed by plugins that wish to provide a clickable tooltip. Because the clickable tip is more complex, the plugin needs to manage when it is hidden, it can’t simply hide the tip when the base frame loses mouse focus. These functions should be attached directly to the display frame’s OnEnter and OnLeave scripts.
I know some authors just try to implement features either because it is a popular request, or because they want to offer more than the other displays, but they end up violating plugins.

(I went a bit overboard... )


Quote:
Originally posted by pompachomp
Ok, getting the same error with latest version that everdreamer posted months ago....

Code:
1x ...ra_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:351: attempt to index upvalue 'block' (a nil value):
...ra_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:404: in function `OnClick':
Bazooka-Bazooka-r130\Bazooka.lua:1257: in function <Bazooka\Bazooka.lua:1254>

Locals:
self = BazookaPlugin_Ara Guild {
 SetAlpha = <function> @ Bazooka\Bazooka.lua:1312:
 bzkPlugin = <table> {}
 GetAlpha = <function> @ Bazooka\Bazooka.lua:1326:
 bzkAlpha = 1
 0 = <userdata>
}
button = "RightButton"
config = <table> {
 showGuildName = true
 showGuildNotes = true
 scale = 1
 sortType = "class"
 hideHints = true
 sortDESC = false
}
f = AraBrokerGuildFriends {
 CHAT_MSG_SYSTEM = <function> @ Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:37:
 0 = <userdata>
 FriendsBlock = <table> {}
 PLAYER_GUILD_UPDATE = <function> @ Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:63:
 GuildBlock = <table> {}
 tfade = <unnamed> {}
 FRIENDLIST_UPDATE = <function> @ Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:41:
 GuildOnEnter = <function> @ Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:362:
 GUILD_ROSTER_UPDATE = <function> @ Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:58:
 FriendsOnEnter = <function> @ Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:358:
}
format = <function> defined =[C]:-1
guildEntries = <table> {
 1 = <table> {}
 2 = <table> {}
 3 = <table> {}
 4 = <table> {}
 5 = <table> {}
}
ShowTablet = <function> @ Ara_Broker_Guild_Friends\Ara_Broker_Guild_Friends.lua:272:
block = nil
isGuild = true

  ---
Per default, Bazooka messes with the clickable tooltip visibility. Fortunatly, there's an option to turn it off:
In Bazooka's plugins options, uncheck "Hide tooltip on click" for all my addons. It fixes everything.


For DockingStation, no options to prevent frame tracking. So I need to either:
- find a dirty workaround
- ask Vrul to handle a new field in the data object that, if present, skips "StartTooltipDetection()"
- ask users to comment a line in "DockingStation\Tooltips.lua"


I will look into ButtonBin tomorrow.


If at some point I get tired of this, my reply to most bug reports will become "It's an issue of your display addon" with some banana.
Niark Niark !

Last edited by Aranarth : 01-23-2010 at 10:40 PM.
Aranarth is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-23-2010, 07:25 PM  
Politig
A Murloc Raider

Forum posts: 6
File comments: 267
Uploads: 0
FINALLY! COMBAT USE! WOO! I love you.

Another feature request: Broker is fantastic. Maybe make a plug-in for the new LFD system? Click to queue for random heroic, right click for specific, shift left for random regular, shift right click for specific regular... That would be handy

A similar one for BGs is another wish of mine.

I don't mean to ask for a lot of you, but I respect your work and you give us great plug-ins.
Politig is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.