Download
(11 Kb)
Download
Updated: 12-02-11 03:41 PM
Pictures
File Info
Tested:Hour of Twilight 4.3
Updated:12-02-11 03:41 PM
Created:03-28-09 07:36 AM
Downloads:12,950
Favorites:88
MD5:
This AddOn is 4.3 compatible
nUI : InfoPanel [GuildChat]  Popular! (More than 5000 hits)
Version: 2.05.00
by: Xrystal [More]


This InfoPanel Plugin allows the user to have their guild related chat in a separate screen accessible as required. This one is using panel 15. Where identifiable it will use the last chat frame it used in an earlier game session otherwise it will use another window.

Requirements
WOW 4.3.0
nUI+ 5.07.21

Tested Environments
WOW 4.3.0
nUI+ 5.07.21


Slash Commands
Slash commands listed below will disable the plugin ready for removal of the addon. You can re-enable it again if you change your mind before logging out.

/nuigc enable - to enable it
/nuigc disable - to disable it

Localisations Available
enUS - US English
enGB - UK English
deDE - Deutsche ( German ) - Sanasi
esES - Espanol ( Spanish ) - jsr1976

If you wish to add your localization please post a copy of your translation with the localization code you use and I will endeavor to include it at the earliest convenience.

Known Caveats

Sometimes there is a delay when you first log in when you are not part of a guild ( data wise ).

The addon takes this into account and carries on processing as by the next update cycle or two you will see it flag up and update.

You are limited to 10 chatframe windows ( including the combat log ) and thus it is suggested that when you first decide to use this addon that you see if there are some chat frames no longer required that can be removed.
2.05.00
--------
TOC Update to show compatibility with 4.3.0

2.04.00
---------
TOC Update to show compatibility with WoW Version 4.2.0

2.03.00
--------
TOC Update to show compatibility with WoW Version 4.0.1
Fix to the removal of the now defunct global variables event,arg1,arg2 etc


2.02.01
-------
Added new Translate value to hold report of not being able to create
a new frame to use. This will need translating into deDE and esES when
possible.
Due to inconsistencies with the UPDATE_CHAT_WINDOWS event in connection
with the PLAYER_LOGIN event I have added another flag to take these into
account. However, testing is hard to do due to its intermittent behaviour.
Once I have confirmed that this addition has resolved the failure to disable
the plugin if unable to create the frame I will update the thread saying so.


2.02.00
-------
Rewritten to utilise new functions available.
Updated code to be compatible with 3.3.5 changes.
Now creates a window from one of the 10 available if not in use.
It also releases the window on log out to cater for removal of addon and allow window to be reused as required.
It may work with 3.3.3 but no guarantees.
Introduced a chatframe flag called infoPanel to track which frames are in use by infopanels

2.01.05
-------
Added esES localisation thanks to jsr1976 on these forums.

2.01.04
-------
Added deDE localisation thanks to Sanasi on these forums.

2.01.03
-------
Changed TOC to reflect 3.3 compatibility.

2.01.02
-------
Changed TOC to reflect 3.2 compatibility.

2.01.01
-------
Realised that the removal of the chat window wasn't working as planned. It will now correctly remove (delete) the chat window using a slash command /nuigc disable and can be re-enabled immediately with /nuigc enable. If you decide to remove the addon after calling /nuigc disable you will not get
the chat overwriting text problem. I could automatically do this on logging out but then any changes to the font will be affected to. Found out via other guild addons that you only need to call GUILD_ROSTER_UPDATE once to get the current up to date guild information before the addon starts.
So I call it once in VARIABLES_LOADED and again whenever you are offered an invite to a guild with GUILD_INVITE_REQUEST and GUILD_INVITE_CANCEL.

v2.01.00
---------
Recoded and cleaned up the code to make it more readable and changeable if that becomes necessary later on.

Added extra functions and events to keep track of the current status of the player guild including display of online and total guild members in the guild tab title.

Separated localization into separate files for future expansion posibitlities and using its own table instead of latching onto the nUI one.

