Simple modification that checks if a user has a Custom Title defined. If they do, then the Custom Title replaces the post based Title. (thanks to the pishmeister, who no one knows yet for this)
If they don't have a Custom Title, then the post based Title will be displayed.
Also does a small tweak to not include extra when the Rating system is turned off or the user doesn't have a rating. Right now it slams in a regardless. This saves some vertical space.
// SD - Mod (color, based upon user color or admin/mod color if ($Color) { $Title = "<span style="color:$Color;">$Title</span>"; if ($CustomTitle) { $CustomTitle = "<span style="color:$Color;">$CustomTitle</span>"; } }
Pfff, just moved all custom titles we had in our post title fields that were imported over from 6.5.x. Removed the hacks that allowed me to edit the post title instead of the custom title.
This mod by SirDude and blaaskaak works just fine on my site. I'm happy with it.
The issue appears to be that if you want BOTH Default and Custom titles to show then this mod won't work for you. For me I just want the one Default to show and it works great.
Currently the code in 7.2.2 is less than adequate for me and I had to keep manually updating the database each day to fix it.
Doing these fixes as shown by SirDude and blaaskaak will restore it back to they way it used to work in 6.x (at least as I recall it working)
Description: If you have a custom title, this displays it instead of the member title.
Requirements: UBB.Threads 7.2.x (may work with other 7 series)
Demo: None yet
Notes: I may have missed some spots, but I think this covers most
Merged here... you might consider collecting the pieces in the topic and combining for a text file instruction, would help those trying to install it once
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.