Download
(30Kb)
Download
Updated: 05-11-23 12:08 AM
Pictures
File Info
Compatibility:
Embers of Neltharion (10.1.0)
Updated:05-11-23 12:08 AM
Created:03-20-20 08:22 PM
Downloads:2,500
Favorites:9
MD5:
Categories:Data Broker, Guild Compilations

gmGuildFriends

Version: 1010-2023051101
by: gmarco, Wexen

gmGuildFriends

A very simple data broker plugin to show the guild roster and friend lists.

Requires a data broker display like chocolate bar, bazooka, ninjapanel, stat block, titan panel, docking station, buttonbin and more.

If you want the stripped down versions you can check: gmGuild and gmFriends


If you are interested in helping translating, please visit forum:
https://www.wowinterface.com/downloa....html#comments

providing the following entries:

Lua Code:
  1. L["Show Guild"]         = ""
  2. L["Show Battle.net"]    = ""
  3. L["Show FriendList"]    = ""
  4. L["Show Help"]          = ""
  5. L["Show Guild Message"] = ""
  6. L["Show Player Info"]   = ""
  7. L["Note"]               = ""
  8. L["Officer Note"]       = ""
  9. L["Achievements Points"]= ""
  10. L["Show only playing Battle.net Friends"] = ""


Example in Italian:

Lua Code:
  1. L["Show Guild"]         = "Mostra gilda"
  2. L["Show Battle.net"]    = "Mostra amici Battle.net"
  3. L["Show FriendList"]    = "Mostra amici"
  4. L["Show Help"]          = "Mostra legenda"
  5. L["Show Guild Message"] = "Mostra messaggio di gilda"
  6. L["Show Player Info"]   = "Mostra informazioni aggiuntive sui giocatori"
  7. L["Note"]               = "Note"
  8. L["Officer Note"]       = "Note del GM"
  9. L["Achievements Points"]= "Punti impresa"
  10. L["Show only playing Battle.net Friends"] = "Mostra solo amici Battle.net in gioco"

Actually it supports for the following locale:
- enUS
- itIT
- deDE. Thanks to icemeph.
- zhTW. Thanks to BNS & EKE.
- zhCN. Thanks to BNS & EKE.

1010-2023051101
- bump toc
- added in .toc the IconTexture key
- replaced function BNet_GetClientEmbeddedTexture with BNet_GetClientEmbeddedAtlas (thanks EKE)

1007-2023032501
- fix client list for Diablo IV open beta.

1000-2022111501
- the "Show only playing Battle.net Friends" should be read "Show only ONLINE Battle.net Friends".
I am waiting to some translations before changes it :)
This mean that with this flag checked you see now also friends in mobile or desktop app when they are
ONLINE and you can chat them even if they are not playing anything :)
- various fixes

1000-2022111103
- really fixed the taint iussue :)

1000-2022111102
- fixed a taint iussue

1000-2022111101
- modified the brodker display to show guild/friends summary based on options.
- added X-WoWI-ID and X-Curse-Project-ID keywords to let WowUp manage it
- bump toc

1000-2022102801
- removed some debug code
- added bnet games names

1000-2022102701
- fixed to run on ver.10.0.0

920-2022051701
- Fixed an error occuring if BNET is not reachable

915-2021110601
- Changed legenda a little bit.

915-2021110501
- Added the possibility to change the tooltip scale

915-2021110401
- Used the latest LibQTip v.9.1.5-1-g4c6a3d8
- dump toc

915-2021110301
- Hotfix a libqtip error. (taken from xodiv inputs in curseforge pages).
- dump toc

900-2020101801
- update libqtip to the latest 442326b-alpha

900-2020101402
- Used C_GuildInfo.GuildRoster()
https://www.wowinterface.com/forums/showthread.php?t=58279
thanks to Fizzlemizz

900-2020101401
- first fixes for 9.0.x
- dump toc
- updated the libqtip to the latest
- removed GuildRoster().

830-2020041801
- make the status icon a little bigger
- now add a + in the status if the players are in group with you (usefull if you want to raid invite :)
- fix the Left mouse click if not in guild

