Jump to content

OWA

Clients
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    OWA got a reaction from Madal in 4.6: How to restore custom member titles   
    +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!
  2. Like
    OWA reacted to Nathan Explosion in 4.6: How to restore custom member titles   
    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:

  3. Like
    OWA reacted to Matt in 4.6: How to restore custom member titles   
    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.

     
     
  4. Agree
    OWA reacted to marklcfc in 4.6: How to restore custom member titles   
    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.
×
×
  • Create New...