This the second topic. The first one written with the new topic form

  • 16.06.2023, 10:21

    Okay, what to say? Lets see, if that works.

    Maybe some testing formattings here??

    Also some code snippet?

    /**
     * Gets all available information of user
     *
     * @param      int $userid The ID of the user
     * @since      3.0.0
     * @version    0.9
     * @access     private
     * @return     array|bool
     * @author     Christin Löhner <info@apboard.de>
     * @copyright  1999-2024 by Christin Löhner <info@apboard.de>
     * @license    GNU General Public License v3
     */
    function apb_GetUserInfo(int $userid)
    {
      if ((int)$userid <= 0) return false;
      $query = "SELECT * FROM `" . $GLOBALS['CONFIG']['db_tableprepend'] . "user` WHERE `id` = " . $userid . "";
      $user = $GLOBALS['db']->unbuffered_query_first($query);
      if (trim($user['profilepic']) == "") {
        $user['profilepic'] = $GLOBALS['apb_style_url'] . '/images/noProfilePic.png';
      } else {
        $user['profilepic'] = $GLOBALS['apb_uploads_url'] . "/" . $user['userhash'] . '/' . $user['profilepic'];
      }
      $user['profilelink'] = $GLOBALS['apb_AbsoluteRootUrl'] . "/user/" . $user['id'];
      return $user;
    }
    

    test sig real
    x2
  • 16.06.2023, 15:31

    Lets try to answer as different user...

    x1
  • 07.01.2024, 11:45

    Test answer


    test sig real
    x1
  • 07.01.2024, 12:09

    again some test


    test sig real
    x1