Download
(1 Kb)
Download
Updated: 08-30-12 06:38 AM
Addon for:
oUF.
Compatibility:
Mists of Pandaria (5.0.4)
Updated:08-30-12 06:38 AM
Created:12-26-08 11:29 PM
Downloads:14,849
Favorites:90
MD5:
oUF Reputation  Popular! (More than 5000 hits)
Version: 50001.8-Release
by: p3lim [More]
Supported oUF Version: 1.6.x

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
- Basic tags included


Note:
Wiki found on my GitHub page for basic implementation:
http://github.com/p3lim-wow/oUF_Reputation/wiki
You need to add this addon to your layout's toc metadata!


Issues & Requests
To submit a bug report of feature request, please visit the Issue Tracker on my GitHub page.
Changes in 50001.8-Release
  • Let the packager(s) set the version number
  • Use double underscore to avoid tainting blizzard
  • Remove support for oUF 1.5.x
  • Bump Interface version
Changes in 40300.7-Release
  • Fix the standing tag
  • Make sure all tags update properly
  • Support 1.6 version too
  • Bump interface
  • Update version
Changes in 40200.6-Release
  • Normalize values
  • Add option to color bar by standing
  • Update version
Changes in 40000.5-Release
  • Register the tags outside of the Enable function
  • Wrap in function to prevent bugs
  • Update version
Changes in 40000.4-Release
  • Remove comments
  • Remove tooltip option
  • Update to the new override method
  • Add :ForceUpdate()
  • Back to basics
  • Update TOC to 4.0
  • Embedding greatness!
  • Update version
  • Add some basic tags
  • Update version
Changes in 30200.2-Release
  • Add a real function for OnLeave script
  • Update version
Archived Files (11)
File Name
Version
Size
Author
Date
40300.7-Release
1kB
p3lim
01-07-12 07:34 AM
40200.6-Release
1kB
p3lim
10-03-11 07:26 PM
40000.5-Release
1kB
p3lim
10-14-10 11:56 AM
40000.4-Release
1kB
p3lim
10-13-10 12:40 PM
30200.2-Release
1kB
p3lim
08-22-09 03:20 PM
30200.1-Beta
1kB
p3lim
08-08-09 10:07 AM
30200.8
1kB
p3lim
08-04-09 02:47 PM
30100.7
1kB
p3lim
04-17-09 09:33 AM
30000.6
1kB
p3lim
02-08-09 08:14 AM
30000.5
1kB
p3lim
02-07-09 02:18 PM
30000.4
1kB
p3lim
01-14-09 01:39 PM


Post A Reply Comment Options
Old 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.
Jaidynne is offline Report comment to moderator  
Reply With Quote
Old 11-08-10, 03:07 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
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.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Old 11-08-10, 03:35 PM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
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
p3lim is offline Report comment to moderator  
Reply With Quote
Old 01-07-12, 12:51 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 615
File comments: 258
Uploads: 23
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 12:53 AM.
Wimpface is offline Report comment to moderator  
Reply With Quote
Old 01-07-12, 06:19 AM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
I don't use this plugin myself, I just update it when it needs to be.
So, I am kind of dependant on bug reports.

Originally Posted by Wimpface
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.
This is new, I will fix that.

Originally Posted by Wimpface
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.
This is correct, I will see if I can find out why.
Last edited by p3lim : 01-07-12 at 06:47 AM.
p3lim is offline Report comment to moderator  
Reply With Quote
Old 01-07-12, 06:28 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 615
File comments: 258
Uploads: 23
Originally Posted by p3lim
They update for me, could I have a look at your code?
Code:
local function PostUpdateReputation(self, event, unit, bar)
	local _, id = GetWatchedFactionInfo()
	bar:SetStatusBarColor(FACTION_BAR_COLORS[id].r, FACTION_BAR_COLORS[id].g, FACTION_BAR_COLORS[id].b)
end
Code:
if(IsAddOnLoaded('oUF_Reputation')) and UnitLevel('PLAYER') == 85 then
		-- Position and size
		local Reputation = CreateFrame('StatusBar', nil, self)
		Reputation:SetPoint('BOTTOM', UIParent, 'BOTTOM', -1, 1)
		Reputation:SetHeight(21)
		Reputation:SetWidth(471)
		Reputation:SetFrameLevel(9)
		Reputation:SetFrameStrata('HIGH')
		Reputation:SetStatusBarTexture(Media.statusBar)
		Reputation:SetAlpha(0)

		-- Color the bar by current standing
		Reputation.colorStanding = true

		-- Text display
		local Value = Reputation:CreateFontString(nil, 'OVERLAY')
		Value:SetAllPoints(Reputation)
		Value:SetFontObject(GameFontHighlight)
		self:Tag(Value, '[reputation] - [currep] / [maxrep] - [standing]')

		-- Add a background
		local Repbg = Reputation:CreateTexture(nil, 'BACKGROUND')
		Repbg:SetAllPoints(Reputation)
		Repbg:SetTexture(Media.statusBar)
		Repbg:SetVertexColor(0.15, 0.15, 0.15, 1)
		
		-- Mouseover!
		Reputation:HookScript('OnEnter', function(self) self:SetAlpha(1) end)
		Reputation:HookScript('OnLeave', function(self) self:SetAlpha(0) end)
		Reputation:EnableMouse(true)
		
		local RepGradient = Reputation:CreateTexture(nil, "OVERLAY")
		RepGradient:SetTexture(Media.statusBar)
		RepGradient:SetGradientAlpha("VERTICAL",.2,.2,.2,.15,.25,.25,.25,.6)--]]
		
		-- Register it with oUF
		self.Reputation = Reputation
	end
Terribly sorry if this is a layout error, as that's not what this comment section is for.

They update if I change my watched reputation, or if I reload my UI, but at first login it all just says "0 - 0 / 0 - 0" or similar to that.
__________________
All I see is strobe lights blinding me in my hindsight.
Wimpface is offline Report comment to moderator  
Reply With Quote
Old 01-07-12, 06:48 AM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Originally Posted by Wimpface
Originally Posted by p3lim
They update for me, could I have a look at your code?
Terribly sorry if this is a layout error, as that's not what this comment section is for.

They update if I change my watched reputation, or if I reload my UI, but at first login it all just says "0 - 0 / 0 - 0" or similar to that.
I've noticed the same now, something is wrong with the tags, I will see if I can find out why.
p3lim is offline Report comment to moderator  
Reply With Quote
Old 01-07-12, 07:22 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 615
File comments: 258
Uploads: 23
Originally Posted by p3lim
Originally Posted by Wimpface
Originally Posted by p3lim
They update for me, could I have a look at your code?
Terribly sorry if this is a layout error, as that's not what this comment section is for.

They update if I change my watched reputation, or if I reload my UI, but at first login it all just says "0 - 0 / 0 - 0" or similar to that.
I've noticed the same now, something is wrong with the tags, I will see if I can find out why.
Great, glad I could help! Or something along those lines.
__________________
All I see is strobe lights blinding me in my hindsight.
Wimpface is offline Report comment to moderator  
Reply With Quote
Old 08-30-12, 06:38 AM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
When updating to 50001.8-Release, keep in mind that you will need oUF 1.6 for this plug-in to work!
p3lim is offline 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.