Shortcodes:Comments

From e107 Wiki
Jump to: navigation, search

e107 Wiki: English | Русский | Deutsch | Français | Magyar | Português | Български | Česky | Nederlands | Ελληνικά | Italiano | Norske | Polska | Slovenščina | Español | Svenska | Translate: Wiki | Page

logo_wiki.png

Current Release 1.0.4 | e107.org | Download | Changelog | Forum | Plugins | Themes | RSS Feed of Latest Changes | Atom Feed of Latest Changes


e107 Shortcode Guide
Main page > I : First Aid > II : Development > III : Administration > IV : How To's > V : Plugin Writing > VI : Theming & Shortcodes



These shortcodes are used to style the Comments in the theme.php file of your theme. These shortcodes can be found in e107_files\shortcode\batch\comment_shortcodes.php .

Contents

{SUBJECT}

This displays the Subject of the comment.

{USERNAME}

This displays the user name as a text link to their profile page.

{TIMEDATE}

The date and time of the comment.

{REPLY}

This displays a reply to link for the current comment. This is only displayed if nested comments in turned on in the Admin section, Site Preferences:Comments.

{AVATAR}

This displays the user's avatar.

{COMMENTS}

This displays the current number of comments the user has posted.

{JOINED}

This displays the date the user joined the website.

{COMMENT}

This displays the posted comment.

{COMMENTEDIT}

This displays a link allowing the user to edit their comment. It is only displayed if the "Allow posters to edit their comments" option is turned on in the Admin section, Site Preferences:Comments.

{RATING}

This will display the user's rating if the user rating system in turned on in the Admin section, Member Options

{IPADDRESS}

This displays the IP address of the user. WARNING This displays the FULL address of the user, not good for the security and privacy of your users, use with discretion.

{LEVEL}

This displays the users level in the website.

{LOCATION}

This displays the users location if filled out in the users profile page.

{SIGNATURE}

This will display the users forum signature.

Theming Comments