830-2020041301
- changed the saved var name.
- make an hack to prevent playerinfo note overlap
- prevent to click in combat to open guild and friends panel
- if bnet account == character print only ones.

830-2020032601
- add a scrollbar if tooltip is long and limits to: (GetScreenHeight()-100)
- change the layout of LEVEL column

830-2020032501
- Add an option to filter out BNET friends actually not playing (for people with looong friends lists).

This can breaks your config.
Please go in Interface --> Addons --> gmGuildFriends --> Press: "Reset and reloadUI"
This should be enough. If not you have to manual delete the SavedVariable when the game is close.
A message will appear on entering world about this.

- rewrite the layout and the display of bnet friends

830-2020032402
- fix a problem with BNET friends in WoW classic

830-2020032401
- used the justification of libqtip instead of custom code
Thanks to EKE for input on this :)
https://www.wowinterface.com/downloads/fileinfo.php?id=25522#comments


830-2020032205
- Added the player info note sub tip
- Added the option to use it or not
- Added the localization for some new strings

830-2020032204
- Call a GuildRoster() before building the guild tooltip.
- Update all the libs to the latest
- Add the options to hide/show the guild message of the day
This can breaks your config.
Please go in Interface --> Addons --> gmGuildFriends --> Press: "Reset and reloadUI"
This should be enough. If not you have to manual delete the SavedVariable when the game is close.
A message will appear on entering world about this.

830-2020032203
- Fix ToggleGuildFrame() to real toogle :)
- Implement a minimum of options panel to hide/show section (guild/bnet/frame/legenda).
- Used the graphical mouse icons for legenda and prepare an option config: text/graphical

I am thinking also to split guild and friends in 2 ldb for who has lots of guild mates or friends.
It is not our case but may happens :)

830-2020032102
- Fix the display of long guild motd (word wrap at 69 line length).
- Replaced the zhCN localization (my fault, thanks EKE!)

830-2020032101
- first release
Thanks to all you guys in WoWI forum, in special way Vrul and Fizzlemizz for help and patience.
You are fantastic.
https://www.wowinterface.com/forums/showthread.php?p=335396
Optional Files (0)


Archived Files (10)
File Name
Version
Size
Author
Date
1000-2022111501
30kB
gmarco
11-14-22 10:56 PM
1000-2022111103
30kB
gmarco
11-11-22 03:41 PM
1000-2022111102
30kB
gmarco
11-11-22 12:09 PM
1000-2022102801
29kB
gmarco
10-27-22 11:45 PM
1000-2022102701
29kB
gmarco
10-27-22 05:42 AM
920-2022051701
29kB
gmarco
05-17-22 01:04 AM
915-2021110601
29kB
gmarco
11-05-21 10:19 PM
915-2021110501
29kB
gmarco
11-05-21 10:29 AM
915-2021110401
28kB
gmarco
11-03-21 04:47 PM
915-2021110301
28kB
gmarco
11-03-21 01:14 PM


Post A Reply Comment Options
Unread 03-20-20, 09:06 PM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 548
Uploads: 13
zhCN should not be that. BNS only support zhTW:

Code:
if LOCALE == "zhCN" then
	L["Right-Click"] 		= "右键点击"
	L["Left-Click"] 		= "左键点击"
	L["Middle-Click"] 		= "中键点击"
return end
Report comment to moderator  
Reply With Quote
Unread 03-21-20, 12:01 AM  
almty1
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 132
Uploads: 3
Thanks

Nice we needed an updated Guild/Friends LDB. Can you limit how wide it gets? We have a long guild message of the day and my menu is super wide and looks weird.
Report comment to moderator  
Reply With Quote
Unread 03-21-20, 01:08 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Originally Posted by EKE
zhCN should not be that. BNS only support zhTW:

Code:
if LOCALE == "zhCN" then
	L["Right-Click"] 		= "右键点击"
	L["Left-Click"] 		= "左键点击"
	L["Middle-Click"] 		= "中键点击"
return end
Hi,
are you saying that this the correct localization for "zhCN" and I have to use in the place of the ones I have used ?

