Category: oUF: Plugins
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
p3lim's Portal Bug Reports Feature Requests

This file is a Addon for oUF by haste. You must have that installed before this Addon will work.

Author:
Version:
30200.2-Release
Date:
08-22-2009 05:20 PM
Size:
1.29 Kb
Downloads:
5,361
Favorites:
96
MD5:
oUF Reputation   Popular! (More than 5000 hits)
Description:
oUF Reputation is a element plug-in made for the UnitFrame framework oUF.
It is required that you have this addon updated at all times to make everything work as it should.
You can download oUF by clicking on the link located under the "Download" button on the right.


Features:
  • Reputation bar
  • Informational text on bar
  • Informational tooltip

Note:
Read the documentation inside the lua file for usage.
You need to add this addon to your layout's toc metadata!


Click here and follow steps how to submit a bug
  Change Log - oUF Reputation
Full changelog can be found on GitHub:
http://github.com/p3lim/oUF_Reputation/commits/master/
  Archived Versions - oUF Reputation
File Name
Version
Size
Author
Date
30200.1-Beta
1kB
p3lim
08-08-2009 12:07 PM
30200.8
1kB
p3lim
08-04-2009 04:47 PM
30100.7
1kB
p3lim
04-17-2009 11:33 AM
30000.6
1kB
p3lim
02-08-2009 10:14 AM
30000.5
1kB
p3lim
02-07-2009 04:18 PM
30000.4
1kB
p3lim
01-14-2009 03:39 PM
  Comments - oUF Reputation
Post A Reply Comment Options
Old 09-10-2009, 01:48 PM  
Icerat
A Fallenroot Satyr

Forum posts: 23
File comments: 41
Uploads: 0
Re: Re: Re: color

Quote:
Originally posted by p3lim
Use that table along with the function found here:
http://github.com/p3lim/oUF_P3lim/co...ae0204aee5ca11
Many Many thanks m8 worked a treat you are da man
Thanks again.
Icerat is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-07-2009, 06:49 PM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 550
File comments: 834
Uploads: 18
Re: Re: color

Quote:
Originally posted by Icerat
Is this possible? If so may i ask how?
Use that table along with the function found here:
http://github.com/p3lim/oUF_P3lim/co...ae0204aee5ca11
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-07-2009, 03:18 PM  
Icerat
A Fallenroot Satyr

Forum posts: 23
File comments: 41
Uploads: 0
Re: color

Is this possible? If so may i ask how?


Quote:
Originally posted by Quokka
How would I get it to color the bar

Code:
local FACTION_BAR_COLORS = {
	[0] = {r = 1, g = 0.3, b = 0.22}, 
	[1] = {r = 0.8, g = 0.3, b = 0.22}, -- hated, dark red
	[2] = {r = 1, g = 0, b = 0},		-- hostile, bright red
	[3] = {r = 1, g = 0.5, b = 0},		-- unfriendly, orange
	[4] = {r = 0.9, g = 0.7, b = 0},	-- neutral, yellow
    [5] = {r = 0, g = 0.6, b = 0.1},	-- friendly, dark green
	[6] = {r = 0, g = 1, b = 0},		-- honored,	bright green
	[7] = {r = 0.25, g = 0.4, b = 0.9},	-- reverted, blue
	[8] = {r = 0.6, g = 0.2, b = 0.8},	-- exalted, purple
}
aint working any sugestions
Icerat is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-27-2009, 10:07 AM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 550
File comments: 834
Uploads: 18
Quote:
Originally posted by MoonWitch
Will do next time then Again, sorry.
But I do have to hand it to you, I love the plugs you've written (or rather, I <3 your code, it's sexy)
Thanks, that is my intention
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-26-2009, 06:20 PM  
MoonWitch
A Cliff Giant
Interface Author - Click to view interfaces

Forum posts: 70
File comments: 130
Uploads: 8
Will do next time then Again, sorry.
But I do have to hand it to you, I love the plugs you've written (or rather, I <3 your code, it's sexy)
MoonWitch is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-23-2009, 02:28 PM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 550
File comments: 834
Uploads: 18
Quote:
Originally posted by MoonWitch
I assume the one of github?
GitHub = Alpha versions
WoWI/Curse = Beta/Release versions

When I tag an addon on GitHub the version gets updated on Curse and WoWI.
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-22-2009, 09:57 PM  
MoonWitch
A Cliff Giant
Interface Author - Click to view interfaces

Forum posts: 70
File comments: 130
Uploads: 8
I assume the one of github?
MoonWitch is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-22-2009, 05:30 PM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 550
File comments: 834
Uploads: 18
Tooltip issues are now fixed, but for the love of g*d, use the bug submit feature!
I don't go looking at comments constantly, I don't see what you write here.
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-20-2009, 01:27 PM  
poa
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
I had the same trouble. I looked at how it was done in oUF_expierense and change one string by analogy in that way:
line 55 before:
Code:
			bar:HookScript('OnLeave', GameTooltip_OnLeave)
after:
Code:
			bar:HookScript('OnLeave', GameTooltip_Hide)
