Management Solution Matt Posted July 1, 2021 Management Solution Posted July 1, 2021 Invision Community 4.6 brings a brand new achievements system which overhauls the ranks system along with adding the ability to earn points which translates into a higher rank via rules. As part of the clean-up, we removed the custom member title from the author section of the post as there's a limit to how much information we can show comfortably! Of course, some communities used custom member titles and wish to continue using them. Fortunately it's easy enough to get them back.Step 1: Log into the ACP and navigate to Members > Profiles > Profile Fields Step 2: You will see a group called "Retained", inside is a new custom field called "Member Title". This profile field was used in the upgrade to save the custom member title data. Click on the pencil icon to edit. Step 3: Post upgrade, this field is effectively switched off, but it can easily be switched back on. For the "Display format for topics" choose custom and just use: {$content} as the value. This will remove the "Member Title:" prefix. Save the changes. You will now see the member title has been restored. Advanced tip: Only do this if you are comfortable making theme edits! If it all goes wrong, don't panic. There is a revert button to undo your changes! Edit the template bit Forums > topics > postContainer in your active theme and move the block highlighted here up underneath the {{endif}} of the {{$comment->isAnonymous()}} block. Arcade King, Markus Jung, David.. and 14 others 14 3
marklcfc Posted July 1, 2021 Posted July 1, 2021 (edited) I appreciate the guide and that means I can get it back under the username by placing it under <ul class='cAuthorPane_info ipsList_reset'> but because I show Location as well, it's moving that with it to a place I don't want it to show. I still think more options on the ranks would be best all round, with a few minor changes it could work like the old system did. You only need to make it so the title can be editable, and a choice to show the rank image or rank text on topics then they'd be no need for the old member title being retained. Edited July 1, 2021 by marklcfc SeNioR-, OWA, AlexJ and 2 others 3 2
Genestoy Posted July 1, 2021 Posted July 1, 2021 (edited) Question--Does this work if Achievements is disabled as I am not seeing the Member title or is it because I am doing this on my test board and I had no previous member titles and I can't create a new one? Edited July 1, 2021 by Genestoy Madal 1
OWA Posted July 1, 2021 Posted July 1, 2021 2 hours ago, marklcfc said: I appreciate the guide and that means I can get it back under the username by placing it under <ul class='cAuthorPane_info ipsList_reset'> but because I show Location as well, it's moving that with it to a place I don't want it to show. +1 on this. My community uses custom titles to communicate developer roles, but we also show several other custom fields underneath. It would be brilliant to be able to move custom fields individually rather than move the whole block of them at once. I appreciate the guide though @Matt. Cheers! Madal 1
ossipetz Posted July 3, 2021 Posted July 3, 2021 Thanks for the guide! Is there a way to display the $rank->_title OR the member title? It seems the profile fields have no "name" to be directly referenced in the template to create some if else magic 🤔 Madal 1
marklcfc Posted July 3, 2021 Posted July 3, 2021 (edited) On 7/1/2021 at 8:00 PM, OWA said: +1 on this. My community uses custom titles to communicate developer roles, but we also show several other custom fields underneath. It would be brilliant to be able to move custom fields individually rather than move the whole block of them at once. Surely there has to be a way to move just the member title, but leave the other profile fields (Location in my case) where they are Edited July 3, 2021 by marklcfc Madal and usmf 2
Pavel Chernitsky Posted July 4, 2021 Posted July 4, 2021 Hi @Matt I've followed along with the guide and it seems to only show the titles (on "content submissions) to staff, regardless of the option chosen. Also, as you can see in the screenshots, I've moved the title upwards in the block, can you tell me where I need to put the css text in order for it to show directly under the username? Thanks. Below are screenshots of the issue. The Option + Formatting setting: Admin view (With title outlined): Regular member view: Madal 1
Management Matt Posted July 5, 2021 Author Management Posted July 5, 2021 That could be a bug, please submit a ticket and we will take a look. Madal 1
marklcfc Posted July 5, 2021 Posted July 5, 2021 (edited) Any way to just move member title under the username @Matt, I can do it your way but it takes Location with it which clearly isn't needed that high up. Edited July 5, 2021 by marklcfc Madal and usmf 1 1
Nathan Explosion Posted July 5, 2021 Posted July 5, 2021 (edited) Use at your own risk... This requires that you know the ID number of your custom profile field so go to the profile fields listing, hover the mouse over the button for editing and look at the number at the end of the URL: So the above is 1, it will be used in the locations below where compared to $test Edit core -> front -> global -> customFieldsDisplay After: {{foreach $fields as $field => $value}} Add {{$test = (int) str_replace('core_pfield_','',$field);}} {{if $test != '1'}} After: </li> Add: {{endif}} Edit forums > front -> topics -> postContainer Before: {{if $comment->author()->member_id}} Add: {{foreach $comment->author()->contentProfileFields() as $group => $fields}} {{foreach $fields as $field => $value}} {{$test = (int) str_replace('core_pfield_','',$field);}} {{if $test == '1'}} <li data-role='custom-field' class='ipsResponsive_hidePhone ipsType_break'> {$value|raw} </li> {{endif}} {{endforeach}} {{endforeach}} Result: Edited July 5, 2021 by Nathan Explosion Alexander R. Gruber, Maxxius, OWA and 1 other 3 1
marklcfc Posted July 5, 2021 Posted July 5, 2021 (edited) Brilliant @Nathan Explosion, I adjusted it to suit but I think thats all good now. Edited July 5, 2021 by marklcfc Madal 1
usmf Posted July 15, 2021 Posted July 15, 2021 (edited) @Matt Is there a way to get the Member Title back under the user name but above the avatar? We use it for ID purposes on many accounts and need it there. Thanks. Your guide above sets the title to show under location, and that is not working. Edited July 15, 2021 by usmf Felipe13 and Madal 1 1
marklcfc Posted July 16, 2021 Posted July 16, 2021 (edited) 7 hours ago, usmf said: @Matt Is there a way to get the Member Title back under the user name but above the avatar? We use it for ID purposes on many accounts and need it there. Thanks. Your guide above sets the title to show under location, and that is not working. @Nathan Explosion guide above achieved it for me. Edited July 16, 2021 by marklcfc Madal 1
Nathan Explosion Posted July 16, 2021 Posted July 16, 2021 3 minutes ago, marklcfc said: @Nathan Explosion guide above achieved it for me. To clarify this - my guide placed it under the group name, which is below the avatar. It just requires a little modification of where to place the final block of code....so instead of placing it in this location... On 7/5/2021 at 3:36 PM, Nathan Explosion said: Edit forums > front -> topics -> postContainer Before: {{if $comment->author()->member_id}} Instead you would place it before this: <li data-role='photo' class='cAuthorPane_photo'> Alexander R. Gruber, usmf and Madal 1 2
usmf Posted July 16, 2021 Posted July 16, 2021 4 hours ago, Nathan Explosion said: To clarify this - my guide placed it under the group name, which is below the avatar. It just requires a little modification of where to place the final block of code....so instead of placing it in this location... Instead you would place it before this: <li data-role='photo' class='cAuthorPane_photo'> That's it! Thanks! I just couldn't get it last night . . . probably working on this way too late. 🙂 Really appreciate the help. Madal 1
usmf Posted July 20, 2021 Posted July 20, 2021 The fix by @Nathan Explosion was perfect . . . however, I have just noticed that the title now shows up in member profiles in the left-hand column under a whole division called "Retained". This is no good. Is there a way to get it back to where it was before in the "About" area? Madal 1
marklcfc Posted July 20, 2021 Posted July 20, 2021 (edited) 30 minutes ago, usmf said: The fix by @Nathan Explosion was perfect . . . however, I have just noticed that the title now shows up in member profiles in the left-hand column under a whole division called "Retained". This is no good. Is there a way to get it back to where it was before in the "About" area? Edit it in Profile fields and change the group to profile information. That's what I did anyway. Edited July 20, 2021 by marklcfc Madal, Matt and usmf 3
usmf Posted July 21, 2021 Posted July 21, 2021 22 hours ago, marklcfc said: Edit it in Profile fields and change the group to profile information. That's what I did anyway. Thanks so much! My mind was so sure it would be complicated, that I overlooked the obvious. Brilliant. I appreciate the help. Madal 1
High-End Posted August 17, 2021 Posted August 17, 2021 On 7/1/2021 at 4:18 PM, Matt said: Invision Community 4.6 brings a brand new achievements system which overhauls the ranks system along with adding the ability to earn points which translates into a higher rank via rules. As part of the clean-up, we removed the custom member title from the author section of the post as there's a limit to how much information we can show comfortably! Of course, some communities used custom member titles and wish to continue using them. Fortunately it's easy enough to get them back.Step 1: Log into the ACP and navigate to Members > Profiles > Profile Fields Step 2: You will see a group called "Retained", inside is a new custom field called "Member Title". This profile field was used in the upgrade to save the custom member title data. Click on the pencil icon to edit. Step 3: Post upgrade, this field is effectively switched off, but it can easily be switched back on. For the "Display format for topics" choose custom and just use: {$content} as the value. This will remove the "Member Title:" prefix. Save the changes. You will now see the member title has been restored. Advanced tip: Only do this if you are comfortable making theme edits! If it all goes wrong, don't panic. There is a revert button to undo your changes! Edit the template bit Forums > topics > postContainer in your active theme and move the block highlighted here up underneath the {{endif}} of the {{$comment->isAnonymous()}} block. I'm sorry but I do not see almost any of this in my AdminCP. Madal 1
Marc Posted August 17, 2021 Posted August 17, 2021 38 minutes ago, High-End said: I'm sorry but I do not see almost any of this in my AdminCP. Are you logged in as an administrator with full access? All these areas are indeed present on the latest release which your site is using. Do you have other admin on there who can check this also? Madal 1
Dean_ Posted August 17, 2021 Posted August 17, 2021 24 minutes ago, Marc Stridgen said: Are you logged in as an administrator with full access? All these areas are indeed present on the latest release which your site is using. Do you have other admin on there who can check this also? Could you guys possibly think about reinstating this simple feature back to how it was, including the ability to set x amount of posts for users to be able to change their title. It’s simply missed and has nothing to do with achievements. Madal and Justin Scott 2
Marc Posted August 17, 2021 Posted August 17, 2021 4 minutes ago, Dean_ said: Could you guys possibly think about reinstating this simple feature back to how it was, including the ability to set x amount of posts for users to be able to change their title. It’s simply missed and has nothing to do with achievements. This is not something that would be re-added for the reason mentioned in the original post. You could create a field for the user to enter a custom title which you would then be able to include on the page if you wish, as discussed. However there is no way in which to do this by number of posts at present Madal 1
High-End Posted August 17, 2021 Posted August 17, 2021 35 minutes ago, Marc Stridgen said: Are you logged in as an administrator with full access? All these areas are indeed present on the latest release which your site is using. Do you have other admin on there who can check this also? I am an Admin with full access. I found the part I was not seeing, my bad 🤓 Madal and Marc 2
Marc Posted August 17, 2021 Posted August 17, 2021 5 minutes ago, High-End said: I am an Admin with full access. I found the part I was not seeing, my bad 🤓 No problem. Glad you found what you need 🙂 Madal 1
Recommended Posts