Search users Posts from topic

Tips & Tricks to use on your phpBB3 Forum.
  • Advertisement

Bookmark and Share

Search users Posts from topic

Postby LDM » Fri Oct 24, 2008 2:18 pm

Changes post count into a link showing all of that users posts.

If using prosilver or prosilver based style..
Open styles/prosilver/template/viewtopic_body.html

Find:
Code: Select all
<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->


Replace with:
Code: Select all
<!-- IF postrow.POSTER_POSTS != '' and U_MCP --><dd><strong>{L_POSTS}:</strong> <a href="search.php?keywords=&terms=all&author={postrow.POST_AUTHOR}">{postrow.POSTER_POSTS}</a></dd><!-- ELSE --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->


If using with Subsilver2 or Subsilver2 based style..
Open styles/subsilver2/template/viewtopic_body.html

Find:
Code: Select all
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->


Replace with:
Code: Select all
<!-- IF postrow.POSTER_POSTS != '' and U_MCP --><br /><b>{L_POSTS}:</b> <a href="search.php?keywords=&terms=all&author={postrow.POST_AUTHOR}">{postrow.POSTER_POSTS}</a><!-- ELSE --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->


Don't forget to refresh template files in admin after uploading file.
Image

Image
User avatar
LDM
Site Admin
Site Admin
 
Posts: 1794
Joined: May 2008
Location: UK
Has thanked: 17 times
Have thanks: 122 times
Fine

Re: Search users Posts from topic

Postby craig1985 » Tue Oct 19, 2010 7:04 pm

On my Forum this works perfectly for me with the aerored theme, however members can not see the link to show all the posts. Is there any way to do it so they can
User avatar
craig1985
Forum Member
Forum Member
 
Posts: 3
Joined: November 2009
Has thanked: 0 time
Have thanks: 0 time



  • Advertisement

Return to PhpBB3 Tips & Tricks



Who is online

Users browsing this forum: Exabot [Bot] and 1 guest


Subscribe to the ModphpBB3 Forum RSS