AuldLangSyne

3 - note in the friend list

Addin a "[NOTE]" tag in the friend list (line1 and line2) will permit ppl to quickly see the note in the friend list.

(i did it already, would love to see this in release, so i can keep updating it)

Name Size MD5
FriendList.lua 11.0 KiB ed19082a92a74745652b5dc44d2b0b7b
User When Change
eviloz Tue, 25 Aug 2009 06:01:31

Added attachment FriendList.lua

Shefki Mon, 26 Jan 2009 08:58:52 Changed assigned to from Kemayo to Shefki
eviloz Thu, 30 Oct 2008 09:08:28 Create

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of eviloz eviloz Tue, 25 Aug 2009 06:09:04

    attached the changed FriendList.lua

    here the changes:

    added line 11:

    from

    local FriendList, Info
    if AuldLangSyne then
    

    to

    local FriendList, Info
    
    local notes = AuldLangSyne and (AuldLangSyne:HasModule("Note") and AuldLangSyne:GetModule("Note")) or AuldLangSyne_Note
    
    if AuldLangSyne then
    
    added line 204:

    from

    		["status"] = function(name, modifier) return colorify(name, modifier, friends:IsFriendOnline(name) and (friends:GetStatus(name) or '') or (Info and Info.db.realm[name] and FriendList:HowLongAgo(Info.db.realm[name].updated))) end,
    	}
    	local tagpattern = "%[([^:%]]+):?([^%]]*)%]"
    

    to

    		["status"] = function(name, modifier) return colorify(name, modifier, friends:IsFriendOnline(name) and (friends:GetStatus(name) or '') or (Info and Info.db.realm[name] and FriendList:HowLongAgo(Info.db.realm[name].updated))) end,
    		["note"] = function(name, modifier) return colorify(name, modifier, notes and notes.db.realm["friend"][name]) end,
    	}
    	local tagpattern = "%[([^:%]]+):?([^%]]*)%]"
    

    keep up the good work, thanks

  • Avatar of Ackis Ackis Tue, 27 Jan 2009 08:57:24

    Submit the code that you added yourself as a patch?

  • Avatar of eviloz eviloz Fri, 31 Oct 2008 06:50:26

    and... would be nice to toggle that multiline hint in the fubar tooltip

    i use the tooltip a lot, and that bottom line makes everything way more confusing


  • 3 comments

Facts

Last updated on
14 Dec 2009
Reported on
30 Oct 2008
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.

Reported by

Possible assignees

Votes (Total: +5, Average: +2.5)