The warnings count will show up below the warn button at the bottom right of a warned member's post for only moderators to see.
This is how you can spruce it up a bit with a background image to make it look like it belongs in the page.
Spoiler:
First you will need to create a background image like this.... Then save it in your imageset directory as styles/subSilver/imageset/en/icon_post_warnings.gif
<table width="100%" cellspacing="0"> <tr valign="middle"> <td class="gensmall" align="right"> <!-- IF not S_IS_BOT --> <!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </td> </tr> </table>
Just a note, this is the format it is displayed in the file. So a copy/find of the the first one wont source it. If anyone really cares
Star Trek Guide Forums Moderation Team phpBB3 MODs and Styles Development - Olympus MOD Database - phpBB / PHP programming Academy and Discussion Forum
<table width="100%" cellspacing="0"> <tr valign="middle"> <td class="gensmall" align="right"> <!-- IF not S_IS_BOT --> <!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </td> </tr> <!-- IF U_MCP and postrow.POSTER_WARNINGS neq 0 --> <tr> <td class="gensmall" align="right"><strong style="color: red;">{L_WARNINGS}: {postrow.POSTER_WARNINGS}</strong> </td> </tr> <!-- ENDIF --> </table>
I beg to differ!
I copied the text from the first spoiler and it wasnt until I searched for a specific line that I found the code because it didn't follow the same format that was in the spoiler. However the code you have just posted would because its the same as what I just posted.
What might have happened is that the spoiler change the line lenght so it moved the ENDIF's to the next line.
Star Trek Guide Forums Moderation Team phpBB3 MODs and Styles Development - Olympus MOD Database - phpBB / PHP programming Academy and Discussion Forum
<table width="100%" cellspacing="0"> <tr valign="middle"> <td class="gensmall" align="right"> <!-- IF not S_IS_BOT --> <!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </td> </tr> </table>
What is happening is that my background image is being displayed over and over all along the bottom of the text area. The Warning text is inside the first image which is being displayed at the extreme left bottom corner of the text area. Also I would like to mention that there is a question mark after warning. I.E. Warnings ? 1