The Arcive of vBulletin Modifications Site. |
|
Ignore maxresults in "Search by username" Details »»
|
|||||||||||||||||||||||||
Hello everyone,
I've been lurking for the past several years and figured I should probably start sharing a few quick hacks to "give back". I did a quick search but couldn't find anything that did this.... ![]() What this does: Makes "Find all posts by (member name)" actually find ALL posts by that member and ignores the value you specify (via the AdminCP) for your maximum search results (maxresults). This maxresults limit is also ignored if someone specifies a username in your "advanced search" options. It's good for boards that want to keep the maxresults limited for performance reasons, however still want to allow members to search for all their (or someone else's) past posts. ![]() On to the hack: This one is real quick, only three lines are edited in one file. In search.php: 1. Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Would be nice to search your own threads as well...
|
|
#3
|
|||
|
|||
|
Hello again,
UPDATE: Added a quick bugfix and "feature enhancement" that allows more than the maxresults limit for "New Posts" and "Today's Posts", as well.And yes, it works for searching your own (or other people's) threads as well.
|
|
#4
|
|||
|
|||
|
Is there an update for 3.5.4? I've had a go myself and I just can't get it working.
I want to return all the posts made in the last 24 hours without limit. Any help would be most appreciated.
|
![]() |
|
|