User Profile

<< Click to Display Table of Contents >>

Navigation:  Templates >

User Profile

Display of this form is configured in userinfo.tpl. Templates are customized in this section which are used to display the user profile. 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:

 

{usertitle}

Username.

{info}

Brief information about the user.

{editmail}

E-mail address.

{comm-num}

Number of comments.

{news-num}

Number of news.

{status}

User status (his/her user group).

{rate}

Current rating of user's articles (formed automatically on the basis of the articles rating).

[rating-type-1] text [/rating-type-1]

Displays the enclosed text if the first 'Rating' type was enabled for articles in script settings.

[rating-type-2] text [/rating-type-2]

Displays the enclosed text if the second rating type 'Likes only' was enabled for articles in script settings.

[rating-type-3] text [/rating-type-3]

Displays the enclosed text if the third rating type 'Like' or 'Dislike' was enabled for articles in script settings.

[comments-rating-type-1]

text [/comments-rating-typepe-1]

Displays the enclosed text if the first 'Rating' type was enabled for comments in script settings.

[comments-rating-type-2]

text [/comments-rating-type-2]

Displays the enclosed text if the second rating type 'Likes only' was enabled for comments in script settings.

[comments-rating-type-3]

text [/comments-rating-typepe-3]

Displays the enclosed text if the third rating type 'Like' or 'Dislike' was enabled for comments in script settings.

{commentsrate}

Displays the total rating of all comments of this user.

{registration}

User's date of registration.

{editinfo}

Displays existing summary information in the field when editing the profile.

{hidemail}

Displays checkbox to hide an e-mail address.

{foto}

Link to the uploaded photo.

{fullname}

Full name of the user.

{land}

User's place of residence.

[not-logged] and [/not-logged]

Displays the enclosed code if user views his own profile. It is used to allow visitors edit their own profiles.

[signature] and [/signature]

Displays the enclosed text if user has set the signature.

{signature}

Displays the user's signature.

{editsignature}

Displays the user's signature formatted for editing.

{lastdate}

Displays the date of the last visit.

{comments}

Link to all the user's comments.

{allowed-ip}

IP from which the registration is allowed.

{xfields}

Displays extra fields of the profile when edited.

[xfinput_X]

Displays your extra fields of the form in the desired location, where X is the name of the extra field

[xfvalue_x]

Displays the value of extra field "x", where "x" is the name of extra field.

[xfgiven_x] [xfvalue_x] [/xfgiven_x]

Extra field "x" is displayed if it is not empty.

[xfnotgiven_x]

text

[/xfnotgiven_x]

Displays the enclosed text if user extra field has not been set, where X is the name of user profile extra field.

{group-icon}

The user's group icon.

[time_limit]  [/time_limit]

Displays the enclosed text if user is in the temporary group.

{time_limit}

Displays the date before which the user is in the temporary group.

{news}

Link to all the news published by the user.

[rss] text [/rss]

Link in the profile to the RSS feed of all the news of the user.

{ignore-list}

List of users from the ignore list.

[fullname]

text [/fullname]

Displays the enclosed text if user's full name has been set.

[not-fullname]

text [/not-fullname]

Displays the enclosed text if user's full name has not been set.

[land] text [/land]

Displays the enclosed text if user's place of residence has been set.

[not-land] text [/not-land]

Displays the enclosed text if user's place of residence has not been set.

[news-num]

text

[/news-num]

Displays the enclosed text if user published news on the website.

[not-news-num]

text

[/not-news-num]

Displays the enclosed text if user did not publish news on the website.

[comm-num]

text [/comm-num]

Displays the enclosed text if user left comments on the website.

[not-comm-num]

text [/not-comm-num]

Displays the enclosed text if user did not leave comments on the website.

[online] text [/online]

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

[offline] text [/offline]

Displays the enclosed text if user is offline.

[profile-user-group=X] Text [/profile-user-group]

The enclosed text is displayed if the group of the user, whose profile is viewed, belongs to the group X, where X is the group number. Groups can also be listed by comma.

[not-profile-user-group=X] Text [/not-profile-user-group]

The enclosed text is displayed if the group of the user, whose profile is viewed, does not belong to the group X, where X is the group number.

{timezones}

It shows list of available time zones, and allows user to choose time zone for his/her profile on the website.

{news-subscribe}

Displays a checkbox for unsubscribing from comments and the number of signed publications.

{unsubscribe}

Displays a checkbox for a subscription to receive notifications of new comments that are added to the news authored by the user.

{comments-reply-subscribe}

Displays a checkbox for a subscription to receive notifications of new comments that are replies to comments of the user.

{pm}

Link to writing a personal message to the user

{email}

Link to writing E-mail messages to the user

{twofactor-auth}

Displays the check box where user can enable or disable Two-Factor Authentication