MyBBThemes Community

Full Version: PM Legend Template Mod
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
This mod will make a PM legend show in your Private Message page. (Live on themes here!)

Go to your ACP > Templates > *Your Template Set > Private Messaging Templates > private.

Find
Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="trow1">{$multipage}</td>
<td class="trow1" align="right"><span class="smalltext"><strong>{$lang->jump_folder} {$folderjump} <input type="submit" class="button" name="hop" value="{$lang->go}" /></strong></span></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type="hidden" name="action" value="do_stuff" />
</form><br /><br />
{$footer}
</body>
</html>

Replace with:
Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="trow1">{$multipage}</td>
<td class="trow1" align="right"><span class="smalltext"><strong>{$lang->jump_folder} {$folderjump} <input type="submit" class="button" name="hop" value="{$lang->go}" /></strong></span></td>
</tr>
</table>
</td>
</tr>
</table><br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
    <tr>
        <td class="trow1">
            <table width="100%">
                <tr>
                    <td>
                        <div style="text-align: center;"><img src="{$theme['imgdir']}/new_pm.gif" alt="New PM" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">New PM</span>                         <img src="{$theme['imgdir']}/old_pm.gif" alt="Old PM" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">Old PM</span> <img src="{$theme['imgdir']}/re_pm.gif" alt="Replied-to PM" style="vertical-align: middle;" /> <span class="smalltext">Replied-to PM</span> <img src="{$theme['imgdir']}/fw_pm.gif" alt="Forwarded PM" style="vertical-align: middle;" /> <span class="smalltext">Forwarded PM</span></div>
                    </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type="hidden" name="action" value="do_stuff" />
</form><br /><br />
{$footer}
</body>
</html>

Save template. Refresh PM page. It should now be at the bottom.

Example:
[attachment=1018]

Enjoy!
Sorry if i might annoy you now but you seem to be missing some code :P

It should be replaced with this:

Code:
First Post has been updated with the new code

Not by the one in your post as you have the footer in an opened table tag (2 tags :P ) This fix moves the footer out of the table which should make it fluid to your width again :P
Updated with correct code. I was wondering what was wrong with the footer. =P

Thanks!
Great post!
Good Look in my forum!:yes:
Looks very good, mister_don. :D

Thanks to everyone for the comments. :D I'm including this legend in all my new themes as well.
thanx ı like the puling
This is actually a very good idea. Makes you wonder why it isn't defaulted that way??
I know what you mean. :P At first it was really hard for me to figure out what the icons meant... LOL
Well, I've put this on all my themes, and it even helped me discover that one of them didn't even have a new pm icon. LOL...without the legend, it's harder to know if they're there. ;) definite kudos on this release!
Pages: 1 2
Reference URL's