I have tried to use official Blizzard ones where possible but I was not able to find these 3 in the globalstrings and so I get them from another addon of mine:
https://www.wowinterface.com/downloa...mEquipSet.html

May I put them in place of the others ? Can you pls provide also the others words so I can correct the other addon ?

L["Right-Click"] = ""
L["Left-Click"] = ""
L["Middle-Click"] = ""
L["Equipment Sets:"] = ""
L["Equip Set"] = ""
L["Set Manager"] = ""
L["Save Set"] = ""
L["Set saved"] = ""

Thanks very much for your input and correction.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 03-21-20, 01:34 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Re: Thanks

Originally Posted by almty1
Nice we needed an updated Guild/Friends LDB. Can you limit how wide it gets? We have a long guild message of the day and my menu is super wide and looks weird.

I have fixed it at now at 69 line lenght.



I'll push an updated soon.

-- Edit:
I have uploaded version gmGuildFriends-830-2020032102.zip that fixes this.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 03-21-20 at 02:07 AM.
Report comment to moderator  
Reply With Quote
Unread 03-21-20, 03:57 PM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 548
Uploads: 13
Originally Posted by gmarco
Hi,
are you saying that this the correct localization for "zhCN" and I have to use in the place of the ones I have used ?

I have tried to use official Blizzard ones where possible but I was not able to find these 3 in the globalstrings and so I get them from another addon of mine:
https://www.wowinterface.com/downloa...mEquipSet.html

May I put them in place of the others ? Can you pls provide also the others words so I can correct the other addon ?

L["Right-Click"] = ""
L["Left-Click"] = ""
L["Middle-Click"] = ""
L["Equipment Sets:"] = ""
L["Equip Set"] = ""
L["Set Manager"] = ""
L["Save Set"] = ""
L["Set saved"] = ""

Thanks very much for your input and correction.
zhTW is Traditional Chinese, zhCN is Simplified Chinese, so they're some different.

i didnt use addon so not sure it's 100% correct,

as zhTW:
L["Right-Click"] = "右鍵點擊"
L["Left-Click"] = "左鍵點擊"
L["Middle-Click"] = "中鍵點擊"
L["Equipment Sets:"] = "套裝設定:"
L["Equip Set"] = "裝備套裝"
L["Set Manager"] = "套裝管理"
L["Save Set"] = "儲存套裝"
L["Set saved"] = "套裝已儲存"

as zhCN:
L["Right-Click"] = "右键点击"
L["Left-Click"] = "左键点击"
L["Middle-Click"] = "中键点击"
L["Equipment Sets:"] = "套装设置:"
L["Equip Set"] = "装备套装"
L["Set Manager"] = "套装管理"
L["Save Set"] = "储存套装"
L["Set saved"] = "套装已储存"

ps. maybe can use global string such like EQUIPMENT_MANAGER.

pps. If you have interested on graphical option display i suggest 3 icon for mouse click:
Code:
LeftButton = " |TInterface\\TUTORIALFRAME\\UI-TUTORIAL-FRAME:13:11:0:-1:512:512:12:66:230:307|t "
RightButton = " |TInterface\\TUTORIALFRAME\\UI-TUTORIAL-FRAME:13:11:0:-1:512:512:12:66:333:411|t "
MiddleButton = " |TInterface\\TUTORIALFRAME\\UI-TUTORIAL-FRAME:13:11:0:-1:512:512:12:66:127:204|t "
it will show like this:
Last edited by EKE : 03-21-20 at 04:05 PM.
Report comment to moderator  
Reply With Quote
Unread 03-22-20, 08:34 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
[quote=EKE]
Originally Posted by gmarco
Hi,
are you saying that this the correct localization for "zhCN" and I have to use in the place of the ones I have used ?

...
Hi EKE,

