WSN Knowledge Base
Featuresspacer Showcasespacer Reviewsspacer Demosspacer Purchasespacer Manualspacer Support
Settings Variables
Settings Variables
By Paul

All settings can be displayed anywhere by putting the name between { and } and capitalizing it. These are some of the more useful ones:

{MYURL} - Your site's URL as you supplied on your settings page.
{DIRURL} - The URL of where you installed the script.
{TEMPLATESDIR} - The path to the user's current templates directory.
{IMAGESURL} - The URL of the directory where images are stored.
{CATEGORYSELECTOR} - The content for a dropdown selector of categories, including all the <option> lines but not the <select> part.
{RESETDELAY} - The number of seconds delay used on redirect pages.
{UPLOADPATH} - The file path on disk to your attachments directory.
{FILETYPES} - Allowed attachment file types.
{FILESIZE} - Maximum attachment file size.
{MAXVOTE} - The highest rating allowed.
{MINVOTE} - The lowest rating allowed.
{SPONSORCHARGE} - The amount you're charging for article sponsorship.
-- Optional parameter: the number of level of sponsorship, when multiple.
{SPONSORUGCHARGE} - The amount you're charging for member sponsorship.
-- Optional parameter: the number of level of sponsorship, when multiple.
{TOTALHITS} - The total number of hits out to sites in the directory.
{TOTALHITSIN} - The total number of hits in from articles in the directory.
{TOTALLINKS} - The total number of articles in the directory.
{UNIQUETOTAL} - The total unique links, excluding aliases and links inside personal link lists.
{TOTALCOMMENTS} - The total number of comments in the directory.
{AVATARSIZE} - Maximum bytes for avatars.
{AVATARWIDTH} - Maximum pixel width for avatars.
{AVATARHEIGHT} - Maximum pixel height for avatars.
{DESCRIPLENGTH} - Maximum characters allowed in link descriptions.
{EXTERNALLINKS} - Appendage to outgoing links.
{MAINMETA} - Meta tags for the directory.
{STANDARDSIZE} - Standard size for input boxes.
{STANDARDTABLE} - Standard appendage to tables.
{MAXIMAGEWIDTH} - Maximum pixel width of image attachments.
{MAXIMAGEHEIGHT} - Maximum pixel height of image attachments.
{TOTALMEMBERS} - Total number of members registered.

Rating:


5/5 based on 1 vote. The median rating is 5.

Submitted: 11/21/03 (Edited 04/02/08)

Description: Useful settings which can be displayed globally.

Views: 1814 views. Averaging 1 per day.
In the most recent 30 day period, there've been 1 views.

Previous Article | Next Article


Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support