Jump to content

Group Color on User Link 10

   (0 reviews)
Sign in to follow this  

IPBDesign

8 Screenshots

About This File

This plugin forces user links to display member group color/formatting.

This applies in all places where the \IPS\Member object is used to produce links to a member.

With Version 3, this plugin now supports Search and Stream results with some caveats. Any changes to the Core - System - searchResults template will likely break this plugin, at least as far as those pages go (but if they break you'll probably need to disable this entirely). There seem to be some systemic problems with theme hooks within this template (or at least while IN_DEV) so I needed to grab most of the template to do what needed to be done. This template needs to be fiddled with due to the fact that IPS does not use the \IPS\Member object in Search and Stream result creation but rather fetches a handful of fields from the member database directly. This results in the author/member names being dumped in as plain text and formatted with language keys. I had to force-feed group formatting into the mix and then change all the language calls to allow for html to parse correctly. You will notice that possessives are NOT formatted (i.e. Flitterkill's topic, etc...) You'll have to live with that until I get drunk enough to want to bother with accounting for possessives. It will not be "fun".

On profile view, your status update name remains unformatted but replies are formatted. Also keep in mind that your user name in the cover photo and also on profile hovercards (when you cursor over a username/photo and the mini profile appears) - those usernames remain unformatted and probably should remain that way. See below.

11.jpg

If you are wondering why some areas do not have formatted names and others do that is because there are many different ways the userlink is created throughout the suite. If the IPS\Member object is used specifically the group color will be applied automatically. In EVERY other instance additional coding is required. Sometimes easy, other times not. 

This remains UNSUPPORTED! You can shoot me a PM if there are problems (or if that template gets changed) but do not expect instantaneous fixes/support.


What's New in Version 10   See changelog

Released

Online Users page now supported.




User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

There are no reviews to display.

×