@exviza I also was interested in getting the code for those Unit Frames. It turns out a very messy version of it was posted earlier in this thread, but I cleaned it up and slightly modified it. However, I don't know how to get the texture for the bars, nor do I have the background art (I think it might be in Discord Art, but I'm not sure if Raen strayed from the original Discord bars that those are fashioned after or not).
Anyway, here's my simplified code for the bars. I also changed it so that only the HealthBar is linked to the Portrait. Everything works properly EXCEPT the Portrait will not show properly if the ManaBar is hidden. I'm not sure why this is, because nothing is relative to the ManaBar, except the ManaText, which is self explanatory. Anyway, if someone looks through the code and can figure out why the Portrait doesn't show if the ManaBar is disabled, I'd be very grateful!
I also renamed this to DiscordOld, so if you copy this and are unfamiliar with writing LUA files, the file name will have to be named DiscordOld.lua and you will have to add DiscordOld to the end of the aUF_Layouts .toc file.
EDIT 2: I found out what was causing the problem and fixed it. I have updated the code here as well. The problem in the code was that under ManaBar_BG Visibility, the Portrait and the ClassText were listed there for some reason. I deleted that and fixed up some other features (XPBar_BG is now linked to the ManaBar_BG, then the HealthBar_BG so it will reposition itself properly depending on what is enabled or not). I have not tested this with Pets yet, but there is no Pet Specific code so it should function normally for that. Will update again once I test this on my Hunter.
EDIT 3: The Pet UnitFrame works properly, just like all the other frames. Happiness displays on the HealthBar properly. Fixed one more bug where the UnitFrame's frame was not sizing properly when removing/adding bars. I have tweaked the settings so the frame only resizes with the inclusion of the XPBar, but this means there will be excess Frame beneath the HealthBar if either the ManaBar and XPBar when the Portrait is disabled... I tried several solutions and this one seemed the best (feel free to customize it to your liking, though!).
I think this is suitably tested for being added to the Layouts, if you'd like to, Mulesh. Give it a try and tell me what you think. :)
garde, thanks for the reply but i decided to stick with pitbull and modify it as closely as pitbull would allow me. it looks pretty good imo with the major exception being that pitbull doesn't allow you to separate the bars from each other or the portrait. if you're interested in how it came out, it's under the pitbull ui thread towards the end. thanks though! :>