• Resolved lynchdevco

    (@lynchdevco)


    Hi,

    The user photo is working fine for users when they are setting up / editing profiles, but for their individual posts, their photos are not showing up as thumbnails (circles) next to their posts. I’ve tried deactivating/re-installing the plugin, as well as trying this fix:

    “the fix…

    At approximately line 120 in the User Photo plugin file “user-photo.php”, located at /wp-content/plugins/user-photo/, there is a function called userphoto__get_userphoto. About 3 or 4 lines down in that function you’ll see this line of code…

    if(($userdata->userphoto_approvalstatus == USERPHOTO_APPROVED) &&
    All we need to do is add 2 forward slashes – “//” – after the first open parentheses to comment out this first condition in the “if” statement, like so…

    if( // ($userdata->userphoto_approvalstatus == USERPHOTO_APPROVED) &&
    …and all should work fine.

    What we’re really doing is removing the check for approval status from administrator moderation. So, don’t use this hack if you have a site where users could potentially upload some “questionable” user photos. ??”

    That did not work either. Please let me know what to do, and thank you for your time.

    Warm Regards,

    Patrick

    https://www.ads-software.com/plugins/user-photo/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘User Photo Not Showing For Each User's Posts’ is closed to new replies.