• Resolved p4ulo3dson

    (@p4ulo3dson)


    I am using the shortcode “GAMIPRESS_LOGS” to showcase to my users what they have achieved in terms of points, however showing the admin users logs is not only irrelevant but also distracting. I have alredy tried to inser the code ‘exclude=”admin”‘ but it is still showing my logs.

    https://kids.academiabsb.com.br/wp-content/uploads/2024/11/exclude-Admin-user-from-log.png

    I want it to show only some users logs but when I try to add the relevant users within the tag ‘user_id’ it just shows the first of the list and not more than one.

    I am trying to do one of two things: (a) all users excluding admins; or (b) just selected users.

    Every modification of the code below was not enough to achieve that. Could you help me?

    https://kids.academiabsb.com.br/fluxo-de-atividades-on-line-quizzes-pontuacoes-e-estrelinhas/

    [gamipress_logs type=”all” current_user=”” user_id=”” access=”any” limit=”202″ pagination=”no” orderby=”date” order=”DESC” include=”” exclude=”testuser”]

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @p4ulo3dson

    The [gamipress_logs] shortcode will show all logs by default. It is currently not possible to exclude specific users. The “include” and “exclude” attributes refer to specific logs that you want to include or exclude from the list.

    To show user logs: only all users, the current user (the logged in user who will see their own logs) or the logs of a specific user can be shown.

    https://gamipress.com/docs/shortcodes/gamipress_logs/

    An alternative in case you do not want your Admin user to earn awards to use the Block Users add-on. With this add-on you can make the Admin user not earn awards and thus no logs related to the Admin user will be recorded either.

    https://gamipress.com/add-ons/block-users/

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.