Shortcodes:Forum

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



  • Shortcodes - Return to the Shortcodes Category Page

Contents

Forum Shortcodes

These shortcodes are those used in the forum and theme areas of your site and can be found in the forum_shortcodes and forum_post_shortcodes files in the forum plugin.


{ANON_IP}

Displays the IP address of non registered users and members that are not logged in to their accounts. This information is available to admins only.

{AVATAR}

Displays the avatar of the member posting


{CUSTOMTITLE}

Displays the custom title of the member.

{EDITIMG}

Displays the linked image that allows members to edit their posts


{EMAILIMG}

Shows the image to email the poster.

{EMAILITEM}

{JOINED}

Displays date member registered on the site


{LASTEDIT}

Displays the date of the last time the post was updated.

{LATESTPOSTS}

{LEVEL}

Shows the user's posting level (the stars or admin image).

{LOCATION}

Displays the user's location as is filled in in the profile of that user. Location is an extra extended field which is standard included in e107 (predefined fields).

{MEMBERID}

Displays the poster's unique id on the e107 website.

{MODOPTIONS}

Displays the moderator options of Move, Edit and Delete


{POST}

Displays the post.

{POSTER}

Shows who posted this post or when in forum overview, who posted the latest post.

{POSTS}

Displays the member's post count.

{POSTSUMMARY}

Displays a summary of the post depending on your css. Requires the shortcode {POSTSUMMARY} adding to the forum_viewforum_template.php in the $FORUM_VIEW_FORUM = section after {THREADNAME} shortcode

e.g. {THREADTYPE}{THREADNAME}  {POSTSUMMARY} By {POSTER}  On {THREADDATE}

{PRINTITEM}

{PRIVMESSAGE}

{PROFILEIMG}

Shows the icon that links to the poster's profile.

{QUOTEIMG}

Displays the linked image that allows members to quote previous posts


{REPORTIMG}

Displays the linked image that allows members to report a forum post to the admins


{RPG}

Displays the user's RPG stats using the built-in RPG mod.

{SIGNATURE}

Displays the signature of the poster of this forumpost, it will be displayed wherever this shortcode is placed. Standard location is at the bottom of the post.

{THREADDATESTAMP}

Displays the creation date of the thread.

{THREADTOPIC}

{TOP}

Shows the link to go back to the top of the page (standard it says: 'top').

{TRACK}

Enables the track thread button. [1]

{VISITS}

{WEBSITE}

{WEBSITEIMG}

Shows the image to visit the poster's website (set in his/her profile).