• Resolved pigsound

    (@pigsound)


    i have some member directories that have stopped working after the update of ultimate member from v 2.11.x to 2.12.0. only the spinning wheel is showing where the members should be listed.
    my guess is that the update is the cause for this, because nothing else in ultimate member had been changed until now.
    i checked on the custom templates i made eventually. in members-grid.php i noticed on line 26, that the version of members-grid.php contains the line

    $unique_hash = UM()->member_directory()->get_directory_hash( $args['form_id'] );
    ?>

    in my customized template from plugin ultimate members version 2.11.x line 26 of members-grid.php contains

    $unique_hash = substr( md5( $args['form_id'] ), 10, 5 ); ?>

    could this be the reason for my problems?
    can you please guide me to resolve this issue?

    • This topic was modified 2 weeks, 3 days ago by pigsound. Reason: additional info
    • This topic was modified 2 weeks, 3 days ago by pigsound.
Viewing 3 replies - 1 through 3 (of 3 total)
  • missveronica

    (@missveronicatv)

    @pigsound

    Yes, these three UM Directory template files are updated since 2.11.0
    and any custom versions of the templates must be updated.

    – members.php
    – members-grid.php
    – members-list.php

    You can read the UM Guide about “Fixing Outdated Ultimate Member Templates”

    https://docs.ultimatemember.com/article/1847-fixing-outdated-ultimate-member-templates

    Plugin Support Yurii

    (@yuriinalivaiko)

    Hello @pigsound

    This question has already been answered. See answers in these threads:
    – Members not showing after update
    – User directories showing as code?

    When you updated Ultimate Member to version 2.11.1, you were required to update your custom member directory templates. You may have missed this update.

    These templates may be outdated: members.php, members-grid.php, members-list.php. You should fix your custom templates or remove them to use default templates. 

    If you’ll decide fix your custom templates, then open these  files in your theme and verify that the $unique_hash variable is declared this way: $unique_hash = UM()->member_directory()->get_directory_hash( $args['form_id'] );

    You should also update attributes that contain the hash in the members.php template. See this image: https://ibb.co/BVMjYfSw

    Regards

    Plugin Support andrewshu

    (@andrewshu)

    Hi @pigsound

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. 🙂

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.