TOPIC Functions
Below is a listing of all the functions.
|
ApproveMessage This method approves a message.
Return Type: Integer
ApproveThread This method approves a thread.
Return Type: Integer
CheckPrivateTopicPerm This function checks if a user has the rights to view a private topic.
Return Type: Boolean
DeleteThread This method deletes a thread and all its messages and attachments from the forum.
Return Type: Integer
Examples
EmptyTrash This method empties the trash for a forum; this permanently removes any threads in the trash bin.
Return Type: Integer
Examples
GetNonApprovedThreads This method returns a list of threads that have not been approved for a category.
Return Type: Topic()
Related Items GetLastestMessages, GetHotMsg, SearchMessages, GetThreadByID, GetThreads, IsThread, GetThreadsByForumID
GetThreadAuthor Get the author of a thread.
Return Type: ftUser
Examples
Related Items GetForumBuddies, GetDigestSubs, GetForumPermissions, GetMessageAuthor, GetUserByKeyword, GetUserByEmail, GetNonApprovedUsers, LoginUser, LoginUser, GetTodayBirthDate, GetUserByName,GetUserByID, GetUserSettings, LoginGlobal, AddUser, AddUser, SearchUsersByAlphabet, SearchUsersByCriteria, SearchUsersByIPAddress
GetThreadByID This method gets thread information for a thread.
Return Type: Topic
Examples
Related Items GetLastestMessages, GetHotMsg, SearchMessages, GetThreadByID, GetThreads, IsThread, GetThreadsByForumID
GetThreads This method gets the threads for a category.
Return Type: Topic()
Examples
Related Items GetLastestMessages, GetHotMsg, SearchMessages, GetNonApprovedThreads, GetThreadByID, IsThread, GetThreadsByForumID
GetThreadsByForumID This method gets topics based on a forum ID.
Return Type: Topic()
Related Items GetLastestMessages, GetHotMsg, SearchMessages, GetNonApprovedThreads, GetThreadByID, GetThreads, IsThread
IsThread This method checks if the thread ID passed is valid.
Return Type: Topic
Examples
Related Items GetLastestMessages, GetHotMsg, SearchMessages, GetNonApprovedThreads, GetThreadByID, GetThreads, GetThreadsByForumID
LockThread This method locks or unlocks a thread. If the thread is locked it will be unlocked if the thread is locked it will be unlocked.
Return Type: Integer
MoveThread This method moves a thread from one category to another.
Return Type: n/a
SearchMessages This method searches threads/messages in a forum. This function requires that the request. FTVAR_CATEGORYPERMS variable exists, look at forum/include/common/authentication.cfm to view how to set this request variable.
Return Type: Topic()
Related Items GetLastestMessages, GetHotMsg, GetNonApprovedThreads, GetThreadByID, GetThreads, IsThread, GetThreadsByForumID
SetArchiveFlag This method sets the archive attribute for a thread. This attribute determines if the thread will be archived or not when the global task runs. If the thread is already set to be archived it will be un-set, if the thread is not set to be archived it will be set.
Return Type: Integer
UpdateThreadViewCount This method updates the view count for a thread.
Return Type: n/a
Examples
|
Functions
Available
|