This simple addon puts guild member's officer and player notes in a tooltip on the Guild Frame. Now it also shows their class, rank and location as well.
Suggested use: have each player update their own public note with their professions and have a way to easily track them without a complicated communications addon.
v3.0 (10/14/08)
-Updated for WoW 3.0
-Added tooltip to status list
v2.1 (09/22/07)
-Updated to show the tooltip even without a note
-Updated for WoW 2.2
v2.0 (05/05/07)
-Made it WoW 2.x compatible and added more info on tooltip. - Maziel
I don't suppose this addon still works? *hint hint* ^^
__________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Words to Remember:
"You never really learn much from hearing yourself talk." ~ George Clooney
**Jeania/Anjelie ~ Dalaran** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Made this add-on 2.x compatible and added some more info in the tooltip.
1. Download the mod that is available for download.
2. Open your "GuildNotesTooltip.toc" file with notepad and replace the content with:
Code:
## Interface: 20003
## Title: GuildNotesTooltip
## Notes: Puts guild member officer and player notes in a tooltip on the Guild Frame.
## Author: AnduinLothar
localization.lua
localization.de.lua
localization.fr.lua
GuildNotesTooltip.lua
GuildNotesTooltip.xml
3. Open your "GuildNotesTooltip.lua" file with notepad and replace the content with:
Code:
--------------------------------------------------------------------------
-- GuildNotesTooltip.lua
--------------------------------------------------------------------------
--[[
GuildNotesTooltip
-Puts guild member officer and player notes in a tooltip on the Guild Frame.
By: AnduinLothar <karlkfi@cosmosui.org>
Change Log:
v1.0 (10/14/05)
-First Release
v1.1 (10/15/05)
-Fixed xml loading bug
v2.0 (05/05/07)
-Made it WoW 2.x compatible and added more info on tooltip. - Maziel
$Id: $
$Rev: $
$LastChangedBy: $
$Date: $
]]--
-- <= == == == == == == == == == == == == =>
-- => Function Definition
-- <= == == == == == == == == == == == == =>
function GuildNotesTooltip_FriendsFrame_SetupHooks()
for i=1, GUILDMEMBERS_TO_DISPLAY do
local frame = getglobal("GuildFrameButton"..i);
local oldFuncOnEnter = frame:GetScript("OnEnter");
if (oldFuncOnEnter) then
frame:SetScript("OnEnter", function() oldFuncOnEnter(); GuildNotesTooltip_ShowGuildMemberTooltip(); end);
else
frame:SetScript("OnEnter", GuildNotesTooltip_ShowGuildMemberTooltip);
end
local oldFuncOnLeave = frame:GetScript("OnLeave");
if (oldFuncOnLeave) then
frame:SetScript("OnLeave", function() oldFuncOnLeave(); GuildNotesTooltip_HideTooltip(); end);
else
frame:SetScript("OnLeave", GuildNotesTooltip_HideTooltip);
end
end
end
function GuildNotesTooltip_ShowGuildMemberTooltip()
local name, rank_name, rank_number, level, class, Location, guild_note, guild_officernote = GetGuildRosterInfo(FauxScrollFrame_GetOffset(GuildListScrollFrame)+this:GetID());
if ((guild_note) and (guild_note ~= "")) or ((guild_officernote) and (guild_officernote ~= "")) then
GuildNotesTooltip:SetOwner(this, "ANCHOR_NONE");
GuildNotesTooltip:ClearAllPoints();
GuildNotesTooltip:SetPoint("TOPLEFT", this, "BOTTOMLEFT", 5, 0);
local string = "";
if ((guild_note) and (guild_note ~= "")) and ((guild_officernote) and (guild_officernote ~= "")) then
string = "|cffff0000"..rank_name.." "..name.."|r\n|cFF8080FFLevel "..level.." "..class.."|r\n|cFFffffFFCurrently in "..Location.."|r\n\n"..GUILD_NOTES_TOOLTIP_PUBLIC_NOTE.."\n|c77ff7700"..guild_note.."|r\n\n"..GUILD_NOTES_TOOLTIP_OFFICERS_NOTE.."\n|c77ff7700"..guild_officernote.."|r\n\n|cFFcccccc(click to edit)|r";
elseif ((guild_note) and (guild_note ~= "")) then
string = "|cffff0000"..rank_name.." "..name.."|r\n|cFF8080FFLevel "..level.." "..class.."|r\n|cFFffffFFCurrently in "..Location.."|r\n\n"..GUILD_NOTES_TOOLTIP_PUBLIC_NOTE.."\n|c77ff7700"..guild_note.."|r\n\n|cFFcccccc(click to edit)|r";
else
string = "|cffff0000"..rank_name.." "..name.."|r\n|cFF8080FFLevel "..level.." "..class.."|r\n|cFFffffFFCurrently in "..Location.."|r\n\n"..GUILD_NOTES_TOOLTIP_OFFICERS_NOTE.."\n|c77ff7700"..guild_officernote.."|r\n\n|cFFcccccc(click to edit)|r";
end
GuildNotesTooltip:SetText(string);
end
end
function GuildNotesTooltip_HideTooltip()
if (GuildNotesTooltip:IsVisible()) then
GuildNotesTooltip:Hide();
end
end
-- <= == == == == == == == == == == == == =>
-- => Execution
-- <= == == == == == == == == == == == == =>
GuildNotesTooltip_FriendsFrame_SetupHooks();
Save the changed files and you should be all done. Works for me. I didn't want to upload it all done, felt that this is the authors work, all I did was make his stuff work in WoW 2.x and added some more information in the tool tip.