Corrected SIMPLE_CHAT test so that the message only appears when the user has the simple chat option checked and not all the time.

RosterUpdate() function seems to throw out a system message whenever it is used on a character not in a guild. However, you need to call it at least once to update your characters that are in a guild.
So I cut down the calls to GuildRoster outside of Guild related functionality to a minimum to cut that message output.

v1.02.02
--------
Removed font settings so that player changes are not overridden. Corrected some code so that when addon is disabled it gets removed properly.

v1.02.01
--------
Changed Interface number in TOC to reflect 3.1.0 compatibility.

v1.02.00
---------
Now added GUILD_ACHIEVEMENT messages to guild window.

v1.01.00
--------
This InfoPanel Plugin allows the user to have their guild chat in a separate screen accessible as required.

For Users:
----------
Every 10 seconds ( seemed a reasonable time frame to use ) the addon will make a call to the GuildRoster before grabbing your Guild Name and rename the guild chat tab accordingly. If it is unable to locate a guild name it will mark you as not in guild. All guild chat including message of the day and
officer chat and achievements for other guild members should now be placed in this window. Also, the guild tab will show the number of members online and total count.

Changing Status Timer:
-------------------------------------
If you wish to change the time taken between tests then change the lua file so that 'chatrefresh_timer > 10.0' is changed to a higher number.


Foreign Language Versions
-------------------------
At the present this plugin does not support multi language settings.
enUS and enGB versions will work fine however and the ability to add new languages is possible by creating a new localization file and changing the nUI_InfoPanel_GuildChat_L values accordingly for said new file.
Optional Files (0)


Archived Files (14)
File Name
Version
Size
Author
Date
2.04.00
11kB
Xrystal
06-29-11 03:23 PM
2.03.00
12kB
Xrystal
10-14-10 11:44 AM
2.02.01
12kB
Xrystal
06-29-10 08:40 AM
2.02.00
11kB
Xrystal
06-25-10 04:47 PM
2.01.05
9kB
Xrystal
01-26-10 06:51 AM
2.01.04
8kB
Xrystal
01-24-10 02:08 PM
2.01.03
8kB
Xrystal
12-15-09 12:40 PM
2.01.02
8kB
Xrystal
08-06-09 10:11 AM
2.01.01
8kB
Xrystal
05-18-09 11:31 AM
2.01.00
7kB
Xrystal
05-08-09 04:23 PM
1.02.02
6kB
Xrystal
04-26-09 07:47 PM
1.02.01
6kB
Xrystal
04-17-09 12:57 AM
1.02.00
6kB
Xrystal
04-15-09 06:02 PM
1.01.00
6kB
Xrystal
03-28-09 07:36 AM


Post A Reply Comment Options
Old 10-14-10, 11:45 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 4469
File comments: 264
Uploads: 19
Patch 4.0.1 Compatibility Update

Due to changes Blizzard finalised in the use of global variables such as event, arg1,arg2 etc used in many addons were finally removed from the system and addons using them without defining them broke. Such as a few of my own addons I thought I had already fixed to work with the new rules but alas

It now seems to work with the new changes.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 06-26-10, 06:53 PM  
inteller3271
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Tyvm, for the quick fixes, so far so good.
inteller3271 is offline Report comment to moderator  
Reply With Quote
Old 06-25-10, 02:57 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 4469
File comments: 264
Uploads: 19
v2.02.00 Update

Very shortly I will be posting an update to both the addon's description and the file changes itself.

The addon has gone through a significant change behind the scenes with both a rewrite of sorts to include new functionality available to the developer as well as incorporation of the much needed changes brought on by the 3.3.5 patch for the US servers.

As per the original idea this automatically puts your guild chat in a new window and monitors guild affiliation to update the tab appropriately.

What is done different in this version is that it also changes the chat tab to just say "Guild Chat" if not recognised as being in a guild ( this sometimes happens first time you log in ) and Guild Chat: [GuildName] (online/total) if you are found to be in a guild. Any guild related event is watched and a roster check is made to update accordingly.

As I posted in the Whispers update notes this tracks a flag showing that it is an infopanel chatframe and thus not available for another infopanel addon ( that uses the flag as well ) to use. While it doesn't break the addon it does stop it from doing what it is supposed to do.

I have done as many tests that I could think of for both in guild and out of guild but cannot see anything untoward happening that isn't already covered in the whispers page.

Expect to see the update shortly once I have made my documentation up.
Last edited by Xrystal : 06-25-10 at 02:57 PM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 06-22-10, 12:06 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 4469
File comments: 264
Uploads: 19
3.3.5 Chat Changes and its effects on this addon

3.3.5 Chat Frame Changes
  • Players can now right-click on any chat type (Whisper, Trade, General, Party, Raid, etc.) and choose to move conversation types into separate windows. This will move that chat type to a separate tab in the Chat frame which can be undocked and moved anywhere on the screen.
    • Using the Move to Whisper Window option on a Whisper will place the conversation with that player in a separate tab.
    • Any time a conversation with another player is put into its own tab, the tab will glow when a new message is received.
  • Hovering over the Chat Frame and using the mouse wheel will allow players to scroll through chat text.
  • Players can select Classic Mode under Interface Options to keep the Chat Frame functionality closer to what it was prior to patch 3.3.5.
  • The Simple Chat User Interface option has been removed.

As you can see they have done alot of changes to how the chat system works. And this is the view for the users. Believe me there are a lot of behind the scene changes as well. While it has only partially broken my chat plugins it has made them react strangely. I was in the process of making more extensive changes to the addons when the patch hit so once I can get on a server to test and apply them I will introduce a fix to at least stop crashing of the nUI system due to the extra frames they have created.

In the mean time I would suggest doing without these addons for a while and see how the new chat system works to how you want. At the first opportunity I will try to incorporate the changes into the addons so they at least look presentable rofl. While I work on a new and improved chat system if Scott doesn't for nUI in general.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 05-08-10, 02:46 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 4469
File comments: 264
Uploads: 19
Re: Spam

Originally posted by werkware
Love the 1000's of spam i got for signing up for the full program
I assume you mean nUI ? If you mean this addon what do you mean by full ? There is only one version of guildchat plugin.

Unfortunately I didn't write nUI. You might want to put this comment in the nUI forums instead of a users addon page.

That said, the only mails I get from him are messages alerting to an update to the addon. I rarely if at all get anything else sent from Scott.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 05-08-10, 11:45 AM  
werkware
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Spam

Love the 1000's of spam i got for signing up for the full program
werkware is offline Report comment to moderator  
Reply With Quote
Old 05-01-10, 11:11 AM  
Fizban
A Murloc Raider

Forum posts: 7
File comments: 11
Uploads: 0
Thanks for all your efforts on this. It seems as though it may be a one or other situation.
I may just revert to the chat info_panel and see how that goes. Now that I am back I shall be playing more, so will give you some more feedback over the next few days....
Fizban is offline Report comment to moderator  
Reply With Quote
Old 05-01-10, 10:28 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 4469
File comments: 264
Uploads: 19
Edit: Scratch this if you've read it already rofl .. I might have to take another look at it all again and see what I figured out the first time round *rolls eyes*. Guess my comments were not as clear cut as I thought

---- IGNORE THIS FOR THE MOMENT AS IT MAY STILL BE WRONG -----
Hmm, I can't remember my exact tests on this now but based on my comments I suspect it needed to be set to CHANNEL specifically to handle joining and leaving of channels itself.

EG.

Code:
ChatFrame_RemoveAllChannels( gcframe );
ChatFrame_RemoveAllMessageGroups( gcframe );

ChatFrame_AddChannel(gcframe, "CHANNEL");   <-------
ChatFrame_AddChannel(gcframe, "AGAChat");
ChatFrame_AddChannel(gcframe, "AGAHunters");
ChatFrame_AddChannel(gcframe, "Restenford");
ChatFrame_AddChannel(gcframe, "MoontearsOrder");

ChatFrame_AddMessageGroup(gcframe, "GUILD");
ChatFrame_AddMessageGroup(gcframe, "GUILD_OFFICER");
ChatFrame_AddMessageGroup(gcframe, "GUILD_ACHIEVEMENT");
ChatFrame_AddMessageGroup(gcframe, "PARTY");
ChatFrame_AddMessageGroup(gcframe, "PARTY_LEADER");
ChatFrame_AddMessageGroup(gcframe, "RAID");
ChatFrame_AddMessageGroup(gcframe, "RAID_LEADER");
ChatFrame_AddMessageGroup(gcframe, "RAID_WARNING");
ChatFrame_AddMessageGroup(gcframe, "CHANNEL");
give that a go and see if it helps. If not I'll try and take another look at it over the next few days.
Last edited by Xrystal : 05-01-10 at 10:30 AM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 05-01-10, 09:33 AM  
Fizban
A Murloc Raider

Forum posts: 7
File comments: 11
Uploads: 0
YAY! This worked, thanks. Sorry for the delay in getting back to you... we were stranded on vacation and I had no access to test anything.

Edit - I spoke too soon. It appears that with this command inserted the system channels for GUILD etc stop having the joiners, leavers etc.
This may be because of the order I have the commands in, so here is what my file looks like at present.

ChatFrame_RemoveAllChannels( gcframe );
ChatFrame_RemoveAllMessageGroups( gcframe );
ChatFrame_AddMessageGroup(gcframe, "GUILD");
ChatFrame_AddMessageGroup(gcframe, "GUILD_OFFICER");
ChatFrame_AddMessageGroup(gcframe, "GUILD_ACHIEVEMENT");
ChatFrame_AddMessageGroup(gcframe, "PARTY");
ChatFrame_AddMessageGroup(gcframe, "PARTY_LEADER");
ChatFrame_AddMessageGroup(gcframe, "RAID");
ChatFrame_AddMessageGroup(gcframe, "RAID_LEADER");
ChatFrame_AddMessageGroup(gcframe, "RAID_WARNING");
ChatFrame_AddMessageGroup(gcframe, "CHANNEL");
ChatFrame_AddChannel(gcframe, "AGAChat");
ChatFrame_AddChannel(gcframe, "AGAHunters");
ChatFrame_AddChannel(gcframe, "Restenford");
ChatFrame_AddChannel(gcframe, "MoontearsOrder");
Last edited by Fizban : 05-01-10 at 09:53 AM.
Fizban is offline Report comment to moderator  
Reply With Quote
Old 04-10-10, 09:28 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 4469
File comments: 264
Uploads: 19
Oops .. change it to ChatFrame_AddChannel(gcframe, "CHANNEL"); That one was one of the tests I was making to see how to get it to do what you want so I know it doesn't bleed over. I guess the extra " messed things up rofl.

Edit: Oops again *slaps head* .. my apologies ..

Change it to the AddMessageGroup command like the guild ones except CHANNEL in the quotes.

That adds the following Message Events to that chat frames event watcher :

"CHAT_MSG_CHANNEL_JOIN",
"CHAT_MSG_CHANNEL_LEAVE",
"CHAT_MSG_CHANNEL_NOTICE",
"CHAT_MSG_CHANNEL_NOTICE_USER",
"CHAT_MSG_CHANNEL_LIST",
Last edited by Xrystal : 04-10-10 at 03:40 PM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 04-10-10, 08:34 AM  
Fizban
A Murloc Raider

Forum posts: 7
File comments: 11
Uploads: 0
Originally posted by Xrystal
Try adding the line
ChatFrame_AddChannel(gcframe, ""CHANNEL"");
in there as well as I think that handles any channel status messages too.
I must be doing something wrong... as soon as I include the line, exactly as you have it, the Guild related info_panel bleeds through all other info_panels. Should I be replacing ""CHANNEL"" with each of my specific channel names?

It doesnt seem to matter where I place the new line, I get the bleed through each time.

My section looks like this now...

