| News Release Date Add on! Pre-Release |
| Author | Text |
freaky Crazy Member

Posts: 635

Gender:  Online: No |
Date: 04/08/2008 10:26 News Release Date Add on! Pre-Release | #post10843 | HI everybody
I was looking at old posts on this forum and found some people asking, if there is an add on that gives you the possibility to set a release date of your news.
I found this a quite a good idea and could be useful to a few people (hope so)
This isn't a FINAL release YET so do not use on Publish server.
Would be nice if somebody could make some tests on it and report them to me, so I can fix them  !!
Compatible with 3.8 & 3.9.0
Peace Freakyyy and have FUN
Edited: 04/08/2008 10:26 |
|
 |
| |
freaky Crazy Member

Posts: 635

Gender:  Online: No |
Date: 05/08/2008 10:12 Re: News Release Date Add on! Pre-Release | #post10876 | any one test it wet if yes please give me a feedback  !
I will post the final release asap
Did some test on my on and works fine |
|
 |
| |
Zion Junior Member

Posts: 27

Gender:  Online: No |
Date: 06/08/2008 03:10 Re: News Release Date Add on! Pre-Release | #post10921 | Can you tell what does it do?
I don't understand the meaning of release date of news. Zion. |
|
 |
| |
freaky Crazy Member

Posts: 635

Gender:  Online: No |
Date: 06/08/2008 08:54 Re: News Release Date Add on! Pre-Release | #post10925 | hihi ok sorry !
euhm this add on gives you the possibility to set a release date to your news.
for example you write a new News and want it to be released the 08/08/08.
this news wont be displayed untill the 08/08/08, Additional setting i have added too is a Exiration date you can set a date were the news wont be displayed.
here a Printscreen of the admin Panel.
Attachment Edited: 07/08/2008 14:48 |
|
 |
| |
Zion Junior Member

Posts: 27

Gender:  Online: No |
Date: 06/08/2008 10:49 Re: News Release Date Add on! Pre-Release | #post10927 | Ok, now i understand what you mean.
I didn't use it or test it, but going through the code you wrote, and here are couple more suggestions:
1. I think it's better to set this with date and time, and not just the date. It will be very helpful for websites that showing open sale and close sale for example.
2. you made there a check for the time now vs. the release date, but you made it with a difference for only 1 hour (hardcoded 3600 secs), I think it would be better to use the GMT configuration of the website, i'm using +8HOURS for example, so it will be wrong time release.
Hope it will be helpfull. Zion. |
|
 |
| |
freaky Crazy Member

Posts: 635

Gender:  Online: No |
Date: 06/08/2008 10:56 Re: News Release Date Add on! Pre-Release | #post10928 | | quote | 1. I think it's better to set this with date and time, and not just the date. It will be very helpful for websites that showing open sale and close sale for example. |
euhm yes this could be additional setting  i will have a look!
i don't think it will be a big modification because I set my Time&date in Timestamp (better for database, ect.)
I will give a try an release this asap.
| quote | 2. you made there a check for the time now vs. the release date, but you made it with a difference for only 1 hour (hardcoded 3600 secs), I think it would be better to use the GMT configuration of the website, i'm using +8HOURS for example, so it will be wrong time release. |
yep you are right forgot about that  i will have a look at that can't be that hard  .
Thx I will release your suggestions asap. |
|
 |
| |
freaky Crazy Member

Posts: 635

Gender:  Online: No |
Date: 07/08/2008 13:11 Re: News Release Date Add on! Pre-Release | #post10990 | HI it's me again
I have modified what you told me to thx for the idea  and help 
i will soon put the final release
hope it will be used  |
|
 |
| |
paulo89 Moderator Developer

Posts: 1300

Gender:  Online: No
Version: 3.8.1 Country: Portugal Languages: Portuguese, Portuguese and little english ^^ |
Date: 07/08/2008 13:56 Re: News Release Date Add on! Pre-Release | #post10994 | freaky edit u post with image please (layout forum) Edited: 07/08/2008 13:57 |
|
 |
| |
freaky Crazy Member

Posts: 635

Gender:  Online: No |
Date: 07/08/2008 14:18 Re: News Release Date Add on! Pre-Release | #post10996 | ok so this is the latest release I have tested hopefully everything!
Would be nice if somebody would test it and give me feedback!
Changes:
[+]able to set release&expire Time
ex: 20 August at 21:00 ==> Release
22 August at 07:54 ==> Expiration
[+]Calender added!
[+]GMT settings added.
[+]Code Fixes.
Hope it works and as soon somebody says it's ok and useful I will submit it on memht.com
PEace Freakyyy
Edited: 07/08/2008 14:43 |
|
 |
| |
freaky Crazy Member

Posts: 635

Gender:  Online: No |
Date: 08/08/2008 10:19 Re: News Release Date Add on! Pre-Release | #post11020 | has somebody tested the new version? |
|
 |
| |