![]() |
Show Only Selected User's Posts
Description and Usage
This feature allows you to view all posts made by a user in a single thread. This feature is accessed by clicking on the any reply number in a thread listing on the fourmdisplay page. The Who Posted popup will be displayed. Click on the Posts number associated with the username and you will be shown only those posts by that username in a particular thread. I am using version 3.5.4 and it works well with it. Download the .zip file and follow the installation instructions. |
First post :)
Thanks i need this !!! |
Installed and it works fine on 3.5.4 :bunny:
|
Glad to hear it is working. My members were really wanting this as we had it with version 2.xx. Gaming Force did all the original code I was just able to figure out how to port it over to 3.5.4.
Parker |
I have found a problem in that if a member has several posts in a thread and the number of posts exceeds the max thread view and you go to the next page via the pagenav you will get everyone else in the thread too.
So it will only display the first page of the posts by a particular user. Anyone have any ideas on how write this to show only the posts by the user over each page you go to? The earliest version of this hack was written by bira for 2.xx and they was written as a separate .php file outside of the showthread page. |
Those edits to showthread.php should not be necessary - you can alter the sql via plugins. :)
|
Paul:
I am not a coder and would appreciate your input into how alter the sql via plugins. Also, if you could look over the sql so that when you click on a number in the Who Posted popup so if the posts are a large number that all of the posts by that member are the only ones that are shown with each page via the pagnav I would appreciate it. Right now it only shows you their posts up to the threadmax limit. Thanks |
I have updated the .zip to inlcude the following. I have added another change to the showthread.php file.
In showthread.php look for Code:
DEVDEBUG("First Post: $FIRSTPOSTID; Last Post: $LASTPOSTID"); Code:
DEVDEBUG("First Post: $FIRSTPOSTID; Last Post: $LASTPOSTID"); Thanks, Parker |
Hey there, I'm a new admin on Gamingforce (whose head admin did the original code for this mod, apparently), and I came across this thread while looking to *ahem* re-implement this feature on our forums -- so thanks for your work on the port :)
I'm using the hook location showthread_query_postids instead of showthread_post_start, and the plugin code is as follows: PHP Code:
Tested it and it seems to work fine. This is my first time working with hooks and plugins, so please bear with me if there are any mistakes. |
Bigblah:
Works great. Thanks. I will modify my .zip file. |
All times are GMT. The time now is 06:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|