Code:
local d = self:CreateTexture(nil,"BACKGROUND",nil,-7)
d:SetTexture("Interface\\AddOns\\rTextures\\raid_debuffglow")
d:SetAllPoints(self)
d:SetBlendMode("BLEND")
d:SetVertexColor(0, 1, 0, 0) -- set alpha to 0 to hide the texture
self.DebuffHighlight = d
self.DebuffHighlightAlpha = 1
self.DebuffHighlightFilter = true
is his current code for debuffhighlight..
Im not sure how your full code looks. but you're creating a frame instead of a texture in your code...try using one of the many examples on the ouf_debuffhighlight page and see if u can get it too work with a texture instead of beautycase.