Jump to content
DevFuse Forums
  • Sign in to follow this  

    Stats widget totals

    • Pending IP.Board Version: IP.Board 4.4.x

    This was reported before here but it seems to be an issue again.
    Total donors and Total donations are shown to the user regardless of their can view donations permission.

    I would suggest just not showing the stats widget at all if the user can't view donations

    If you don't mind me suggesting a code fix


    if( !\IPS\Member::loggedIn()->group['g_dt_view_donations'] )
        return '';

    In the same funciton, the latest donator is already guarded by that same check, which can be removed (line 112, before modifications)

    Sign in to follow this  

    User Feedback

    Recommended Comments

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

  • Status Definitions

    Pending = We are still working on this report.

    Fixed = The issue has been fixed and the resolution will be available in the next version.

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.


  • Create New...