1. Article New Status

Article New Status

  |   6
Article New Status

This little hack to add the article status as "new" post in your article status, the module identify the article status base on 24/48/72 news period posts, the new status will be removed after 72 hours of the article was posted, the module will automatically query the database to check the date of article posted and change status and remove it at the end of the period of time, please not that this module will take little more database query and it will not use cache. It shows article status as image file.

Installation instruction is included in download package.
Login Required!Only registered users can download files. Please register or Login
Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.

Details

0

Comments 6

rumy1200
rumy1200
Members
Commented By rumy1200 on February 19, 2012 (3:06 am)
In Shortstory.tpl

Find :

<h1 class="shd">[full-link]{title}[/full-link]</h1>

Past It Below

{include file="engine/modules/statnew.php?datenews={date=Ymd}"}
===============================

In Fullstory.tpl

Find :

<h1 class="shd">{title}</h1>

Past It Below

I can not find into my tpl file
N/A 18Forum topics : 14Forum replies : 37Forum likes : 0
sawanbanna
sawanbanna
DLE TEAM
Commented By sawanbanna on February 19, 2012 (4:26 am)
rumy1200,
the theme designs are different..but the point is add the module next to the title...

in shortstory.tpl you can add the code after [/full-link] so it looks like
[/full-link]{include file="engine/modules/statnew.php?datenews={date=Ymd}"}
- in fullstory.tpl simply add after {title}
{title}{include file="engine/modules/statnew.php?datenews={date=Ymd}"}
31 409Forum topics : 23Forum replies : 979Forum likes : 150

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
rumy1200
rumy1200
Members
Commented By rumy1200 on February 19, 2012 (5:09 am)
Quote: sawanbanna
{include file="engine/modules/statnew.php?datenews={date=Ymd}"}


thank you it is now working
N/A 18Forum topics : 14Forum replies : 37Forum likes : 0
Waqas Ahmad
Commented By Waqas Ahmad on February 19, 2012 (11:47 am)
Is it works with DLE v9.5?
1 28Forum topics : 14Forum replies : 67Forum likes : 5
rumy1200
rumy1200
Members
Commented By rumy1200 on May 31, 2012 (2:44 am)
Is it works with DLE v9.6?
N/A 18Forum topics : 14Forum replies : 37Forum likes : 0
sawanbanna
sawanbanna
DLE TEAM
Commented By sawanbanna on May 31, 2012 (2:49 am)
rumy1200,
yes will work with all dle version because the module will only generate the date and not require database query...will only detect your server time nothing more...so it will work with all dle and any other scripts out there
31 409Forum topics : 23Forum replies : 979Forum likes : 150

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
Information!Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.
DLEStarter Notice!Please note...Every hack and every module will get additional queries from your database and some hacks and some modules may result your server overload, so install only what you "need", remove any hacks and modules from your script when you don't need them, all hacks and modules appears in this website are not guaranteed by DLEStarter Team for your script security and compatibility, please read instruction carefully and use hacks and modules at your own risk...Thank you.