Jump to content
DevFuse Forums
  • Sign in to follow this  

    Days joined showing to guests

    • Fixed IP.Board Version: IP.Board 4.2.x

    The "days joined" setting is ignored when it comes to guests.

    Manual Patch:

    Open applications/gms/sources/Message/Message.php


            /* Above days joined number? */
            if( $this->days_joined && \IPS\Member::loggedIn()->joined->diff( \IPS\DateTime::create() )->days >= $this->days_joined )
                return FALSE;

    Replace With:

            /* Above days joined number? */
            if( !\IPS\Member::loggedIn()->member_id OR ( $this->days_joined && \IPS\Member::loggedIn()->joined->diff( \IPS\DateTime::create() )->days >= $this->days_joined ) )
                return FALSE;


    Sign in to follow this  

    User Feedback

    Recommended Comments

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • 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.