PDA

View Full Version : PM in/out/tracking box on forum index



MarkB
Mon 26th Nov '01, 12:41am
Hi :)

Not sure if anyone's done this (pls let me know if they have!), but I just added this to my site - if anyone's interested, pls let me know and I'll share the code. It's not difficult at all so you'll probably figure it out for yourself regardless! :p

-DLoH-hammer
Mon 26th Nov '01, 12:14pm
looks fine share it plz :)

WhoMe
Mon 26th Nov '01, 7:21pm
yeah...please do :)

MarkB
Mon 26th Nov '01, 8:20pm
Ok :) Simply change forumhome_pmloggedin to this:



<br>
<smallfont><b>$bbuserinfo[username]'s Private Messages
<br>
<a href="private.php?s=$session[sessionhash]" title="Click Here to Open Your Private Messages $inboxname"><img src="pm_inbox.gif" align="absmiddle" border=0></a> <a href="private.php?s=$session[sessionhash]" title="Click Here to Open Your Private Messages $inboxname">Inbox <font color="ffcc00">($newpm[messages] New)</font></a>
<br>
<a href="private.php?s=$session[sessionhash]&folderid=-1" title="Click Here to Open Your Private Messages $outboxname"><img src="pm_sent.gif" align="absmiddle" border=0></a> <a href="private.php?s=$session[sessionhash]&folderid=-1" title="Click Here to Open Your Private Messages $outboxname">Outbox</a>
<br>
<a href="private2.php?s=$session[sessionhash]" title="Click Here to Open Your Private Message Tracking"><img src="pm_tracking.gif" align="absmiddle" border=0></a> <a href="private2.php?s=$session[sessionhash]" title="Click Here to Open Your Private Message Tracking">Message Tracking</a>
</b></smallfont>
<br>


As you can see, I've used images called pm_inbox.gif, pm_sent.gif, and pm_tracking.gif :)


There're some hardcoded colour codes in there you will probably want to change, btw :)

Goldfinger
Mon 26th Nov '01, 9:14pm
would you mind sharing those images ?

MarkB
Mon 26th Nov '01, 9:20pm
They're actually just MS Outlook Express icons :)

Martz
Wed 28th Nov '01, 1:28pm
Great template tweak, thanks :)