WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   nUI: Suggestion Box (http://www.wowinterface.com/forums/forumdisplay.php?f=91)
-   -   Guild members and REALID friends online (http://www.wowinterface.com/forums/showthread.php?t=45135)

xFezx 11-13-12 08:48 AM

Guild members and REALID friends online
 
Am I missing it or can it be added? I woul like to see how many people from the guild are online and also how many real ID friends are online. Is this and easy fix slash command or not included?

Right clicking would open up either guild roster or friends list.

Chmee 11-13-12 09:04 AM

Not included in nUI, AFAIK. I use Ara_broker_guild_friends

xFezx 11-13-12 09:17 AM

thanks for the answer and addon suggestion

EDIT: could not find that addon you mentioned, any link?

Daveo77 11-13-12 01:23 PM

Here is link to Ara Broker Guild & Friends addon: http://www.wowinterface.com/download...ldFriends.html

twizt3dkitty 12-04-12 09:54 PM

socialstate is also a broker/titan mod that does this rather well

http://www.curse.com/addons/wow/broker_socialstate

Xrystal 12-05-12 06:34 AM

Also, my guild chat plugin for the infopanel shows how many guild members are online and your current reputation level with the guild in the chat tab.

twizt3dkitty 12-10-12 06:41 AM

Quote:

Originally Posted by Xrystal (Post 270225)
Also, my guild chat plugin for the infopanel shows how many guild members are online and your current reputation level with the guild in the chat tab.

Really? I never knew that, Ill have to look into that, and as a request you should take a look at nui6 infopanel updates since you wrote the majority of infopanels lol :)

Xrystal 12-10-12 03:18 PM

rofl been there done that. guild chat is the first Ive started converting to nUI6 version. There are definitely some code changes needed.

twizt3dkitty 12-10-12 03:46 PM

now this is pretty far out there, and not necessarily a request, but more of do you think its possible, to integrate guild, and trade/general into one panel. The only real reason I never really used guildchat panel was because I didnt feel a need to have it in two places.

Xrystal 12-10-12 05:25 PM

Unfortunately the Chat frame docking system that blizz started to implement isn't complete so at the moment there is literally only the one GENERAL_CHAT_DOCK docking system.

Every so often I check to see if they have made any changes but so far they haven't removed the hardcoded segments that force frames to dock to the main chat frame rather that one you specify. I get close but some blocks of code aren't flexible enough to work on any dock frame that may be created.

The best way for what you want would be my chat frame plugin which is in essence another general chat frame that remembers your settings and uses that frame for whatever chat messages you want to use with it. The Whispers and Guild plugins are different in that they are hard coded to listen to only the specific messages.

spiel2001 12-10-12 08:09 PM

The nUI6 version should be easier to implement. If you're having problems with it, let me know. I did create a template file for you to work from and you should be able to look at the InfoPanel_Chat and InfoPanel_ZoneMap plugins I did for guidance. It's very simple and straight forward now.

Quote:

Originally Posted by Xrystal (Post 270505)
rofl been there done that. guild chat is the first Ive started converting to nUI6 version. There are definitely some code changes needed.


Xrystal 12-10-12 08:31 PM

Yeah I used those. Its just making sure the right parts of my code are in the right place and your examples don't use the OnEvent routines so had to figure that out. It kinda works .. just not perfect like in nUI5 so some code might be in the wrong area or called at the wrong time now.

spiel2001 12-11-12 05:11 AM

The trick to using OnEvent stuff is to make the InfoPanelPlugin a frame instead of an empty table. You can then assign events to that frame.

The EnablePlugin is, itself, event driven. It doesn't get called until the "PLAYER_LOGIN" event fires. So you can do anything else you want to do in your own event handlers before then. That said, technically, you shouldn't move things around until you get that call to EnablePlugin since we don't know if the user has turned your plugin off.

spiel2001 12-11-12 05:31 AM

By way of followup... the two key elements of the nUI6 info panel system are the EnablePlugin and SetContainer. You aren't guaranteed the order they will be called in, but once you have both, then you are all set. At that point you know that the addons are loaded, variables are loaded, the nUI6 frames have all been created, etc. So you should be able to access everything you need without having to use a lot of event handling. (which was kind of my goal).

The only other significant function you have to worry about is the ResizePlugin -- that will get called if/when the user is customizing their layout. It shouldn't get called otherwise.

The SetConfig() method will get called during the "PLAYER_LOGIN" event as well... it is guaranteed to be called before the first call to EnablePlugin is made.

In theory, you shouldn't have to use an event handler at all.

Xrystal 12-11-12 02:47 PM

Thanks Scott.

I'll take a look at it again next opportunity and see what i need to change to get it to work how it used to.

Xrystal 12-16-12 02:27 PM

4 Attachment(s)
okay, think I got it so that it all works consistently.

But now it consistently displays the chatframe when it first displays regardless of which infopanel is displayed. Picture 1

Once you toggle to the correct frame everything is fine. Picture 2

And then when you toggle back to another infopanel it stays hidden. Picture 3


Can you think of what is missing or possibly in the wrong place Scott?


And for those that want to try it out. Here's the current version.


All times are GMT -6. The time now is 09:00 PM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC