Skip to content

TokenReference

John Henley edited this page Jan 14, 2025 · 14 revisions

Tokens

You can inject values using standard DNN tokens using the following prefixes:

  • [USER:*]

    • (Use [FORUMAUTHORUSER:*] in post (topic/reply) templates to inject values using DNN [USER] tokens for user in context of author. In other words, [USER:USERNAME] injects the username of the user viewing the page, while [FORUMAUTHORUSER:USERNAME] injects username of the author of the post.
  • [PROFILE:*]

    • (Use [FORUMAUTHORPROFILE:*] in post (topic/reply) templates to inject values using DNN [PROFILE] tokens for user in context of author. In other words, [PROFILE:x] injects the x of the user viewing the page, while [FORUMAUTHORPROFILE:x] injects x of the author of the post.
  • [MEMBERSHIP:*]

    • (Use [FORUMAUTHORMEMBERSHIP:*] in post (topic/reply) templates to inject values using DNN [MEMBERSHIP] tokens for user in context of author. In other words, [MEMBERSHIP:x] injects the x of the user viewing the page, while [FORUMAUTHORMEMBERSHIP:x] injects x of the author of the post.
  • [TAB:*]

  • [MODULE:*]

  • [PORTAL:*]

Inject resource tokens:

  • [RESX:*]

Diagrams

ForumView

Tokens Forum View2

TopicsView

Tokens Topics View

TopicView

Tokens Topic View2

Forum User ([FORUMUSER:*])

Any standard DNN user token can be used: [PROFILE:*], [USER:*], [MEMBERSHIP:*]

In addition, these user tokens are specific to DNN Community Forums:

Token Description Template Example Used in Templates
[FORUMUSER:AVATAR]
[FORUMUSER:USERPROFILELINK]
[FORUMUSER:USERCAPTION] The caption for a user.
[FORUMUSER:SIGNATURE] The user's signature. TopicView
[FORUMUSER:DISPLAYNAME] DNN user's display name for registered users. User-entered name for anonymous forum users, if feature enabled.
[FORUMUSER:DATECREATED]
[FORUMUSER:DATEUPDATED]
[FORUMUSER:DATELASTPOST]
[FORUMUSER:DATELASTREPLY]
[FORUMUSER:DATELASTACTIVITY]
[FORUMUSER:POSTCOUNT] The total number of topics and replies created by a user.
[FORUMUSER:REPLYCOUNT] The total number of replies created by a user.
[FORUMUSER:TOPICCOUNT] The total number of topics created by a user.
[FORUMUSER:VIEWCOUNT]
[FORUMUSER:ANSWERCOUNT]
[FORUMUSER:REWARDPOINTS]
[FORUMUSER:TOTALPOINTS]
[FORUMUSER:RANKDISPLAY] Displays the picture representing a user'�'s rank. TopicView
[FORUMUSER:RANKNAME] The name of a users rank. TopicView
[FORUMUSER:USERSTATUS] Shows if a user is online or offline. TopicView
[FORUMUSER:USERSTATUSCSS]

Forum Author ([FORUMAUTHOR:*])

Any standard DNN user token can be used:

  • [FORUMAUTHORPROFILE:*] for [PROFILE:*]
  • [FORUMAUTHORUSER:*] for [USER:*]
  • [FORUMAUTHORMEMBERSHIP:*] for [MEMBERSHIP:*]

In addition, these user tokens are specific to DNN Community Forums:

Token Description Sample Value Template Example Used in Templates
[FORUMAUTHOR:AVATAR]
[FORUMAUTHOR:USERPROFILELINK]
[FORUMAUTHOR:USERCAPTION] The caption for a user.
[FORUMAUTHOR:SIGNATURE] The user�s signature. TopicView
[FORUMAUTHOR:DISPLAYNAME] DNN user's display name for registered users. User-entered name for anonymous forum users, if feature enabled. user1
[FORUMAUTHOR:DATECREATED]
[FORUMAUTHOR:DATEUPDATED]
[FORUMAUTHOR:DATELASTPOST]
[FORUMAUTHOR:DATELASTREPLY]
[FORUMAUTHOR:DATELASTACTIVITY]
[FORUMAUTHOR:POSTCOUNT] The total number of topics and replies created by a user.
[FORUMAUTHOR:REPLYCOUNT] The total number of replies created by a user.
[FORUMAUTHOR:TOPICCOUNT] The total number of topics created by a user.
[FORUMAUTHOR:VIEWCOUNT]
[FORUMAUTHOR:ANSWERCOUNT]
[FORUMAUTHOR:REWARDPOINTS]
[FORUMAUTHOR:TOTALPOINTS]
[FORUMAUTHOR:RANKDISPLAY] Displays the picture representing a user�s rank. TopicView
[FORUMAUTHOR:RANKNAME] The name of a users rank. TopicView
[FORUMAUTHOR:USERSTATUS] Shows if a user is online or offline. TopicView
[FORUMAUTHOR:USERSTATUSCSS]

Forum Group ([FORUMGROUP:*])

Token Description Template Example Used in Templates
[FORUMGROUP:GROUPID] Inserts database key for forum group. Use with bootstrap or JavaScript as a target. <a class="bs-collapse" data-toggle="collapse" href="#forum-group-[FORUMGROUP:FORUMGROUPID]" role="button" data-bs-toggle="collapse">
[FORUMGROUP:FORUMGROUPID] (same as [FORUMGROUP:GROUPID]) Inserts database key for forum group. Use with bootstrap or JavaScript as a target. <a class="bs-collapse" data-toggle="collapse" href="#forum-group-[FORUMGROUP:FORUMGROUPID]" role="button" data-bs-toggle="collapse">
[FORUMGROUP:GROUPLINK]
[FORUMGROUP:FORUMGROUPLINK] (same as [FORUMGROUP:GROUPLINK])
[FORUMGROUP:NAME] Inserts name of the forum group
[FORUMGROUP:GROUPNAME] (same as [FORUMGROUP:NAME]) Inserts name of the forum group
[FORUMGROUP:FORUMGROUPNAME] (same as [FORUMGROUP:NAME]) Inserts name of the forum group
[FORUMGROUP:GROUPCOLLAPSE]
[FORUMGROUP:THEMELOCATION]

Forum ([FORUM:*])

Token Description Template Example Used in Templates
[FORUM:FORUMID]
[FORUM:FORUMDESCRIPTION] The description of each forum. ForumView, TopicView, TopicsView, SubscribedEmail
[FORUM:FORUMNAME] The name of the forum. ForumView, TopicView, TopicsView, SubscribedEmail
[FORUM:FORUMNAMENOLINK] (same as [FORUM:FORUMNAME]) The name of the forum. ForumView, TopicView, TopicsView, SubscribedEmail
[FORUM:FORUMGROUPID]
[FORUM:FORUMLINK] The hyperlink to the forum. TopicView, TopicsView, SubscribedEmail
[FORUM:FORUMURL] (same as [FORUM:FORUMLINK]) The hyperlink to the forum. TopicView, TopicsView, SubscribedEmail
[FORUM:FORUMMAINLINK] The link to the main forum view. TopicView, TopicsView
[FORUM:GROUPLINK] (same as [FORUMGROUP:GROUPLINK]) The link to the forum group. TopicView, TopicsView
[FORUM:GROUPNAME] (same as [FORUMGROUP:NAME]) Inserts name of the forum group
[FORUM:FORUMICON] Inserts an icon showing status of the forum (indicates read entries). ForumView
[FORUM:FORUMICONCSS] FontAwesome icon showing status of the forum (indicates read entries). ForumView
[FORUM:FORUMGROUPNAME] (same as [FORUMGROUP:NAME]) Inserts name of the forum group
[FORUM:FORUMGROUPLINK] (same as [FORUMGROUP:GROUPLINK])
[FORUM:LASTPOSTID] The id of the latest post
[FORUM:LASTPOSTDATE]
[FORUM:LASTPOSTSUBJECT]
[FORUM:LASTPOSTSUBJECT:nnn]
[FORUM:LASTPOSTUSERID]
[FORUM:LASTPOSTUSERNAME]
[FORUM:LASTPOSTFIRSTNAME]
[FORUM:LASTPOSTLASTNAME]
[FORUM:LASTPOSTDISPLAYNAME]
[FORUM:LASTPOSTAUTHORDISPLAYNAME] (same as [FORUM:LASTPOSTAUTHORDISPLAYNAMELINK])
[FORUM:LASTPOSTAUTHORDISPLAYNAMELINK]
[FORUM:MODLINK]
[FORUM:PARENTFORUMID]
[FORUM:PARENTFORUMLINK]
[FORUM:PARENTFORUMNAME]
[FORUM:RSSLINK]
[FORUM:SOCIALGROUPID]
[FORUM:STATUSCSSCLASS] CSS class indicating status of a forum. See Status-CSS-Class-Token
[FORUM:SUBSCRIBERCOUNT] Shows number of subscribers to a forum (new in 07.00.10) ForumView, TopicView, TopicsView
[FORUM:TOTALREPLIES] The total number of replies in a forum. ForumView
[FORUM:TOTALTOPICS] The total number of topics in a forum. ForumView
[FORUM:THEMELOCATION]

Topic ([FORUMTOPIC:*])

Token Description Template Example Used in Templates
[FORUMTOPIC:POSTID]
[FORUMTOPIC:TOPICID]
[FORUMTOPIC:CONTENTID]
[FORUMTOPIC:FORUMID]
[FORUMTOPIC:SUBJECT] TopicView, TopicsView, SubscribedEmail,QuickReply (New in 08.00.00)
[FORUMTOPIC:SUBJECTLINK]
[FORUMTOPIC:LASTREADURL]
[FORUMTOPIC:LASTREPLYURL]
[FORUMTOPIC:BODYTITLE]
[FORUMTOPIC:SUMMARY]
[FORUMTOPIC:SUMMARY:NNN]
[FORUMTOPIC:BODY]
[FORUMTOPIC:BODY:NNN]
[FORUMTOPIC:LASTREPLYID]
[FORUMTOPIC:REPLYCOUNT]
[FORUMTOPIC:VIEWCOUNT]
[FORUMTOPIC:SUBSCRIBERCOUNT]
[FORUMTOPIC:STATUS]
[FORUMTOPIC:STATUSID]
[FORUMTOPIC:PREVIOUSTOPIC]
[FORUMTOPIC:PREVIOUSTOPICLINK]
[FORUMTOPIC:NEXTTOPIC]
[FORUMTOPIC:NEXTTOPICLINK]
[FORUMTOPIC:RATING]
[FORUMTOPIC:TOPICURL]
[FORUMTOPIC:FORUMURL]
[FORUMTOPIC:LINK]
[FORUMTOPIC:URL]
[FORUMTOPIC:DATECREATED] The date the topic was created. TopicView, TopicsView
[FORUMTOPIC:DATEUPDATED] The date the topic was updated. TopicView, TopicsView
[FORUMTOPIC:MODIPADDRESS]
[FORUMTOPIC:MODEDITDATE]
[FORUMTOPIC:LASTPOSTDATE]
[FORUMTOPIC:EDITDATE]
[FORUMTOPIC:AUTHORID]
[FORUMTOPIC:AUTHORNAME]
[FORUMTOPIC:AUTHORDISPLAYNAME]
[FORUMTOPIC:AUTHORDISPLAYNAMELINK]
[FORUMTOPIC:AUTHORFIRSTNAME]
[FORUMTOPIC:AUTHORLASTNAME]
[FORUMTOPIC:AUTHOREMAIL]
[FORUMTOPIC:LASTREPLYAUTHORID]
[FORUMTOPIC:LASTREPLYAUTHORNAME]
[FORUMTOPIC:LASTREPLYAUTHORDISPLAYNAME]
[FORUMTOPIC:LASTREPLYDISPLAYNAME]
[FORUMTOPIC:LASTREPLYAUTHORFIRSTNAME]
[FORUMTOPIC:LASTREPLYAUTHORLASTNAME]
[FORUMTOPIC:LASTREPLYAUTHOREMAIL]
[FORUMTOPIC:LASTPOSTSUBJECT] TopicsView
[FORUMTOPIC:LASTPOSTSUBJECT:nnn] TopicsView
[FORUMTOPIC:LASTPOSTAUTHORDISPLAYNAME] The user who made the last post. TopicsView
[FORUMTOPIC:LASTPOSTAUTHORDISPLAYNAMELINK] The user who made the last post TopicsView
[FORUMTOPIC:STATUSCSSCLASS] CSS class indicating status of a topic. See Status-CSS-Class-Token
[FORUMTOPIC:POSTICON] The icon a user chooses for their topic. TopicsView
[FORUMTOPIC:POSTICONCSS]
[FORUMTOPIC:ICONPINNED]
[FORUMTOPIC:ICONUNPINNED]
[FORUMTOPIC:ICONLOCKED]
[FORUMTOPIC:ICONUNLOCKED]

Topic Actions ([FORUMTOPIC:ACTIONxxxxONCLICK])

Note: All of these tokens render a UI element, and apply the DNN Community Forums security. For example, even if you have [FORUMTOPIC:ACTIONDELETEONCLICK] in a template, the delete UI element is only rendered when the user viewing the page as the appropriate security access to delete.

Token Description Template Example Used in Templates
[FORUMTOPIC:ACTIONEDITONCLICK] Injects the UI code used to edit a topic. [FORUMTOPIC:ACTIONEDITONCLICK|<a href="{0}" title="[RESX:EditTopic]"><i class="fa fa-pencil-square-o fa-fw fa-blue"></i></a>] TopicActions
[FORUMTOPIC:ACTIONQUICKEDITONCLICK] Injects the UI code used to set various topic options. [FORUMTOPIC:ACTIONQUICKEDITONCLICK|<a href="javascript:void(0)" title="[RESX:TopicQuickEdit]" onclick="{0}"><i class="fa fa-cog fa-fw fa-blue"></i></a>] TopicActions
[FORUMTOPIC:ACTIONREPLYONCLICK] Injects the UI code used to reply to a topic. TopicActions
[FORUMTOPIC:ACTIONQUOTEONCLICK] Injects the UI code used to quote from a topic when creating a reply. TopicActions
[FORUMTOPIC:ACTIONDELETEONCLICK] Injects the UI code used to delete a topic and its replies. [FORUMTOPIC:ACTIONDELETEONCLICK|<a href="javascript:void(0)" onclick="{0}" style="vertical-align: middle;" title="[RESX:DeleteTopic]"><i class="fa fa-trash-o fa-fw fa-blue"></i></a>] TopicActions
[FORUMTOPIC:ACTIONMOVEONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to move a topic thread. [FORUMTOPIC:ACTIONMOVEONCLICK|<a href="javascript:void(0)" onclick="{0}" title="[RESX:MoveTopic]" style="vertical-align: middle;"><i class="fa fa-exchange fa-rotate-90 fa-blue"></i></a>] TopicActions
[FORUMTOPIC:ACTIONLOCKONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to lock a topic. [FORUMTOPIC:ACTIONLOCKONCLICK|<a href="javascript:void(0)" class="dcf-topic-lock-outer" onclick="{0}" title="[RESX:LockTopic]" style="vertical-align: middle;"><i class="fa fa-lock fa-fw fa-blue dcf-topic-lock-inner"></i></a>] TopicActions
[FORUMTOPIC:ACTIONUNLOCKONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to unlock a topic. [FORUMTOPIC:ACTIONUNLOCKONCLICK|<a href="javascript:void(0)" class="dcf-topic-lock-outer" onclick="{0}" title="[RESX:UnLockTopic]" style="vertical-align: middle;"><i class="fa fa-unlock fa-fw fa-blue dcf-topic-lock-inner"></i></a>] TopicActions
[FORUMTOPIC:ACTIONPINONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to pin a topic. [FORUMTOPIC:ACTIONPINONCLICK|<a href="javascript:void(0)" class="dcf-topic-pin-outer" onclick="{0}" title="[RESX:PinTopic]" style="vertical-align: middle;"><i class="fa fa-thumb-tack fa-fw fa-blue dcf-topic-pin-pin dcf-topic-pin-inner"></i></a>] TopicActions
[FORUMTOPIC:ACTIONUNPINONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to unpin a topic. [FORUMTOPIC:ACTIONUNPINONCLICK|<a href="javascript:void(0)" class="dcf-topic-pin-outer" onclick="{0}" title="[RESX:UnPinTopic]" style="vertical-align: middle;"><i class="fa fa-thumb-tack fa-fw fa-blue dcf-topic-pin-pin dcf-topic-pin-inner"></i></a>] TopicActions

Post (topic and/or reply) ([FORUMPOST:*])

Token Description Template Example Used in Templates
[FORUMPOST:POSTID] The id of the individual post. TopicView
[FORUMPOST:TOPICID] The id of the originating topic.
[FORUMPOST:REPLYID] (only applies to replies) The id of the originating topic.
[FORUMPOST:REPLYTOID] Not currently used
[FORUMPOST:CONTENTID]
[FORUMPOST:SUBJECT] TopicView, TopicsView, SubscribedEmail, QuickReply (New in 08.00.00)
[FORUMPOST:SUBJECT:nnn] TopicView, TopicsView, SubscribedEmail, QuickReply (New in 08.00.00)
[FORUMPOST:SUMMARY]
[FORUMPOST:SUMMARY:nnn]
[FORUMPOST:BODY] Inserts the body of a post. SubscribedEmail, QuickReply
[FORUMPOST:BODY:nnn] Inserts the body of a post. Use nnn (digits) for first nnn characters. SubscribedEmail, QuickReply
[FORUMPOST:AUTHORID] The database key of the author of the post or reply.
[FORUMPOST:AUTHORNAME] The database key of the author of the post or reply.
[FORUMPOST:AUTHORDISPLAYNAME] The display name of the author of the post or reply.
[FORUMPOST:AUTHORFIRSTNAME] The first name of the author of the post or reply.
[FORUMPOST:AUTHORLASTNAME] The last name of the author of the post or reply.
[FORUMPOST:AUTHOREMAIL] The email of the author of the post or reply.
[FORUMPOST:STATUSCSSCLASS] CSS class indicating status of a topic or reply. See Status-CSS-Class-Token
[FORUMPOST:POSTICON]
[FORUMPOST:POSTICONCSS]
[FORUMPOST:DATECREATED] The date the topic was created. TopicView, TopicsView
[FORUMPOST:DATEUPDATED] The date the topic was updated. TopicView, TopicsView
[FORUMPOST:MODIPADDRESS] The IP address of the user. Only visible by moderators. TopicView
[FORUMPOST:MODEDITDATE]
[FORUMPOST:EDITDATE]
[FORUMPOST:SELECTEDANSWER]

Post Actions (topic and/or reply) ([FORUMPOST:ACTIONxxxxONCLICK])

Note: All of these tokens render a UI element, and apply the DNN Community Forums security. For example, even if you have [FORUMPOST:ACTIONDELETEONCLICK] in a template, the delete UI element is only rendered when the user viewing the page as the appropriate security access to delete.

Token Description Template Example Used in Templates
[FORUMPOST:ACTIONEDITONCLICK] Injects the UI code used to edit a post. [FORUMPOST:ACTIONEDITONCLICK|<li onclick="window.location.href='{0}';" title="[RESX:Edit]"><i class="fa fa-pencil fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:Edit]</span></li>] PostActions
[FORUMPOST:ACTIONREPLYONCLICK] Injects the UI code used to reply to a post. [FORUMPOST:ACTIONREPLYONCLICK|<li onclick="window.location.href='{0}';" title="[RESX:Reply]"><i class="fa fa-reply fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:Reply]</span></li>] PostActions
[FORUMPOST:ACTIONQUOTEONCLICK] Injects the UI code used to quote from a post when creating a reply. [FORUMPOST:ACTIONQUOTEONCICK|<li onclick="window.location.href='{0}';" title="[RESX:Quote]"><i class="fa fa-quote-left fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:Quote]</span></li>] PostActions
[FORUMPOST:ACTIONDELETEONCLICK] Injects the UI code used to delete a post. [FORUMPOST:ACTIONDELETEONCLICK|<li onclick="{0}" title="[RESX:Delete]"><i class="fa fa-trash-o fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:Delete]</span></li>] PostActions
[FORUMPOST:ACTIONMOVEONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to move a topic thread. [FORUMPOST:ACTIONMOVEONCLICK|<li onclick="{0}" title="[RESX:Move]"><i class="fa fa-exchange fa-rotate-90 fa-blue"></i><span class="dcf-link-text">[RESX:Move]</span></li>] PostActions
[FORUMPOST:ACTIONLOCKONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to lock a topic. [FORUMPOST:ACTIONLOCKONCLICK|<li onclick="{0}" title="[RESX:LockTopic]" class="dcf-topic-lock-outer"><i class="fa fa-lock fa-fm fa-blue dcf-topic-lock-inner"></i><span class="dcf-topic-lock-text dcf-link-text">[RESX:Lock]</span></li>] PostActions
[FORUMPOST:ACTIONUNLOCKONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to unlock a topic. [FORUMPOST:ACTIONUNLOCKONCLICK|<li onclick="{0}" title="[RESX:UnLockTopic]" class="dcf-topic-lock-outer"><i class="fa fa-unlock fa-fm fa-blue dcf-topic-lock-inner"></i><span class="dcf-topic-lock-text dcf-link-text">[RESX:UnLock]</span></li>] PostActions
[FORUMPOST:ACTIONPINONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to pin a topic. [FORUMPOST:ACTIONPINONCLICK|<li onclick="{0}" title="[RESX:PinTopic]" class="dcf-topic-pin-outer"><i class="fa fa-thumb-tack fa-fm fa-blue dcf-topic-pin-unpin dcf-topic-pin-inner"></i><span class="dcf-topic-pin-text dcf-link-text">[RESX:Pin]</span></li>] PostActions
[FORUMPOST:ACTIONUNPINONCLICK] (applies to topic thread [original topic and replies]) Injects the UI code used to unpin a topic. [FORUMPOST:ACTIONUNPINONCLICK|<li onclick="{0}" title="[RESX:UnPinTopic]" class="dcf-topic-pin-outer"><i class="fa fa-thumb-tack fa-fm fa-blue dcf-topic-pin-unpin dcf-topic-pin-inner"></i><span class="dcf-topic-pin-text dcf-link-text">[RESX:UnPin]</span></li>] PostActions
[FORUMPOST:ACTIONBANONCLICK] Injects the UI code used to remove offensive posts and unauthorize the author's DNN account. [FORUMPOST:ACTIONBANONCLICK|<li onclick="window.location.href='{0}';" title="[RESX:Ban]"><i class="fa fa-ban fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:Ban]</span></li>] PostActions
[FORUMPOST:ACTIONALERTONCLICK] Injects the UI code for users to press to report a post. [FORUMPOST:ACTIONALERTONCLICK|<li onclick="window.location.href='{0}';" title="[RESX:Alert]"><i class="fa fa-bell-o fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:Alert]</span></li>] PostActions
[FORUMPOST:ACTIONMARKANSWERONCLICK] (applies only to replies) Injects the UI code that users press to answer the topic's question. [FORUMPOST:ACTIONMARKANSWERONCLICK|<li onclick="{0}" title="[RESX:Status:SelectAnswer]" class="af-markanswer">[RESX:Status:SelectAnswer]</li>] PostActions

Post Like (topic and/or reply) ([FORUMLIKE:*])

Token Description Template Example Used in Templates
[FORUMLIKE:POSTID] The id of the liked post.
[FORUMLIKE:TOPICID] The id of the originating topic of the liked post.
[FORUMLIKE:REPLYID] (only applies to replies) The id of the originating topic of the liked post.
[FORUMLIKE:CONTENTID] The internal content id of the liked content.
[FORUMLIKE:LIKECOUNT] Number of likes for the post.
[FORUMLIKE:ISLIKED] Boolean if viewing user likes the post.
[FORUMLIKE:AUTHORID] The database key of the author of the post or reply.
[FORUMLIKE:AUTHORNAME] The username the author of the post or reply.
[FORUMLIKE:AUTHORDISPLAYNAME] The display name of the author of the post or reply.
[FORUMLIKE:AUTHORDISPLAYNAMELINK] Profile link to the author of the post or reply.
[FORUMLIKE:AUTHORFIRSTNAME] The first name of the author of the post or reply.
[FORUMLIKE:AUTHORLASTNAME] The last name of the author of the post or reply.
[FORUMLIKE:AUTHOREMAIL] The email of the author of the post or reply.
[FORUMLIKE:USERID] The database key of the user who liked the post or reply.
[FORUMLIKE:USERNAME] The username the user who liked the post or reply.
[FORUMLIKE:USERDISPLAYNAME] The display name of the user who liked the post or reply.
[FORUMLIKE:USERDISPLAYNAMELINK] Profile link to the user who liked the post or reply.
[FORUMLIKE:USERFIRSTNAME] The first name of the user who liked the post or reply.
[FORUMLIKE:USERLASTNAME] The last name of the user who liked the post or reply.
[FORUMLIKE:USEREMAIL] The email of the user who liked the post or reply.

Email Notification Tokens

Token Description Template Example Used in Templates
[NEWPOST] If a new posting (not a reply), inserts 'a new post'. For replies, use [NEWREPLY]. For either, use [NEWPOST][NEWREPLY] and the correct one will be substituted. (New in 07.00.05) SubscribedEmail
[NEWREPLY] If a reply, inserts 'a new reply'. For new posts, use [NEWPOST]. For either, use [NEWPOST][NEWREPLY] and the correct one will be substituted. (New in 07.00.05) SubscribedEmail
[POSTEDTO] If a new posting (not a reply), inserts 'posted to'. For replies, use [REPLIEDTO]. For either, use [POSTEDTO][REPLIEDTO] and the correct one will be substituted. (New in 07.00.05) SubscribedEmail
[POSTEDORREPLIEDTO] If a new posting (not a reply), inserts 'posted'; for a reply, inserts 'replied to'. (New in 07.00.07)
[REPLIEDTO] If a reply, inserts 'replied to'. For new posts, use [POSTEDTO]. For either, use [POSTEDTO][REPLIEDTO] and the correct one will be substituted. (New in 07.00.05) SubscribedEmail
[SUBSCRIBEDFORUM] Inserts the words 'Subscribed Forum'. (New in 07.00.05) SubscribedEmail
[SUBSCRIBEDFORUMNAME] Inserts 'Subscribed Forum {forumname}'. (New in 07.00.05) SubscribedEmail
[SUBSCRIBEDFORUMORTOPICSUBJECTFORUMNAME] "Topic {subject} on Subscribed Forum {forumname}" (if a forum subscriber) or "Subscribed Topic {subject} on Forum {forumname}" (if a topic subscriber). (New in 07.00.07) SubscribedEmail
[SUBSCRIBEDTOPIC] Inserts the words 'Subscribed Topic'. (New in 07.00.05) SubscribedEmail
[SUBSCRIBEDTOPICSUBJECT] Inserts 'Subscribed Topic {subject}'. (New in 07.00.05) SubscribedEmail
[SUBSCRIBEDTOPICFORUMNAME] Inserts 'Subscribed Topic {subject} on Forum {forumname}'. (New in 07.00.05) SubscribedEmail

Toolbar Tokens

Token Description Sample Value Template Example Used in Templates
[DCF:TOOLBAR-FORUMS-ONCLICK] Injects the UI code used to load the main forum "home" page. https://localhost/en-us/Forums [DCF:TOOLBAR-FORUMS-ONCLICK|<a href="{0}"><i class="fa fa-home fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:FORUMS]</span></a>] Toolbar
[DCF:TOOLBAR-CONTROLPANEL-ONCLICK] Injects the UI code used to load the module Control Panel page. Only rendered for portal administrators or superusers. https://localhost/en-us/Forums/ctl/EDIT/mid/510 [DCF:TOOLBAR-CONTROLPANEL-ONCLICK|<a href="{0}"><i class="fa fa-bars fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:ControlPanel]</span></a>\] Toolbar
[DCF:TOOLBAR-UNANSWERED-ONCLICK] Injects the UI code used to load a page with topics marked as questions, but have not been marked as "resolved". https://localhost/en-us/Forums/afv/grid/afgt/unanswered [DCF:TOOLBAR-UNANSWERED-ONCLICK|<a href="{0}"><i class="fa fa-comment-o fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:Unanswered]</span></a>] Toolbar
[DCF:TOOLBAR-UNRESOLVED-ONCLICK] Injects the UI code used to load a page with topics marked as questions, but have not been marked as "resolved". https://localhost/en-us/Forums/afv/grid/afgt/unresolved [DCF:TOOLBAR-UNRESOLVED-ONCLICK|<a href="{0}"><i class="fa fa-question fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:Unresolved]</span></a>] Toolbar
[DCF:TOOLBAR-ANNOUNCEMENTS-ONCLICK] Injects the UI code used to load a page with topics marked as "announcements". https://localhost/en-us/Forums/afv/grid/afgt/announcements `[DCF:TOOLBAR-ANNOUNCEMENTS-ONCLICK [RESX:Announcements]]`
[DCF:TOOLBAR-ACTIVETOPICS-ONCLICK] Injects the UI code used to load a page with posts having most recent views. https://localhost/en-us/Forums/afv/grid/afgt/activetopics [DCF:TOOLBAR-ACTIVETOPICS-ONCLICK|<a href="{0}"><i class="fa fa-fire fa-fw fa-grey"></i><span class="dcf-link-text">[RESX:ActiveTopics]</span></a>] Toolbar
[DCF:TOOLBAR-MOSTLIKED-ONCLICK] Injects the UI code used to load a page with posts having most recent "likes". https://localhost/en-us/Forums/afv/grid/afgt/mostliked [DCF:TOOLBAR-MOSTLIKED-ONCLICK|<a href="{0}"><i class="fa fa-thumbs-o-up fa-fw fa-grey"></i><span class="dcf-link-text">[RESX:MostLiked]</span></a>] Toolbar
[DCF:TOOLBAR-MOSTREPLIES-ONCLICK] Injects the UI code used to load a page with topics having most recent replies. https://localhost/en-us/Forums/afv/grid/afgt/mostreplies [DCF:TOOLBAR-MOSTREPLIES-ONCLICK|<a href="{0}"><i class="fa fa-comments fa-fw fa-grey"></i><span class="dcf-link-text">[RESX:MostReplies]</span></a>] Toolbar
[DCF:TOOLBAR-NOTREAD-ONCLICK] Injects the UI code used to load a page with the user's unread posts. Not rendered for unauthenticated users. https://localhost/en-us/Forums/afv/grid/afgt/notread [DCF:TOOLBAR-NOTREAD-ONCLICK|<a href="{0}"><i class="fa fa-eye-slash fa-fw fa-grey"></i><span class="dcf-link-text">[RESX:NotRead]</span></a>] Toolbar
[DCF:TOOLBAR-MYTOPICS-ONCLICK] Injects the UI code used to load a page with the user's own posts. Not rendered for unauthenticated users. https://localhost/en-us/Forums/afv/grid/afgt/mytopics [DCF:TOOLBAR-MYTOPICS-ONCLICK|<a href="{0}"><i class="fa fa-user fa-fw fa-grey"></i><span class="dcf-link-text">[RESX:MyTopics]</span></a>] Toolbar
[DCF:TOOLBAR-MODERATE-ONCLICK] Injects the UI code used to load the page for moderating pending content. Only rendered for portal administrators, superusers, or users assigned to a role with "Moderate" security. https://localhost/en-us/Forums/afv/modtopics [DCF:TOOLBAR-MODERATE-ONCLICK|<a href="{0}"><i class="fa fa-wrench fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:Moderate]</span></a>] Toolbar
[DCF:TOOLBAR-MYSETTINGS-ONCLICK] Injects the UI code used to load the page for managing a user's forum preferences. https://localhost/en-us/Forums/afv/grid/afgt/afprofile [DCF:TOOLBAR-MYSETTINGS-ONCLICK|<a href="{0}"><i class="fa fa-cog fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:MySettings]</span></a>] Toolbar
[DCF:TOOLBAR-MYSUBSCRIPTIONS-ONCLICK] Injects the UI code load the page for managing a user's subscriptions. Not rendered for unauthenticated users. https://localhost/en-us/Forums/afv/grid/afgt/afsubscriptions [DCF:TOOLBAR-MYSUBSCRIPTIONS-ONCLICK|<a href="{0}"><i class="fa fa-envelope fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:MySubscriptions]</span></a>] Toolbar
[DCF:TOOLBAR-MYSUBSCRIPTIONS-ONCLICK] Injects the UI code load the page for managing a user's subscriptions. Not rendered for unauthenticated users. https://localhost/en-us/Forums/afv/grid/afgt/afsubscriptions [DCF:TOOLBAR-MYSUBSCRIPTIONS-ONCLICK|<a href="{0}"><i class="fa fa-envelope fa-fw fa-blue"></i><span class="dcf-link-text">[RESX:MySubscriptions]</span></a>] Toolbar

Template Insertion Tokens

Token Description Used in Templates
[DCF:TEMPLATE-POSTACTIONS] Injects the "post actions" template. TopicView
[DCF:TEMPLATE-TOPICACTIONS] Injects the "topic actions" template. TopicsView
[DCF:TEMPLATE-TOOLBAR] Injects the "tool bar" template. Injected as part of module
[DCF:TEMPLATE-TOOLBARSEARCHPOPUP] Injects the "tool bar search popup" template. Toolbar
[DCF:LOGINLINK] Injects the DNN login URL
[DCF:LOGINPOPUPLINK] Injects the "topic actions" template.

Utility Tokens

Token Description Template Example Used in Templates
[DCF:LOGINLINK] Injects the DNN login URL [DCF:LOGINLINK|Please <a href="{0}">login</a> to join the conversation.]
[DCF:LOGINPOPUPLINK] Injects DNN login popup URL [DCF:LOGINPOPULINK|Please <a href="[DCF:LOGINLINK]" onclick="return '{0}';">login</a> to join the conversation|Please <a href="[DCF:LOGINLINK]">login</a> to join the conversation.]
[ADDREPLY] Renders a button used to add a reply. TopicsView
[ADDTOPIC] Renders a button used to add a new topic. TopicView
[AF:CONTROL:ADDFAVORITE] Adds a button that will add the page to the browser favorites menu. ForumView
[AF:CONTROL:EMAIL] A small envelope icon used for emailing posts. TopicView, TopicsView
[AF:CONTROL:PRINTER] A small printer icon that links to a printer friendly display. TopicView, TopicsView
[BANNER] Inserts a banner ad. TopicView
[BREADCRUMB] The breadcrumb style forum navigation bar. ForumView
[JUMPTO] A small drop down list of the forums, allowing fast navigation. ForumView, TopicView, TopicsView
[MINISEARCH] The small search box. TopicsView
[QUICKREPLY] The quick reply form. TopicView
[WHOSONLINE] A list of the currently online users. ForumView
Clone this wiki locally