Last update: 2008-03-01
You don't have to see the whole staircase, just take the first step
- Martin Luther King, Jr.
:: ADDONS
AddonDoc2 1.1
ChangeDateNew 3.5.6
Chmod 0.2
CopyNews 0.4
CustomFields 1.0
EasyEdit 1.0.1
EmptyProfile 0.6.1
FieldIncluder 1.0
Filter By Field 2.1
Full Profile Build 1.0
IsNewValue 0.1
Link Validator 1.3
Maginot Columns 0.3
Maginot Line Build 17
Modify News : Missing Subject 0.1.2
Multipart 1.59
NewFiles 1.1
NewsCounter 0.4
NumericNewsID 0.2
Prisoner's Dilemma build 2
Profile Numeric Filter 0.1.2
QueryFetcher 0.2
Random News 1.2
Search And Replace 1.0
ShadowMail 2.2
Snipper 1.0.1
SortOrders 2.3
Style Debugger 0.2
Top Bottom News Fields 0.1
X Multisubmit 2.4.3
 
:: DOCUMENTS
Weberver & Perl Errors
 
:: SUPPORT ME
If you have found my guidance here or in the Coranto forums helpfull or is using one of my addons and liked it here is your chance to materially support and encourage me to spend time helping others and keep developing existing and future addons to Coranto. Please note that this is a donation and not payment, what I do with my free time is up to me!

:: SUPPORTERS
Eduardo Pedreño
Ken Edwards (mavmesa)
Audioholics.com
Jesse Walden
Michio Takagi
CORANTO // ADDONS
:. ChangeDateNew 3.5.6 EDIT 2005-03-03

Allowes you to change the date and time of when a specific post was submitted, which can be both a past date and a future date. This makes it possible to post news in advance and having them show up at a later date (if automatic builds are needed, crontab and the addon autobuild is required).
It is also possible to specify an enddate when the post should be filtered out when doing a build and the newsitem will automagically be moved to a new Category if desired. Great for making an events calendar only showing future events.

Support for the X Multisubmit (XMS)-addon exists so that only the submitpages that you want will show the changedate fields.


This is the addon for you if:
* You would like to post news ahead of time.
* You need to post news with an old submission date.
* You need to specify a date when the newsitem should disapear from the site.

VERSION HISTORY
3.5.6 by Parahead (2005-03-03)
Bugfix, hooks inserted into the NewsCategory addon now done through EarlyHook instead of when the addon loads, which could cause problem if CDN was loaded before ncategory.
Bugfix, changed the sub ChangeDateNew_FuturePost to a 'my-sub' instead, since it needs access to the profile name when calling ChangeDateNew_SelectProfs.
Bugfix, the subs ChangeDateNew_SelectProfs and ChangeDateNew_ProfSelect now handles the virtual headline profiles correctly, that is using the main profile settings.

3.5.5 by Parahead (2005-02-19)
Bugfix, posting a newsitem without changing the submit date/time when a newsitem ahead of time already existed made the current newsitem appear before the fresher one.

3.5.4 by Parahead (2005-02-12)
Bugfix, if only changing the submission time the date was set back to 1970-01-01 (year zero in Unix)

3.5.3 by Parahead (2005-02-12)
Bugfix, previously the hook inserted into the NewsCategories_EditCat sub within the Category addon only worked for the build bundled together with Coranto 1.30.x (Used for the specification of which category to move a newsitem to when the end date was reached)
Included a section about Autobuild and cron in the documentation

3.5.2 by Parahead (2005-02-05)
Bugfix, now uses the time offset setting correctly when filtering newsitems (both future dates and valid to dates)
Bugfix, a small typo (in the sub ChangeDateNew_InitActiveProfiles) preventing a modification of the Valid To Date to a past date to work as intended

3.5.1 by Parahead (2005-02-05)
Bugfix, added call to NeedCFG when upgrading from old version of the addon
Improved the build check when upgrading from old version of the addon

3.5 by Parahead (2005-02-02)
Improved the error checks and corresponding messages.
Now possible to choose if both date and time (or only the date) should be possible to alter.
If the 'only alter date' option is choosen, the time is set to '00:00:01' if the date is changed.
Added option to choose which date format to use when entering dates at the submit news page.
The news database is updated when enabling this version to use Unix timestamp instead of 'dd-mm-yyyy'.
Changed marker in ChangeDateNew_SpeedupCode sub to BUILDNEWS_SKIPDELETE to comply with the 1.30.x series of Coranto.
Changed the precedence for when the hook SaveNews_2 and ChangeDateNew_SaveNews_2 should be executed to -10 (Reference thread: http://coranto.gweilo.org/forum/viewtopic.php?t=6776).

3.4 by Parahead (2004-07-30)
Bug removed in sub ChangeDateNew_SaveNews_2 that made a newsitem not being sorted correctly at the Modify News page if only the time was changed.
Added support for moving a newsitem to another Cateogory when the End Date has been reached.
Added documentation accessible via the Addon Manager (eg. this document!)

3.3 by Parahead (2004-06-05)
The effort to try and comply with how the countnews array worked made things worse, so now the decrement is removed.

3.2 by Parahead (2004-04-13)
Now possible to specify which profiles the End Date should be active for.
Decrement of the countnews array is now done

3.1 by Parahead (2004-01-24)
First release by Parahead
An End Date feature has been added. Now you can specify an end date so that the newsitem will be filtered out after that date when doing a build. The value of the field is accessible in the style via the tag .
Support for the X Multisubmit addon added, now you can restrict presentation of the ChangeDateNew fields to the XMS pages of your choice. No need for the XMS addon to be installed but if it is at least version 2.0 beta 7 is required.
The actual filtering of the newsitem has been moved from the hook Build_GetData to the News_Filtering2 hook instead, to better comply with the functionality of how the countnews array works.

Download (1542 downloads since 2005-04-04) Authors: Lawrence, Parahead
5 visitors online Valid HTML 4.01!   Valid CSS! © copyright 2003 Henrik Ahlén
Design based on Stylish by MVS
Content powered by Coranto