The wiki page talk about a plugin for handling url's, I've actually written it :) (Nothing to do this evening)
My plugin it's attached to this message, feel free to test it.
If the author of IdChat want to, I'll commit it to the SVN Trunk.
Have fun
[EDIT] I've attached a new version, that use the Blizzar StaticPopup fonctionnality instead of FrameXML. If you've already downloaded the previous one, you can safely delete URLCopy.xml from your folder because this file isn't needed anymore.
If Industrial give me the permission, I will uploaded my work to the svn Trunk as soon as I can. (Thx Cladhaire for my account :D)
Well ofcource you have permission. Someone actually wants to help me!!!
Great work on the addon, Id. There's one thing though. In idChat2_ChannelNames, would it be possible to change all the channel1, channel2 etc options to enable to the user to add a list of channelnames they want replaced? I added a basic functionality of this to the addon ChatBox I've used up till now and is something I miss. This would also be a solution to what someone else pointed out about being able to disable/enable replacing channelnames. It'd also help if say a channel changes number it will still replace the names because it's not dependant on the channel number.
local _, _, fullChannelName, strippedChannelName = string.find(msg, "%[(%d\. ([^%s]+))%]");
if(strippedChannelName and shortChannelNames[string.lower(strippedChannelName)]) then
msg = string.gsub(msg, fullChannelName, shortChannelNames[string.lower(strippedChannelName)])
end
for each of the chatframe's AddMessage.
I could add this to the current idChat2_ChannelNames addon if you like or I guess I could just add it to a new one or such.
EDIT: Got a working version of the above mentioned code. Also added a <hide> keyword for all settings to completely remove the tag/channelname. If you want me to commit it to the SVN, do tell.
Would like that, been wanting to remove g or [G] from guild chat since its in a seperate chat frame and already know its guild chat because of its colour. Unable to do that in current idchat2 since it expects a <string> to be put in.
I need some help with the disable fade part. There is a possibility (via toggle) to turn it on and off. For some reason turning off is not possible, (else then disabling the add-on)
I am not sure if this has been requested or not however can you add two more modules for the idChat framework? I would love to see one for fontsize and one for justifying the text. Just to keep all my chatframe commands in one addon framework. This following is kinda how I was thinking it would work like:
To list fontsize options:
/idchat fontsize To enable/disable the module:
/idchat fontsize toggle To set the fontsize for a chatframe:
/idchat fontsize chatframe<number> set <number> To reset to the original or a safe value:
/idchat fontsize chatframe<number> reset
To list justify options:
/idchat justify To enable/disable the module:
/idchat justify toggle To set the justification for a chatframe:
/idchat justify chatframe<number> {left|right}
Do you think these are things that would be doable for idChat?
Isn't that like using a baseball bat to perform brain surgery? :)
I've had performance problems (like.. wow crashes) from using clearfont so a nice and neat chat interface to using the "SetChatWindowSize(index,size)" API call is really all I was shooting for. :) I will try and write it and see if it remotely works. Hehe.
Just updated this morning, and I seem to have lost timestamps on all sends to channels (guild, custom, general, etc). Says, emotes, etc still are getting timestamped.
Isn't that like using a baseball bat to perform brain surgery? :)
I've had performance problems (like.. wow crashes) from using clearfont so a nice and neat chat interface to using the "SetChatWindowSize(index,size)" API call is really all I was shooting for. :) I will try and write it and see if it remotely works. Hehe.
Writing this kind of modules for idChat is quit easy, have a look on stickychannels for example.
If you want, I can write the two modules you want (I'm not sure justifying is that easy, but I'll give a try ^^), but not before tuesday. I've some more important jobs to do before :P
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
One addition though you might consider: I always liked at ChatFrame 'Clear' function, and hacked it into yout idChat2_Scroll.lua module.
Well ofcource you have permission. Someone actually wants to help me!!!
I had a quick look at the wow API, but couldn't see any API calls that provided what I thought I'd need to do modify the code correctly.
Keep up the good work.
Thanks again for the work on idChat2 and feel free to make any comment on my work :)
Say you have a list of channel names such as
You'd then simply do a
for each of the chatframe's AddMessage.
I could add this to the current idChat2_ChannelNames addon if you like or I guess I could just add it to a new one or such.
EDIT: Got a working version of the above mentioned code. Also added a <hide> keyword for all settings to completely remove the tag/channelname. If you want me to commit it to the SVN, do tell.
I need some help with the disable fade part. There is a possibility (via toggle) to turn it on and off. For some reason turning off is not possible, (else then disabling the add-on)
Can some1 please help?
Thanks in advance
Grtz Ro
blizzard does this
To list fontsize options:
/idchat fontsize
To enable/disable the module:
/idchat fontsize toggle
To set the fontsize for a chatframe:
/idchat fontsize chatframe<number> set <number>
To reset to the original or a safe value:
/idchat fontsize chatframe<number> reset
To list justify options:
/idchat justify
To enable/disable the module:
/idchat justify toggle
To set the justification for a chatframe:
/idchat justify chatframe<number> {left|right}
Do you think these are things that would be doable for idChat?
You are welcome to add a justification module
I've had performance problems (like.. wow crashes) from using clearfont so a nice and neat chat interface to using the "SetChatWindowSize(index,size)" API call is really all I was shooting for. :) I will try and write it and see if it remotely works. Hehe.
Writing this kind of modules for idChat is quit easy, have a look on stickychannels for example.
If you want, I can write the two modules you want (I'm not sure justifying is that easy, but I'll give a try ^^), but not before tuesday. I've some more important jobs to do before :P