Mntsnow
07-27-2002, 05:33 AM
I had some users asking for a quick way to get a listing of their recent posts so they could stay up on replys without having to subscribe to the pages. it was a very easy "hack".
Basically edit your forum home page templates ->forumhome and at around line 23 change
<td align="right"><smallfont>$welcometext<br><b>$newposts<b></smallfont></td>
to
<td align="right"><smallfont>$welcometext<br><b>$newposts<br><a href="search.php?s=$session[sessionhash]&action=finduser&userid=$bbuserinfo[userid]">Your Recent Posts</a></b></smallfont></td>
It makes it so the logged in user can get a quick search of their recent posts. The modification looks like this. Enjoy :)
Basically edit your forum home page templates ->forumhome and at around line 23 change
<td align="right"><smallfont>$welcometext<br><b>$newposts<b></smallfont></td>
to
<td align="right"><smallfont>$welcometext<br><b>$newposts<br><a href="search.php?s=$session[sessionhash]&action=finduser&userid=$bbuserinfo[userid]">Your Recent Posts</a></b></smallfont></td>
It makes it so the logged in user can get a quick search of their recent posts. The modification looks like this. Enjoy :)