Search users Posts from topic

Tips & Tricks to use on your phpBB3 Forum.
User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm
Your Forum/Website URL: http://
Location: UK
Contact:

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

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider to support the site.


craig1985
Forum Member
Forum Member
Posts: 3
Joined: Tue Nov 17, 2009 12:54 am
Your Forum/Website URL: http://bestearnonline.com

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


Return to “PhpBB3 Tips & Tricks”



Who is online

Users browsing this forum: No registered users and 4 guests