phpMiX.org :: Open Source eXperiments

 
[MOD-DB] Search latest 24h 48h 72h v1.1.0
Select messages from
# through # FAQ
[/[Print]\]
 
phpMiX.org -> Search latest 24h 48h 72h

#1: [MOD-DB] Search latest 24h 48h 72h v1.1.0 Author: markus PostPosted: Sat Jul 23, 2005 11:14 pm
    —
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
##############################################################
 

#2: Re: [DEV] Search latest (admin specified) hours Author: markus PostPosted: Sat Jul 23, 2005 11:14 pm
    —
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...
 

#3: Re: [DEV] Search latest XX hours Author: markus PostPosted: Mon Jul 25, 2005 11:26 am
    —
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.
 

#4: Re: [MOD-DB] Search latest 24h 48h 72h v1.1.0 Author: markus PostPosted: Wed Jul 27, 2005 3:32 am
    —
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.
 




phpMiX.org -> Search latest 24h 48h 72h


output generated using printer-friendly topic mod. All times are GMT + 1 Hour

 
Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group