![]() |
Modifications to Search page
If possible, I would like to see a few modifications to the search function.
I have Articles, Questions of the week, Yada Yada And I would like to either modify the search.php or create a new file (call it latestposts.php or some such), which ever is easier and have variables set up. One variable would be for lets say all post within the last 7 days or so One Variable that acts like the search.php?do=getnew One that acts like the search.php?do=getdaily One that looks like search.php?do=QOTW that only pulls from my QOTW forums One that looks like search.php?do=articles that only pulls from my Articles forums Any help with this would be great, Thank you! |
One variable would be for lets say all post within the last 7 days or so
search.php?do=getnew&days=7 One Variable that acts like the search.php?do=getnew search.php?do=getnew One that acts like the search.php?do=getdaily search.php?do=getdaily One that looks like search.php?do=QOTW that only pulls from my QOTW forums search.php?do=getnew&forumid=QOTWid To make the URLs nicer, you could use a Plugin on Hook search_start to set the necessary Variables inside search.php to hide it form the User, eg. define new do-actions like lastweek, etc. If you want a completely new file for it - just copy search.php :) |
All times are GMT. The time now is 08:46 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:
|