And it works
poa is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-19-2009, 07:02 PM  
Aerials
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 9
File comments: 28
Uploads: 2
I had the same problem and used your fix (changed oUF_Reputation to Set instead of Hook)...
Aerials is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-15-2009, 07:56 AM  
MoonWitch
A Cliff Giant
Interface Author - Click to view interfaces

Forum posts: 70
File comments: 130
Uploads: 8
Hey P3lim,

I've used oUF_Exp and rep for a while now, with the mouseover (thanks for the lil piece of code which does it again btw ).

But on oUF_Reputation (latest from git or from here - both) I get an error that HookScript on line 55 and 56 is wrong. When I change those in SetScript, it works fine (albeit without mouseover).

Originally, I didn't have a statusbar, just the text and a hidden bar.

This is how I call oUF_Reputation in my layout:
Code:
	if(IsAddOnLoaded"oUF_Reputation" and unit == "player" and UnitLevel("player") == MAX_PLAYER_LEVEL) then
		self.Reputation = CreateFrame("StatusBar", nil, self)
		self.Reputation:SetHeight(5)
		self.Reputation:SetStatusBarTexture(statusbar)
		self.Reputation:SetStatusBarColor(unpack(colors.health))
		self.Reputation:SetPoint("TOPLEFT", self.Power, "BOTTOMLEFT", 0, -1)
		self.Reputation:SetPoint("TOPRIGHT", self.Power, "BOTTOMRIGHT", 0, -1)
--		self.Reputation:SetAlpha(0)

		self.Reputation:SetBackdrop{
			bgFile = "Interface\\ChatFrame\\ChatFrameBackground", tile = true, tileSize = 16,
			insets = {left = -2, right = -2, top = -1, bottom = -1},
			}
		self.Reputation:SetBackdropColor(0, 0, 0, .3)
		self.Reputation.Tooltip = true

		self.Reputation.Text = self.Reputation:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
		self.Reputation.Text:SetPoint("CENTER", self.Reputation, "CENTER")
		
		self.Reputation:HookScript('OnEnter', function(self) self.Reputation:SetAlpha(1) end)
		self.Reputation:HookScript('OnLeave', function(self) self.Reputation:SetAlpha(0) end)
	end
MoonWitch is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-09-2009, 09:22 AM  
ckramme
An Aku'mai Servant

Forum posts: 39
File comments: 62
Uploads: 0
ahh sorry then
ckramme is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-09-2009, 06:04 AM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 550
File comments: 834
Uploads: 18
Quote:
Originally posted by ckramme
Got this error just now.
I have bugsack, oUF, oUF_Caellian and oUF_Reputation loaded.
Code:
[2009/08/09 08:16:50-2-x1]: oUF_Reputation-30200.1-Beta\oUF_Reputation.lua:55: Usage: oUF_Caellian_player_Reputation:HookScript("type", function)
oUF_Reputation-30200.1-Beta\oUF_Reputation.lua:55: in function `enable'
oUF-1.3.16\ouf.lua:431: in function `EnableElement'
oUF-1.3.16\ouf.lua:278: in function <Interface\AddOns\oUF\ouf.lua:231>
oUF-1.3.16\ouf.lua:296: in function <Interface\AddOns\oUF\ouf.lua:293>
oUF-1.3.16\ouf.lua:346: in function `Spawn'
oUF_Caellian\oUF_cMain.lua:1034: in main chunk
Edit: Spelling
Thats a layout error
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-09-2009, 02:19 AM  
ckramme
An Aku'mai Servant

Forum posts: 39
File comments: 62
Uploads: 0
Got this error just now.
I have bugsack, oUF, oUF_Caellian and oUF_Reputation loaded.
Code:
[2009/08/09 08:16:50-2-x1]: oUF_Reputation-30200.1-Beta\oUF_Reputation.lua:55: Usage: oUF_Caellian_player_Reputation:HookScript("type", function)
oUF_Reputation-30200.1-Beta\oUF_Reputation.lua:55: in function `enable'
oUF-1.3.16\ouf.lua:431: in function `EnableElement'
oUF-1.3.16\ouf.lua:278: in function <Interface\AddOns\oUF\ouf.lua:231>
oUF-1.3.16\ouf.lua:296: in function <Interface\AddOns\oUF\ouf.lua:293>
oUF-1.3.16\ouf.lua:346: in function `Spawn'
oUF_Caellian\oUF_cMain.lua:1034: in main chunk
Edit: Spelling

Last edited by ckramme : 08-09-2009 at 02:20 AM.
ckramme is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-08-2009, 11:32 AM  
MoonWitch
A Cliff Giant
Interface Author - Click to view interfaces

Forum posts: 70
File comments: 130
Uploads: 8
Quote:
Originally posted by Caellian
Oh man you're so wrong about that, countless are those p3lim helped and not just once...

Unfortunately you are asking for something that's clearly stated on every single plugin description page, so basically "read before posting".
I'm backing P3lim as well here. He's painfully helpful, but doesn't sugarcoat things. He says it like it is.

Which brings me to : Thanks man - for the mouseover "hack" ya posted :P
MoonWitch is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.