1. Popular News V2 (9.6 compatible)

Popular News V2 (9.6 compatible)

  |   19
Popular News V2 (9.6 compatible)

Many of us have seen in many websites for alternative top news with images, but unfortunately not everyone can get it to work the way they want and not easy to customize the layout and the way it looks in their websites because the most of them put the customize and layout in .php module files, many of those have failed because the issue with lack of knowledge in php, and we don't see any modules can make display the images if use either regular images and xfield images. DLEStarter.com has discovered the new way to include both images and xfield in same module so no more searching for the modules like this...it will do all for you in one module right here!



Installation and upgrade from version 1 is included in download package

For those who are looking for theme customizations for the module, please wait for sawanbanna making video for theme customization, he will include this module with the tutorial for top news, related news and this module...

Download Popular News for 9.6 Only:
Login Required!Only registered users can download files. Please register or Login

Download Popular News for 9.5/9.4 (not test in older version but it should work)
Login Required!Only registered users can download files. Please register or Login

Please make sure you use css to customize your image size, for example add css in your css file
img.slideitem {width:80px;height:125px;}

This will control the image size, you can also add some effects like border, shadow background etc...

New Update: July 30, 2012 - Integrate Slider Example


We see some users get stuck with css and style the popular news, so we add the slider example with this package.

Slider:
- jQuery carouFredSel 5.6.1
- http://caroufredsel.frebsite.nl

Using very simple and lightweight slider as and example so you can see in real action how it really works. Please note the below attached is optimized with 9.6 version, if you are using 9.4 and 9.5, please replace /engine/modules/newstarter.php from 9.5/9.4 downloaded package, no need to replace any other files because the functions are the same...
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

+20

Comments 19

sawanbanna
sawanbanna
DLE TEAM
Commented By sawanbanna on May 13, 2012 (1:01 am)
first module by tbenmcp after return...nice one man...a lot easy for slideshow!
31 409Forum topics : 23Forum replies : 979Forum likes : 150

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
Commented By hiroshimamovies on May 13, 2012 (10:35 am)
I got this error message, any ideas ? thanks

MySQL Error!
------------------------

The Error returned was:
Table 'gaetano_ddlnkz.dle_post_extras' doesn't exist

Error Number:
1146
SELECT p.id, p.date, p.short_story, p.xfields, p.title, p.category, comm_num, news_read, p.alt_name FROM dle_post p LEFT JOIN dle_post_extras e ON (p.id=e.news_id) WHERE p.approve=1 AND p.date >= '2012-05-13 11:41:40' - INTERVAL 1 MONTH AND p.date < '2012-05-13 11:41:40' ORDER BY rating DESC, comm_num DESC, news_read DESC, date DESC LIMIT 0,20
3 49Forum topics : 111Forum replies : 338Forum likes : 2
tbenmcp
tbenmcp
DLE TEAM
Commented By tbenmcp on May 13, 2012 (8:47 pm)
I told spamhater to separate files for each version I think he forgot about it...because 9.5 and older doesn't support xxx_post_extra database table...

I have added separated versions, so if you use 9.6 then download 9.6, if you use 9.4 or 9.5 please download for 9.4 and 9.5, if anyone use older versions, please let me know I will test it on that version and modify for that version you use...

hiroshimamovies,
Thank you for report the error, I really appreciate this...
20 150Forum topics : 11Forum replies : 248Forum likes : 32

"A True Friend is Someone Who Sees the Pain in Your Eyes while Everyone Else Believes the Smile on Your Face"
Let me Google for you!
Commented By hiroshimamovies on May 16, 2012 (2:46 am)
tbenmcp,
thanks! Everytime very kindle
3 49Forum topics : 111Forum replies : 338Forum likes : 2
uploader
uploader
Members
Commented By uploader on September 9, 2012 (9:46 am)
every pictures very big how i will do small pic on slider
N/A 1Forum topics : 0Forum replies : 0Forum likes : 0
noobos
noobos
DLE TEAM
Commented By noobos on September 9, 2012 (2:58 pm)
you have to read the instruction otherwise you will not get it working correctly...
Please make sure you use css to customize your image size, for example add css in your css file
16 302Forum topics : 12Forum replies : 1036Forum likes : 170
ContactUs
ContactUs
V.I.P.
Commented By ContactUs on January 29, 2013 (3:13 pm)
I think newstarter.tpl file is messed up... need some edits
N/A 11Forum topics : 14Forum replies : 46Forum likes : 0
noobos
noobos
DLE TEAM
Commented By noobos on January 30, 2013 (4:17 pm)
it's messed out because the file was used with jquery tooltip but jquery tooltip is not included with the package
16 302Forum topics : 12Forum replies : 1036Forum likes : 170
Nash
Nash
Members
Commented By Nash on February 16, 2013 (10:37 am)
work on dle 9.8 ?
N/A 7Forum topics : 65Forum replies : 115Forum likes : 0
noobos
noobos
DLE TEAM
Commented By noobos on February 16, 2013 (2:35 pm)
Nash,
yes it will work with 9.8
16 302Forum topics : 12Forum replies : 1036Forum likes : 170
Nash
Nash
Members
Commented By Nash on February 18, 2013 (6:56 pm)
Please help... on 9.8 image size not work i set 150px ...on module "but not work" show full size image (over culomm)

