Moderator message profile name BBCode

(EN) Fragments of codes, mini modifications, BBCode is another.
(IT) Frammenti di codici, mini modifiche, BBCode è un altro.

Moderator message profile name BBCode

Postby Rey » 09 Jun 2013, 11:55

Title: Moderator message profile name BBCode
Author: Rey, Galandas
Description: With this we can insert into your messages BBCode preset text with the name of who moderated the post, complete with a link to the profile.



BBCODE:
Code: Select all
[modr]{NUMBER}]{SIMPLETEXT}[/modr]

HTML:
Code: Select all
<p class="rules"><img src="./styles/prosilver/imageset/icon_topic_unapproved.gif" alt="" title="This message has been moderated by {SIMPLETEXT}" height="14" width="16">This message has been moderated by  <a href="memberlist.php?mode=viewprofile&u={NUMBER}">{SIMPLETEXT}</a></p>

Online help:
Code: Select all
Moderator BBCode: [modr]NUMBER OF PROFILE]YOUR NAME[/modr]

Example:
Code: Select all
[modr]2]phpbb3world[/modr]

Demo:
Image
User avatar
Rey
Site Admin
 
Posts: 76
Joined: 10 Aug 2012, 13:37
Location: Italy

Return to Snippets

Who is online

Users browsing this forum: No registered users and 4 guests

cron