New function in user info menu: Show your posts in forum index

spiros · 2 · 5892

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 824764
    • Gender:Male
  • point d’amour
So far this was accessible only from the menu on your profile page. Now, you can click Show your posts when you log in (user info is on top, on the left) and it will display all your posts in the forum.

How was this done?

Open: /Themes/ThemeName/index.template.php

Find:
Code: [Select]
<a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />'
Replace With:
Code: [Select]
<a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />
<a href="', $scripturl, '?action=profile;u=', $context['user']['id'] , ';sa=showPosts">Show your posts.</a><br />'
« Last Edit: 01 Mar, 2006, 23:16:59 by spiros »


spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 824764
    • Gender:Male
  • point d’amour
Another function added at the top for your convenience: View the 30 most recent posts on the forum for full view of the posts' text.

« Last Edit: 02 Mar, 2006, 12:43:22 by spiros »



 

Search Tools