PDA

View Full Version : User's Recent Posts "hack"


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 :)

eGoR
08-05-2002, 09:30 AM
nice add, m8
thx for it

Sadie Frost
08-08-2002, 06:14 PM
Great idea - thanks! :)

Boofo
08-08-2002, 07:08 PM
Boy, this "template mod" sure looks familiar. Hmmm...where have I seen it before? :)

Spanish Prisone
08-11-2002, 01:17 AM
cool, thanks. very usefull!

LordHelmut
08-14-2002, 01:32 AM
I just added it, thanks for that :)