ChatFrame_RemoveAllChannels( gcframe );
ChatFrame_RemoveAllMessageGroups( gcframe );
ChatFrame_AddChannel(gcframe, "AGAChat");
ChatFrame_AddChannel(gcframe, "AGAHunters");
ChatFrame_AddChannel(gcframe, "Restenford");
ChatFrame_AddChannel(gcframe, "MoontearsOrder");
ChatFrame_AddChannel(gcframe, ""CHANNEL"");

ChatFrame_AddMessageGroup(gcframe, "GUILD");
ChatFrame_AddMessageGroup(gcframe, "GUILD_OFFICER");
ChatFrame_AddMessageGroup(gcframe, "GUILD_ACHIEVEMENT");
ChatFrame_AddMessageGroup(gcframe, "PARTY");
ChatFrame_AddMessageGroup(gcframe, "PARTY_LEADER");
ChatFrame_AddMessageGroup(gcframe, "RAID");
ChatFrame_AddMessageGroup(gcframe, "RAID_LEADER");
ChatFrame_AddMessageGroup(gcframe, "RAID_WARNING");
Last edited by Fizban : 04-10-10 at 08:35 AM.
Fizban is offline Report comment to moderator  
Reply With Quote
Old 04-10-10, 05:53 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 4469
File comments: 264
Uploads: 19
Originally posted by Fizban
This worked at adding the channels to the infopanel. Thank you.
Having played with it for a while, I did notice that the joiners and leavers don't show up, but I can live with that if it means I keep nUI the way it is without extra chat windows and addons.
Try adding the line
ChatFrame_AddChannel(gcframe, ""CHANNEL"");
in there as well as I think that handles any channel status messages too.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 04-10-10, 04:11 AM  
Fizban
A Murloc Raider

Forum posts: 7
File comments: 11
Uploads: 0
Adding this line above the ChatFrame_AddMessageGroup lines with your specific custom channel name it will automatically tick the channel box and will receive the messages from the moment you log in. I won't add it by default though as the Chat plugin works regardless as a second display of chat messages.

ChatFrame_AddChannel(gcframe, "nUI");

Just replace nUI with the name of your custom channel and repeat as needed for each channel you want to keep activated.
This worked at adding the channels to the infopanel. Thank you.
Having played with it for a while, I did notice that the joiners and leavers don't show up, but I can live with that if it means I keep nUI the way it is without extra chat windows and addons.
Last edited by Fizban : 04-10-10 at 04:11 AM.
Fizban is offline Report comment to moderator  
Reply With Quote
Old 04-09-10, 03:23 PM  
Fizban
A Murloc Raider

Forum posts: 7
File comments: 11
Uploads: 0
WoW, thanks for such a quick response, and your efforts in testing it too.

Yes, it lets you set them, but then forgets them as soon as you log out. I tried adding them into the lua file along with the "standard" channels, but that also didnt work.

I am going to try your idea when I get back home and see how that works.
Fizban is offline Report comment to moderator  
Reply With Quote
Old 04-09-10, 08:39 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 4469
File comments: 264
Uploads: 19
Originally posted by Fizban
I do like this "extra" to the nUI addon, so thank you for your hard work.

One question, whether or not this is something for your addon or another on, this is great for adding "normal" channels, but is there something that can be done to include my own channels ie channels 4 - 9?
Hmm, not sure. Does it let you set the channels but just doesn't save them ? If so, try the [Chat] plugin which saves your channel changes.

I haven't played with custom channels myself so I am honestly not sure how they work. I will have to test it on the nUI guild server which has a chat channel and see what happens there.


Edit:
Okay, been testing this awhile and have finally figured out what you can do to get it to work rofl.

Adding this line above the ChatFrame_AddMessageGroup lines with your specific custom channel name it will automatically tick the channel box and will receive the messages from the moment you log in. I won't add it by default though as the Chat plugin works regardless as a second display of chat messages.

ChatFrame_AddChannel(gcframe, "nUI");

Just replace nUI with the name of your custom channel and repeat as needed for each channel you want to keep activated.
Last edited by Xrystal : 04-09-10 at 09:50 AM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: