Personal messages

<< Click to Display Table of Contents >>

Navigation:  Templates >

Personal messages

Displaying of this section can be configured in pm.tpl. Personal messages templates can be configured in this section. It is not recommended to edit this section without knowledge of HTML, because it uses the field names that are passed to the script via the form. In other words, you can edit the text as you like, but do not change the names of the fields, it is extremely important. You can use the following tags:

 

[inbox] and [/inbox]

Link to inbox.

[outbox] and [/outbox]

Link to sent mail.

[new_pm] and [/new_pm]

Link to unread personal messages.

[pmlist] and [/pmlist]

Displays the enclosed text if personal message list is viewed.

{pmlist}

Personal message list.

[newpm] and [/newpm]

Displays the enclosed text when writing new personal message.

{pm-limit}

Maximum number of messages that user can store.

{proc-pm-limit}

Used space in the inbox of the user as a percentage.

{pm-progress-bar}

Bar of fullness of personal messages.

{author}

Recipient of the message.

{subj}

Subject of the message.

{editor}

Displays BBCODE or WYSIWYG editor depending on the settings for adding the comment.

{text}

Text of message.

[readpm] and [/readpm]

Displays text in the tags if the message is viewed.

[reply] and [/reply]

Link to reply to a message.

[del] and [/del]

Link to delete a message.

{sec_code}

Displays CAPTCHA code.

[sec_code] and [/sec_code]

Displays the enclosed text if it was set to use CAPTCHA when adding the article.

{foto}

Link to a photo.

{group-icon}

User's group icon.

{group-name}

User's group name.

{news-num}

Number of user's news.

{comm-num}

Number of user's comments.

[signature]{signature}[/signature]

Displays the enclosed text and user's signature if user has set it in his profile.

{date}

Comments publication date. The date format can be configured in system settings.

{registration}

Date of the registration.

[recaptcha]

text

[/recaptcha]

Displays the enclosed text if reCAPTCHA type was enabled in settings.

{recaptcha}

Displays reCAPTCHA widget if it was enabled in settings.

[complaint]

text

[/complaint]

Displays the enclosed text as a link to writing a complaint to the comment.

[ignore]text[/ignore]

Displays inks to add user to ignore list.

[online] text [/online]

Displays the enclosed text only if user is online (20 minutes since the last visit).

[offline] text [/offline]

Displays the enclosed text only if user is offline.

 

[declination=X] text [/declination]

Changes endings according to the specified number. X is a number and "text" is a word with its endings. Endings are specified separated by "|" symbol. This tag is useful to be used with other tags that display, for example, number of views of the article or number of comments. For example, [declination={comments-num}]commen|t|ts[/declination] displays the following, depending on the number of comments: "1 comment", "10 comments"

{login}

Displays the login of the author of the personal message, without any additional registration

{date=date format}

Outputs the date in the format specified in the tag. For example the tag {date=d} displays the day of the month of publication of the news or comment, and the tag {date=F} displays the name of the month, and the tag {date=d-m-Y H:i} displays the full date and time.

{lastdate=date format}

Displays the last site visit by the user in the format specified in the tag. For example the tag {lastdate=d} displays the day of the month, and the tag {lastdate=F} displays the name of the month, and the tag {lastdate=d-m-Y H:i} displays the full date and time.

{registration=date format}

Displays the user's registration date in the format specified in the tag. For example the tag {registration=d} displays the day of the month, and the tag {registration=F} displays the name of the month, and the tag {registration=d-m-Y H:i} displays the full date and time.