thanks so much for your translations, for your input on the mouse icons (that I have used) and for EKEPlates (I was a long time user of Infinity Plates and then addicted to yours . I really can't play without them

Now I am playing with the plain blizzard ones just a little bit modified in aggro coloring but if I have to choose a nameplate addon the idea of infinity and ekeplates for me is really superior

BTW thanks so much for your help.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 03-22-20, 09:39 AM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 548
Uploads: 13
aaa what watthere's issue in EKP?
Report comment to moderator  
Reply With Quote
Unread 03-22-20, 09:56 AM  
almty1
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 132
Uploads: 3
Re: Re: Thanks

I kind of hate to ask for anything else. The last thing that would make this perfect for me is if the notes/officer notes showed up under the name. Frenemy has a good example of this.
Report comment to moderator  
Reply With Quote
Unread 03-22-20, 11:45 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Originally Posted by EKE
aaa what watthere's issue in EKP?
Nothing
I am using it:



But I am also trying to make a very simplified UI for my 2 sons and for them I prefer to re-use much of blizzard code I can. And less WTF possible

But as I said. nr.1 nameplate really.
We also write in the old InfinityPlate forum some years ago
https://www.wowinterface.com/downloa....html#comments

Take care
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 03-22-20, 12:43 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Re: Re: Re: Thanks

Originally Posted by almty1
I kind of hate to ask for anything else. The last thing that would make this perfect for me is if the notes/officer notes showed up under the name. Frenemy has a good example of this.
I don't like the idea to have a line below I prefer an approach like a mouse over ...



This because we have for every guild mate a Note and mostly an officer note and this will make the list loooong

I think in this way can work but I have to put an options to show/hide (and another error on start and interface --> addons --> gmGuildFriends --> Reset and ReloadUI)



I push this soon after doing some cosmetic change and permission check (are you officer ? can read the officer note ? etc etc )
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 03-22-20 at 12:44 PM.
Report comment to moderator  
Reply With Quote
Unread 03-22-20, 05:06 PM  
almty1
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 132
Uploads: 3
Re: Re: Re: Re: Thanks

Yes I'm an officer and can test it.
Report comment to moderator  
Reply With Quote
Unread 03-22-20, 06:24 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Re: Re: Re: Re: Re: Thanks

Originally Posted by almty1
Yes I'm an officer and can test it.


I dont mean that you are an officer or that can you read the officer note, I meant that I thought the program should check if the user is an officer to get the officer note.

But it was simpler ... if the user is not an officer it gets a "nil" officer note instead of the real one so I did no check at all easy way
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 03-22-20, 08:51 PM  
almty1
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 132
Uploads: 3
Re: Re: Re: Re: Re: Re: Thanks

Originally Posted by gmarco
Originally Posted by almty1
Yes I'm an officer and can test it.


I dont mean that you are an officer or that can you read the officer note, I meant that I thought the program should check if the user is an officer to get the officer note.

But it was simpler ... if the user is not an officer it gets a "nil" officer note instead of the real one so I did no check at all easy way
I like it, thank you I appreciate your work!
Report comment to moderator  
Reply With Quote
Unread 03-23-20, 05:42 AM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 548
Uploads: 13
as my exprience, cut line by your custom api will make Guild MotD strange -- at least in zh locale will be strange-- i think it happened because UTF-8

i do this to config width:
Code:
local width
if tooltip:GetWidth() > 200 then
	width = tooltip:GetWidth() + 100
else
	width = 300
end

local y, x = tooltip:AddLine()
tooltip:SetCell(y, 1, format(guildMotD), nil, "LEFT", 2, nil, 0, 0, width)
Last edited by EKE : 03-23-20 at 05:44 AM.
Report comment to moderator  
Reply With Quote
Unread 03-23-20, 05:57 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Originally Posted by EKE
as my exprience, cut line by your custom api will make Guild MotD strange -- at least in zh locale will be strange-- i think it happened because UTF-8

i do this to config width:
Code:
local width
if tooltip:GetWidth() > 200 then
	width = tooltip:GetWidth() + 100
else
	width = 300
end

local y, x = tooltip:AddLine()
tooltip:SetCell(y, 1, format(guildMotD), nil, "LEFT", 2, nil, 0, 0, width)
Hi EKE,

can you pls provide a screenshot of the problem before your fix and after because I was unable to figure it not having UTF8 chars

Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: