Jump to content

Alexander R. Gruber

Clients
  • Posts

    12
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Alexander R. Gruber reacted to Mario Antunes in Upgrade to 4.7.3 and not to 4.7.4, and keep PHP7.4 for now   
    Understandable to not support older versions, however changing the prerequisite for 4.7.4 to PHP8 demands site owners to upgrade, which some sites (ours included) cannot due to plugin (in-)compatibility.
    While most plugins are ready for PHP8, some are (still) not.
    Our site is just one update behind, so I think we will manage. But not having a 4.7.3 version available for download seems counterproductive i.m.o. Why not give site owners the option to at least upgrade to 4.7.3 until all is ready for PHP8?
  2. Like
    Alexander R. Gruber 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.

     
     
  3. Thanks
    Alexander R. Gruber reacted to Nathan Explosion in 4.6: How to restore custom member titles   
    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'>  
  4. Thanks
    Alexander R. Gruber 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:

  5. Thanks
    Alexander R. Gruber reacted to opentype in Enable reactions in articles/database   
    It should work automatically. Reactions are a member group setting, not specific to certain areas. Are you sure you not just looking at your own entries, which will not have a react button. 
×
×
  • Create New...