// Forums User Setting Check // Created - MFC [2009-11-10] // Modified - GAC [2010-03-24] // FORUM USER SETTINGS // Validate if the user has a CS userid if ( structKeyExists(session.user,"id") AND session.user.id GT 0 ) { if ( structKeyExists(Application,"ptForum") ) { // Check if the user's id is in the Forum User Settings CE, if no record exists, create the record addUserStruct = Application.ptForum.usersettingsDAO.addNewProfileIDToUserSettings(session.user.id); } //Add userID / profileID to session scope session.user.ptForum.profileID = session.user.id; }