how to set cover size (please module code source) ?


use a default code in main.tpl

<div style="clear:both"></div>
<ul style="margin:0;padding:0;list-style:none">
{newstarter}
</ul>
<div style="clear:both"></div> 
N/A 7Forum topics : 65Forum replies : 115Forum likes : 0
noobos
noobos
DLE TEAM
Commented By noobos on February 18, 2013 (8:03 pm)
the module doesn't have style with it, you have to use your own css like in newstarter.tpl
<img src="{image-1}" alt="{title}" width="100" height="150" />
16 302Forum topics : 12Forum replies : 1036Forum likes : 170
gbel
gbel
Members
Commented By gbel on July 18, 2013 (9:19 am)
Hello,
I installed it on DLE 9.8 and all working fine except for the fact that the image doesn't shown. At image src I got:
img src="Hq-blog%20Blog_files/xfvalue_poster.htm" alt="Welcome" title="Welcome"><span class="imglink"> 

or
img src="[xfvalue_poster]"


I also tried to edit the tpl file as:
img src="{image-1}........


But nothing changes.

Please help, I'm getting crazy!
Lucas
N/A 5Forum topics : 6Forum replies : 16Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on July 18, 2013 (8:43 pm)
everytime you made changes you must clear cache in dle admin CP otherwise it will not show right the way...

The question you have to ask is "do you use xfield for your images? if not then use {image-1} tag instead of xfield
24 386Forum topics : 12Forum replies : 950Forum likes : 130

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
gbel
gbel
Members
Commented By gbel on July 19, 2013 (1:12 am)
Thanks SpamHater, the cache tip solved my issue, using the {image-1} tag.
N/A 5Forum topics : 6Forum replies : 16Forum likes : 0
gbel
gbel
Members
Commented By gbel on July 28, 2013 (2:37 pm)
Just another question please,
how can I upgrade the images in real time?

Because the images was cached and if I add a news, the immage doesn't show until I clear the cache.

EDIT: Just found myself ;)

Open addnews.php and find:
if( ! $stop ) {


After add:
clear_cache( array('newstarter_', 'newstarter') );
$tpl->set ( '{newstarter}', $tpl->result['newstarter'] );


This will reset only the newstarted cache when user add new article.

Thanks for this great mod, works perfect also in DLE 9.8!
N/A 5Forum topics : 6Forum replies : 16Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on July 30, 2013 (8:37 pm)
not a good idea to remove cache, please note that the module will query at least 3-4 times to database and compare the following data: rating, comm_num, news_read, date, it will query if no rating in this month made then it will query most comment, if no comment then it will find number of view then follow by newest posts...this will cause massive server resources so that's why this module was made using cache in the first place because it will be as similar as "RAND()" queries...so I would recommend to use cache, if you want to see your images in real time simply login to DLE admin CP and clear smartcache in admin cp, you will get real time images...

This module is no longer developed because it's doing the same as "topnews" in DLE, unless people w3ant additional "topnews" then this module can do the works, otherwise use default "topnews" is the bet choice...
24 386Forum topics : 12Forum replies : 950Forum likes : 130

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
bestreleas
Commented By bestreleas on March 18, 2015 (7:46 pm)
hi,
is there any popular new module which compatible with DLE 8.5?
thanks
N/A 1Forum topics : 4Forum replies : 10Forum likes : 0
DLEStarter
DLEStarter
DLE TEAM
Commented By DLEStarter on March 22, 2015 (7:08 pm)
Quote: bestreleas
hi,
is there any popular new module which compatible with DLE 8.5?
thanks

9.4 and 9.5 version should work with 8.5 but you need ot check it.
29 225Forum topics : 9Forum replies : 558Forum likes : 116
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.