Its made by a not-too-popular addon author, but imo he got this one right in terms of its non-intrusive approach to URL grabbing, and no frames popping up, etc.
Thanks for feedback, I'll give a look on ReURL tuesday afternoon :D For time I have an exam to prepare ^^
[edit] I look briefly on the code, it's true that's a good way to copy url :) I'll write a patch for idChat2_URLCopy to propose these two way of handling URLs.
I've added this way of showing URL in the SVN :)
idChat2_UrlCopy now have an option to let you choose if you want to show URLs in a popup or in you chat editbox (like ReURL).
Seems channelnames broken here too, which I got from the SVN trunk today. Wiped the lua files just to be sure it wasn't old settings and tried to set a profile, but no change. Reverted back to an old version on http://svn.wowace.com/files/
Did that and I think I know now what fucks it up - idChat2_ChannelNames seems to have a problem with '[' and ']' (from idChat2_Timestamps) when using custom texts.
I use [%H:%M] as my timestamp format and when I do that the channels with custom text replacements are borked (no timestamp and whole line in white).
If I use a timestamp format without the brackets, it works as intended.
Error... when I point my mouse across or over the "Channels" filter section.
Here what cause the problem, if I make a 5th channel /5 ... the filter will popup a error and when i /leave 5, back to normal. So I can't make more than 4 channels anymore. I am not sure this is Blizzard bug or cause by other addons. I need to retest later in the day again.
Did that and I think I know now what fucks it up - idChat2_ChannelNames seems to have a problem with '[' and ']' (from idChat2_Timestamps) when using custom texts.
I use [%H:%M] as my timestamp format and when I do that the channels with custom text replacements are borked (no timestamp and whole line in white).
If I use a timestamp format without the brackets, it works as intended.
Did that, forgot to mention in my post :p Thing is, the /idhchat channelnames commands work, but if I do e.g "/idchat channelnames guild off" nothing appears, if I do "/idchat channelnames guild set [G]" it says its been set to [G] but the change doesn't take effect, even after a client restart.
Figured I'd toss may error hat into the ring... I'm getting the EXACT same FloatingChatFrame.lua line 476 error and I don't use idChat2. So I'm assuming this is either a new Blizzard error of some kind or something else is breaking it.
oh and I was wondering, I was previously using idchattimestamps(1) and edited the lua to get the timestamps on the right like so:
if name == "ChatFrame2" then
text = string.format('%s [%s]', text, date('%H:%M:%S'))
else
text = string.format('[%s] %s', date('%H:%M:%S'), text)
end
just stole it from someone in the post your ui screenshot topic, but anyway.
how can I do this with the idchattimestamps2 lua?
oh and I was wondering, I was previously using idchattimestamps(1) and edited the lua to get the timestamps on the right like so:
if name == "ChatFrame2" then
text = string.format('%s [%s]', text, date('%H:%M:%S'))
else
text = string.format('[%s] %s', date('%H:%M:%S'), text)
end
just stole it from someone in the post your ui screenshot topic, but anyway.
how can I do this with the idchattimestamps2 lua?
Replace the original AddMessage function with this one :
if self.db.profile.Color.On then
local color = string.format("%02x%02x%02x", self.db.profile.Color.r*255, self.db.profile.Color.g*255, self.db.profile.Color.b*255)
text = string.format('|cff'..color..'%s|r %s', text, date(self.db.profile.Format))
else
text = string.format('%s %s', text, date(self.db.profile.Format))
end
self.hooks[frame].AddMessage.orig(frame, text, red, green, blue, id)
I forgot to mention, I only want the timestamps on the right in "chatframe2" (aka my combatlog) because it's justified to the right. I tinkered around a bit and tried a few things but since I don't know anything about coding I've only failed so far. :(
I updated idChat2_Buttons to allow toggling show/hide the chat menu and the buttons on chat frames indivually. For those, like me, who want to show the buttons for one chat window, but hide them for everything else. Hopefully folks like this change. :)
What good is publishing a idChat2 plugin if idChat2 isn't easily available? :)
I've added this way of showing URL in the SVN :)
idChat2_UrlCopy now have an option to let you choose if you want to show URLs in a popup or in you chat editbox (like ReURL).
Error... when I point my mouse across or over the "Channels" filter section.
I use [%H:%M] as my timestamp format and when I do that the channels with custom text replacements are borked (no timestamp and whole line in white).
If I use a timestamp format without the brackets, it works as intended.
Here what cause the problem, if I make a 5th channel /5 ... the filter will popup a error and when i /leave 5, back to normal. So I can't make more than 4 channels anymore. I am not sure this is Blizzard bug or cause by other addons. I need to retest later in the day again.
Did that, forgot to mention in my post :p Thing is, the /idhchat channelnames commands work, but if I do e.g "/idchat channelnames guild off" nothing appears, if I do "/idchat channelnames guild set [G]" it says its been set to [G] but the change doesn't take effect, even after a client restart.
if name == "ChatFrame2" then
text = string.format('%s [%s]', text, date('%H:%M:%S'))
else
text = string.format('[%s] %s', date('%H:%M:%S'), text)
end
just stole it from someone in the post your ui screenshot topic, but anyway.
how can I do this with the idchattimestamps2 lua?
Replace the original AddMessage function with this one :
Also, hiding the buttons doesn't hide the Chat (topmost "chatballoon" icon) button. I had to use Visor to hide it. Please correct this. Thanks.