I saw another thread that says you can accomplish this by adding the nameList attribute to oUF:SpawnHeader and setting the list to your name a bunch of times, like this...
Code:
local namelist = UnitName("player")
for i = 2,5 do -- or whatever your desired group size is
namelist = namelist..","..UnitName("player")
end
local party = oUF:SpawnHeader(
... The rest of your attributes
"nameList", namelist
)
And then make sure not to set a groupFilter attribute since it overrides the name list.
Unfortunately, I tried that and all I get is one frame for myself. That thread was about four years ago... I suspect group headers don't allow duplicate units now? Anyone know?