Download
(5Kb)
Download
Updated: 02-22-22 12:04 PM
Addon for:
oUF.
Compatibility:
Eternity's End (9.2.0)
Updated:02-22-22 12:04 PM
Created:12-27-08 12:29 AM
Downloads:21,790
Favorites:88
MD5:

oUF Reputation  Popular! (More than 5000 hits)

Version: 90200.22-Release
by: p3lim [More]

Description

oUF Reputation is a element plug-in made for the unitframe framework oUF.
It does nothing by itself, and requires a layout that supports it to function.

It has the following features:

  • Reputation bar
  • Tags

For details on how to implement this in your own layout, please see the wiki:
https://github.com/p3lim-wow/oUF_Reputation/wiki

Feedback

If you have a question, please use the comments section on Curse/WoWInterface.
If you would like to report a bug or contribute to the project, please follow this link to get started.

Legal

Please see the LICENSE file.

Changes in 90200.22-Release:
  • Changed: Update Interface version
Archived Files (2)
File Name
Version
Size
Author
Date
90105.21-Release
5kB
p3lim
11-03-21 12:18 PM
90100.20-Release
5kB
p3lim
07-01-21 12:08 AM


Post A Reply Comment Options
Unread 01-07-12, 01:51 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 648
File comments: 204
Uploads: 4
Hi p3lim, when using the [standing] tag you don't get a string output like 'Neutral', or 'Exalted'. The return is instead the StandingID (http://www.wowwiki.com/API_TYPE_StandingId) which is not really helpful and definitely not pretty.

Are there plans to fix the standing tag? I tinkered around with it myself but I didn't get far, I reckon someone with your knowledge would be able to do this however.

I'd also like to point out that none of your tags are available upon first login, and you have to reload your UI for the text to update. Or change your watched faction I suppose.
__________________
All I see is strobe lights blinding me in my hindsight.
Last edited by Wimpface : 01-07-12 at 01:53 AM.
Report comment to moderator  
Reply With Quote
Unread 11-08-10, 04:35 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by Jaidynne
Is there a way to add auto-watching of reputation to this? Similar to XPBarNone? (I.E. If I'm doing quests for rep for lets say... I don't know, Sporegarr, then I go into ICC, It changes to watch Ashen Verdict?)

Thanks.
http://www.wowinterface.com/download...tionWatch.html
Report comment to moderator  
Reply With Quote
Unread 11-08-10, 04:07 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Hey p3lim. oUF_Experience and oUF_Reputation are both awesome.

I embedded both and added this to the reputation update function:

Code:
  reputation:SetStatusBarColor(FACTION_BAR_COLORS[standing].r, FACTION_BAR_COLORS[standing].g, FACTION_BAR_COLORS[standing].b)
  if reputation.bg then
    reputation.bg:SetVertexColor(FACTION_BAR_COLORS[standing].r, FACTION_BAR_COLORS[standing].g, FACTION_BAR_COLORS[standing].b)
  end
This will make the statusbar and the background that I created colored by faction colors.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 07-11-10, 12:01 PM  
Jaidynne
A Defias Bandit

Forum posts: 2
File comments: 49
Uploads: 0
Is there a way to add auto-watching of reputation to this? Similar to XPBarNone? (I.E. If I'm doing quests for rep for lets say... I don't know, Sporegarr, then I go into ICC, It changes to watch Ashen Verdict?)

Thanks.
Report comment to moderator  
Reply With Quote
Unread 09-10-09, 11:48 AM  
Icerat
A Fallenroot Satyr

Forum posts: 28
File comments: 46
Uploads: 0
Re: Re: Re: color

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.
Report comment to moderator  
Reply With Quote
Unread 09-07-09, 04:49 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Re: Re: color

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
Report comment to moderator  
Reply With Quote
Unread 09-07-09, 01:18 PM  
Icerat
A Fallenroot Satyr

Forum posts: 28
File comments: 46
Uploads: 0
Re: color

Is this possible? If so may i ask how?


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
Report comment to moderator  
Reply With Quote
Unread 08-27-09, 08:07 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
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
Report comment to moderator  
Reply With Quote
Unread 08-26-09, 04:20 PM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
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)
Report comment to moderator  
Reply With Quote
Unread 08-23-09, 12:28 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
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.
Report comment to moderator  
Reply With Quote
Unread 08-22-09, 07:57 PM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
I assume the one of github?
Report comment to moderator  
Reply With Quote
Unread 08-22-09, 03:30 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
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.
Report comment to moderator  
Reply With Quote
Unread 08-20-09, 11:27 AM  
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
Report comment to moderator  
Reply With Quote
Unread 08-19-09, 05:02 PM  
Aerials
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 76
Uploads: 4
I had the same problem and used your fix (changed oUF_Reputation to Set instead of Hook)...
Report comment to moderator  
Reply With Quote
Unread 08-15-09, 05:56 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
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
Report comment to moderator  
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.