[MOD-DB] Search latest 24h 48h 72h v1.1.0
 
 
Post new topic   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> phpBB MODs -> Search latest 24h 48h 72h
View previous topic :: View next topic  
Author Message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Sat Jul 23, 2005 11:14 pm    Post subject: [MOD-DB] Search latest 24h 48h 72h v1.1.0 Reply with quote

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note:
This MOD has been kindly approved by the phpBB MOD Team Smile

Check out its Release Announcement topic:
http://www.phpbb.com/phpBB/viewtopic.php?t=299341
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MOD Title: Search latest 24h 48h 72h

MOD Description: This MOD adds a new search feature so it allows to search for posts from latest XX hours. The list of latest hours can be specified from the ACP, also whether to show results as posts or topics.

MOD Version: 1.1.0

MOD Download: Please use the phpBB MODs Database (Add-On's category).

Demo Board: http://forums.phpmix.org

MOD Header:

Code:
##############################################################
## MOD Title: Search latest 24h 48h 72h
## MOD Author: markus_petrux < nospam@phpmix.com > (Markus) http://www.phpmix.com
## MOD Description: This MOD adds a new search feature so it allows to search for posts from
##                  latest XX hours. The list of latest hours can be specified from the ACP,
##                  also whether to show results as posts or topics.
## MOD Version: 1.1.0
##
## Installation Level: (Easy)
## Installation Time: 15 Minutes
## Files To Edit: 7
##      language/lang_english/lang_main.php
##      language/lang_english/lang_admin.php
##      index.php
##      templates/subSilver/index_body.tpl
##      search.php
##      admin/admin_board.php
##      templates/subSilver/admin/board_config_body.tpl
## Included Files: none
## License: http://opensource.org/licenses/gpl-license.php GNU Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## - Tested with phpBB 2.0.15, 2.0.16 and 2.0.17
## - This MOD is EasyMOD friendly.
##
##############################################################
## MOD History:
##
## 2005/07/25 - 1.1.0
##   - Added ability to specifiy the list of hours from the ACP,
##    also whether to show results as posts or topics.
##
## 2005/06/17 - 1.0.2
##   - Changed the way the links are constructed, so all HTML/CSS attributes
##    are now moved to the template, for easy adaption to other styles.
##
## 2005/01/31 - 1.0.0
##   - Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Sat Jul 23, 2005 11:14 pm    Post subject: Re: [DEV] Search latest (admin specified) hours Reply with quote

Well, the admin could enter a list of hours in a text field available from the board configuration panel. For instance, to show links to search for latest 24h, 48h, 72h, the admin could enter "24,48,72" in the ACP. The code of this MOD could dynamically build the links in the forum index with this information.

If we are going to touch the board configuration panel for this MOD, we could also add another field so it would be possible to select whether to show results as posts or topics.

Just though about all this stuff, by reading these Molew's posts:
http://www.phpbb.com/phpBB/viewtopic.php?p=1680742#1680742
...and this one by Cross_+_Flame:
http://www.phpbb.com/phpBB/viewtopic.php?p=1671073#1671073

For those already running the MOD, I'll provide upgrade instructions as well...

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Mon Jul 25, 2005 11:26 am    Post subject: Re: [DEV] Search latest XX hours Reply with quote

Topic starter updated. Link to download is now available.

Please note this is still beta code. I'll provide upgrade instructions as soon as 1.1.0 gets stable enough.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Wed Jul 27, 2005 3:32 am    Post subject: Re: [MOD-DB] Search latest 24h 48h 72h v1.1.0 Reply with quote

This MOD has been kindly approved by the phpBB MOD Team. Smile

Check out its Release Announcement topic:
http://www.phpbb.com/phpBB/viewtopic.php?t=299341

Download:
Please use the phpBB MODs Database (Add-On's category).

Support, feeback, suggestions:
Feel free to use this forum, here at phpMiX.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> phpBB MODs -> Search latest 24h 48h 72h All times are GMT + 1 Hour
 
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum