Article Variables
By Paul
3/5 based on 2 votes. The median rating is 1.
By Paul
Main variables
{LINKID} - The id number of the article.
{LINKTITLE} - The title of the article.
{LINKDESCRIPTION} - Description of the article.
-- Optional paramater: {LINKDESCRIPTION[x]} will trim the description to x characters.
{LINKDESCRIPTIONSENTENCE} - The first sentence of the desciption.
{LINKTEXT} - The full text of the article.
-- Optional paramater: {LINKTEXT[x]} will trim the text to x characters.
{LINKCATID} - The id number of the category which this article is in.
{LINKCATNAME} - The name of the category this article is in.
{LINKORIGINALCATNAME} - The name of the original category of an aliased article (or just regular category name otherwise).
{LINKEMAIL} - The email address provided when the article was submitted.
{LINKHITS} - Number of times the article has been viewed.
{LINKNUMCOMMENTS} - Number of comments posted about this article.
{LINKOWNERID} - Member id number of the person who submitted the article.
{LINKTYPE} - The type of this article (regular, etc)
{LINKDATE} - The date on which this article was first submitted.
{LINKLASTEDITDATE} - The date on which this article was last edited.
{LINKNEW} - Contains the html to display the "new" image if the article is new, otherwise it's empty.
{LINKUPDATED} - Contains the html to display the "updated" image if the article is updated, otherwise it's empty.
{LINKHITSOUTTEMP} - Number of views over last admin-defined number of days.
{LINKHITSOUTPERDAY} - Number of views per day.
{LINKHITSOUTPERMONTH} - Number of views per month.
{LINKDAYSOLD} - The number of days ago the article was submitted.
{LINKEXPIREDAYS} - Days until article expires, if it is set to expire.
{LINKVIEWERS} - List of people who've viewed the article [if activated]
{LINKTHREADVIWERS} - List of people who've viewed the associated comments thread [if activated]
{LINKADMIN} - If the viewer has permission to edit the article, contains the edit image/link... otherwise empty.
{LINKNUMALIASES} - The number of aliases the article has.
{LINKALIASEDIN} - A list of the categories the artoc;e is aliased to.
--- Optional paramater: separator (defaults to a comma)
{LINKIMPORTANCE} - The importance of the listing based on the formula defined in your admin panel.
{LINKIMPORTANCENUMBER} - The ranking of the listing ordered by importance.
Voting variables
{LINKRATING} - The rating, as a decimal, of the article.
{LINKVOTES} - Number of votes cast for the article.
{LINKSUMOFVOTES} - The sum of all vote values cast for this article.
{LINKSTARS} - html to display a number of stars equivilant to the article's rating.
{LINKVOTERIPS} - List of IP addresses of the people who have voted for the article.
{LINKVOTERIDS} - Currently N/A, should be list of member ids numbers of people who've voted for the article.
{LINKMEDIANRATING} - The median rating of the listing.
-- Optional parameter: field, to get median for custom rating fields. {LINKMEDIANRATING[stylerating]} gets the average style rating.
Attachment variables
{LINKFILENAME} - The filename on disk of the attached file -- this will be a long randomized string.
{LINKFILETITLE} - The readable submitted file name of the attachment, suitable for display.
{LINKDOWNLOADS} - The number of times the attached file has been downloaded.
{LINKFILESIZE} - Size of attachment in bytes.
{LINKKB} - Size of attachment in kilobytes.
{LINKXWIDTH} - The width of image attachments in pixels.
{LINKYHEIGHT} - The height of image attachements in pixels.
{LINKISIMAGE} - For custom attachment fields, a boolean to see if we can make a thumbnail.
Note: For custom attachment variables, insert the field name after article. For example, {LINKMYATTACHFIELDKB} would give the size in KB of a custom attachment field named myattach.
Misc.
{LINKNAV} - Contains the navigation path of the categories to get to the article.
{LINKTYPESELECTOR} - The <option value...> content of the article type selector.
{LINKHIDESELECTOR} - Contains <option value...> content of the yes/no selector for hiding a article.
{LINKVALIDATED} - 0 if article is unvalidated, 1 if it is validated.
{LINKHIDE} - 0 if article is hidden, 1 is visible.
{LINKNOTIFY} - 0 if submitter does not want to be notified of comments on the article, 1 if they do.
{LINKISREAD} - 0 (false) if the article has not been visitied by the user, 1 (true) if it has.
{LINKCOMMENTSREAD} - 0 (false) if the most recent comment in the associated comments thread has not been read by the user, 1 (true) if it has.
{LINKISNEW} - 0 if article is old, 1 if it's new.
{LINKISUPDATEDBOOL} - 0 if article hasn't been recently updated, 1 if it has been.
{LINKID} - The id number of the article.
{LINKTITLE} - The title of the article.
{LINKDESCRIPTION} - Description of the article.
-- Optional paramater: {LINKDESCRIPTION[x]} will trim the description to x characters.
{LINKDESCRIPTIONSENTENCE} - The first sentence of the desciption.
{LINKTEXT} - The full text of the article.
-- Optional paramater: {LINKTEXT[x]} will trim the text to x characters.
{LINKCATID} - The id number of the category which this article is in.
{LINKCATNAME} - The name of the category this article is in.
{LINKORIGINALCATNAME} - The name of the original category of an aliased article (or just regular category name otherwise).
{LINKEMAIL} - The email address provided when the article was submitted.
{LINKHITS} - Number of times the article has been viewed.
{LINKNUMCOMMENTS} - Number of comments posted about this article.
{LINKOWNERID} - Member id number of the person who submitted the article.
{LINKTYPE} - The type of this article (regular, etc)
{LINKDATE} - The date on which this article was first submitted.
{LINKLASTEDITDATE} - The date on which this article was last edited.
{LINKNEW} - Contains the html to display the "new" image if the article is new, otherwise it's empty.
{LINKUPDATED} - Contains the html to display the "updated" image if the article is updated, otherwise it's empty.
{LINKHITSOUTTEMP} - Number of views over last admin-defined number of days.
{LINKHITSOUTPERDAY} - Number of views per day.
{LINKHITSOUTPERMONTH} - Number of views per month.
{LINKDAYSOLD} - The number of days ago the article was submitted.
{LINKEXPIREDAYS} - Days until article expires, if it is set to expire.
{LINKVIEWERS} - List of people who've viewed the article [if activated]
{LINKTHREADVIWERS} - List of people who've viewed the associated comments thread [if activated]
{LINKADMIN} - If the viewer has permission to edit the article, contains the edit image/link... otherwise empty.
{LINKNUMALIASES} - The number of aliases the article has.
{LINKALIASEDIN} - A list of the categories the artoc;e is aliased to.
--- Optional paramater: separator (defaults to a comma)
{LINKIMPORTANCE} - The importance of the listing based on the formula defined in your admin panel.
{LINKIMPORTANCENUMBER} - The ranking of the listing ordered by importance.
Voting variables
{LINKRATING} - The rating, as a decimal, of the article.
{LINKVOTES} - Number of votes cast for the article.
{LINKSUMOFVOTES} - The sum of all vote values cast for this article.
{LINKSTARS} - html to display a number of stars equivilant to the article's rating.
{LINKVOTERIPS} - List of IP addresses of the people who have voted for the article.
{LINKVOTERIDS} - Currently N/A, should be list of member ids numbers of people who've voted for the article.
{LINKMEDIANRATING} - The median rating of the listing.
-- Optional parameter: field, to get median for custom rating fields. {LINKMEDIANRATING[stylerating]} gets the average style rating.
Attachment variables
{LINKFILENAME} - The filename on disk of the attached file -- this will be a long randomized string.
{LINKFILETITLE} - The readable submitted file name of the attachment, suitable for display.
{LINKDOWNLOADS} - The number of times the attached file has been downloaded.
{LINKFILESIZE} - Size of attachment in bytes.
{LINKKB} - Size of attachment in kilobytes.
{LINKXWIDTH} - The width of image attachments in pixels.
{LINKYHEIGHT} - The height of image attachements in pixels.
{LINKISIMAGE} - For custom attachment fields, a boolean to see if we can make a thumbnail.
Note: For custom attachment variables, insert the field name after article. For example, {LINKMYATTACHFIELDKB} would give the size in KB of a custom attachment field named myattach.
Misc.
{LINKNAV} - Contains the navigation path of the categories to get to the article.
{LINKTYPESELECTOR} - The <option value...> content of the article type selector.
{LINKHIDESELECTOR} - Contains <option value...> content of the yes/no selector for hiding a article.
{LINKVALIDATED} - 0 if article is unvalidated, 1 if it is validated.
{LINKHIDE} - 0 if article is hidden, 1 is visible.
{LINKNOTIFY} - 0 if submitter does not want to be notified of comments on the article, 1 if they do.
{LINKISREAD} - 0 (false) if the article has not been visitied by the user, 1 (true) if it has.
{LINKCOMMENTSREAD} - 0 (false) if the most recent comment in the associated comments thread has not been read by the user, 1 (true) if it has.
{LINKISNEW} - 0 if article is old, 1 if it's new.
{LINKISUPDATEDBOOL} - 0 if article hasn't been recently updated, 1 if it has been.
Rating:
3/5 based on 2 votes. The median rating is 1.
Submitted: 11/23/03 (Edited 08/03/09)
Description: Description of each item variable in WSN Knowledge Base.
Views:
583 views. Averaging 0 views per day.
In the most recent 30 day period, there've been 0 views.

Print
E-Mail