this.ElementName = "Forum Messages";
this.ElementIDfield = "msgID";
var reUserID = '';
// Get the config data Struct
var configStruct = Application.ptForum.getAppConfig();
var profileElementName = configStruct['PROFILE_CE_NAME'];
var profileFormID = application.ptForum.cedata.getFormIDByCEName(profileElementName);
if ( LEN(TRIM(arguments.postProfileID)) ) {
reUserID = application.ptForum.ceData.getCEDataFieldUUID(profileFormID,arguments.postProfileID,"userid");
}
var rePostDT = '';
if ( LEN(TRIM(arguments.PostDateTime)) ) {
rePostDT = Application.CS.data.FROMHTML(arguments.PostDateTime);
}
var reHTML = '';
var postUserID = '';
var postDT = '';
// Get UserID from the ptProfile App
//if ( LEN(TRIM(arguments.postProfileID)) )
//postUserID = getPostUserIDByProfileID(TRIM(arguments.postProfileID));
// get UserID from the CS Users DB
if ( LEN(TRIM(arguments.postProfileID)) )
postUserID = Application.ptForum.forumsUsersDAO.getUserNameByID(TRIM(arguments.postProfileID));
if ( LEN(TRIM(arguments.postDateTime)) )
postDT = getPostDateTime(TRIM(arguments.postDateTime));
- Updated by: #postUserID# NA
on #DateFormat(postDT,'m/d/yyyy')# at #TimeFormat(postDT,'h:mm tt')#
var reHTML = '';
var configStruct = Application.ptForum.getAppConfig();
var postThreadID = Application.ptForum.messagesDAO.getParentIDByMsgID(arguments.postMsgID);
var postPageURL = 'messages.cfm';
var postUserID = '';
var postDT = '';
// Get the Messages file name/path from the Configuration Elemen
if ( LEN(TRIM(configStruct['forum_messages_url'])) )
postPageURL = configStruct['forum_messages_url'];
// get UserID from the ptProfile App
//if ( LEN(TRIM(arguments.postProfileID)) )
//postUserID = getPostUserIDByProfileID(TRIM(arguments.postProfileID));
// get UserID from the CS Users DB
if ( LEN(TRIM(arguments.postProfileID)) )
postUserID = Application.ptForum.forumsUsersDAO.getUserNameByID(TRIM(arguments.postProfileID));
if ( LEN(TRIM(arguments.postDateTime)) )
postDT = getPostDateTime(TRIM(arguments.postDateTime));
#dateFormat(postDT,"m/d/yy")# #timeFormat(postDT,"h:mm tt")#
by #postUserID#