- Cell Phones 613
- Editors 252
- Education, Science & Engineering 303
- Games 1639
- Internet 551
- Stock Market 14
- Web Design 90
- Scripts 360
- Miscellaneous 87
- Mobile Software 24
- Multimedia & Graphics 1062
- PC 364
- Programming 347
- Security 1292
- SEO 61
- Utilities 832
Batch change (the entire database) date news dle
Refunds: 0
Uploaded: 18.05.2011
Content: updater.php 0,81 kB
Product description
The DLE (and not only there) is a great feature - a pending posting. Now imagine a situation you have a lot of content, such as 100k posts, and you want to throw to the publication, so much so that the posts obtained dates from the year minus to plus 2 years. Actually that's the code written and tested for DLE
I tell human language. you have to have a 100k dle news from the old database over the last year and you would like to change the date of their publication on the fresh. Run the script and the date change. throughout the base.
Put a number of days ago is not much, because the news has to be published. A forward thinking as far as the project begins to develop himself that the people themselves have to be added on your website news. Until that time, the news themselves will be added when it's put that date that the script.
http://www.youtube.com/watch?v=NUzFiC8vGYw
Additional information
We throw it in
www / updater.php
and run
http://site.ru/updater.php
After the script is run, your posts are scattered by date:
Февраль 2011 (3433)
Январь 2011 (3527)
Декабрь 2010 (3422)
Ноябрь 2010 (3088)
Октябрь 2010 (3008)
Сентябрь 2010 (2682)
Август 2010 (2736)
Июль 2010 (2506)
Июнь 2010 (2329)
Май 2010 (2131)
Апрель 2010 (1928)
Март 2010 (1914)
Февраль 2010 (1455)
Январь 2010 (1465)
Декабрь 2009 (1353)
Ноябрь 2009 (1064)
Октябрь 2009 (1007)
Сентябрь 2009 (804)
Август 2009 (685)
Июль 2009 (481)
Июнь 2009 (297)
Май 2009 (146)
April 2009 (3)
He Added, as the generation of random time, that is, the date will now be: 21.04.2011 11:45:01 instead 21-04-2011 00:00:00
As explanation of what the numbers mean in the script:
1560 = number of days in advance of the current date
730 = number of days back from the current date
86400 = time in seconds that will be added to generate the hh: mm: ss
Feedback
3Period | |||
1 month | 3 months | 12 months | |
0 | 0 | 0 | |
0 | 0 | 0 |