Download
(3Kb)
Download
Updated: 10-16-08 10:19 PM
Pictures
File Info
Updated:10-16-08 10:19 PM
Created:unknown
Downloads:4,180
Favorites:31
MD5:

GuildNotesTooltip

Version: 3.0.30000
by: AnduinLothar [More]

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

v1.1 (10/15/05)
-Fixed xml loading bug

v1.0 (10/14/05)
-First Release
Optional Files (0)


Post A Reply Comment Options
Unread 05-04-07, 09:03 AM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
WoW 2.x Compatibility:

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    <[email protected]>

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.
Report comment to moderator  
Reply With Quote
Unread 10-03-07, 09:06 PM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
Awesome work mate!

Question: What are those small note like icons on the right in your screenshot?
Report comment to moderator  
Reply With Quote
Unread 10-04-07, 01:58 AM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 23
NotesUNeed, CTMod has something similar as well as a few other player note addons.
Report comment to moderator  
Reply With Quote
Unread 01-20-08, 06:45 AM  
Nepturion
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
How do you make the addon apear on minimap... mine has disappeard, if this will not work with the new patch please update it, love this addon!
Report comment to moderator  
Reply With Quote
Unread 10-18-08, 11:14 PM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 293
Uploads: 9
Tooltip overlap

I'm getting the new tooltip on top of the Guild Member Options tooltip. Anyway to hide the Guild Member Options one?
Report comment to moderator  
Reply With Quote
Unread 10-19-08, 03:29 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 23
Re: Tooltip overlap

Originally posted by Kharthus
I'm getting the new tooltip on top of the Guild Member Options tooltip. Anyway to hide the Guild Member Options one?
You mean the right click drop down menu? right click again to hide it.
Report comment to moderator  
Reply With Quote
Unread 10-20-08, 02:18 AM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 293
Uploads: 9
Re: Re: Tooltip overlap

Originally posted by AnduinLothar
You mean the right click drop down menu? right click again to hide it.
Nm, Gymnast was moving the tooltip onto the Guild screen. I changed the options and it's fine now.
Report comment to moderator  
Reply With Quote
Unread 02-12-09, 12:43 AM  
Jeania
An Aku'mai Servant
 
Jeania's Avatar

Forum posts: 39
File comments: 170
Uploads: 0
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*۝*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: