• Resolved dashdesigns

    (@dashdesigns)


    Hi. Your plugin is great! I needed to create a page for viewing the user logins in the front end for admins rather than them accessing the wp-admin area. I created the page using your shortcode and got the list showing, but I then noted it only shows current users details. Is it possible to tap into the same data that is stored in the admin list that has all the users log in details and add that to the front end page sop all users are listed rather than just the current logged in user? If this means editing the core code I do not mind, I just need to know how to add the function. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Faiyaz Alam

    (@faiyazalam)

    Hi,

    Just remove the following line:
    $_GET['user_id'] = $current_user->ID;

    File Path:
    user-login-history/public/class-faulh-public.php

    Line Number:
    117

    Please let me know if any issue.
    Also, Could you please give your rating to the plugin?

    Thanks.

    Thread Starter dashdesigns

    (@dashdesigns)

    Sorry for the delayed reply! Thank you for this, that was what I needed. One more little question, is it possible to delete the timezone selection box as this is not required either. Can I simply comment out a block that renders the selection box or is there more to it than that?

    Thanks again by the way.

    Plugin Author Faiyaz Alam

    (@faiyazalam)

    You can use parameter “show_timezone_selector” in shortcode to hide/show timezone selector in frontend listing table.
    For more info, please see help page under plugin menu.

    Thread Starter dashdesigns

    (@dashdesigns)

    I completely missed that! I do apologise for wasting your time. Thank you again for your help; it is most appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘View all users in front end page version / shortcode’ is closed to new replies.