1. Popular News (DLEStarter)

Popular News (DLEStarter)

  |   23
Popular News (DLEStarter)Many of us have seen in many websites for alternative top news with images, but unfortunately not everyone can get it to wok 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!

Please note: even the module supports both regular images added in shortstory and xfield but you still need to specify which one to use {image} or [xfvalue_xxx] because the module will not auto-detect the images for you. The module uses extra theme file which makes it easy for you to customize especially for those who want to use slide show to display top news.

This module was originally written by tbenmcp as known as "Movie Popular" module

In the next post I will show you how to use the module with a few different slideshow...if anyone have jQuery slideshow in mind, please post it here to that I can show you how to make it work with this module. if no one has any in mind then I will use
1) http://sorgalla.com/jcarousel/
2) http://flowplayer.org/tools/scrollable/autoscroll.html
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

+5

Comments 23

romeoluv56
Commented By romeoluv56 on January 3, 2012 (4:18 pm)
Nice share, Thank you, as always i love tbenmcp work..
tbenmcp
tbenmcp
DLE TEAM
Commented By tbenmcp on January 4, 2012 (12:00 am)
the reason I handed over this module to spamhater to modify because I see a lot of people having problem with the module alternative top news in dle-en.com, many people can';t get anything to work, not images, no nothing...so I think this module is better by far I know and the module was originally made from movies website that use xfield for posters, so now we can have both regular images and xfield in the same module which no other modules ever made for...

Quote: romeoluv56
Thank you, as always i love tbenmcp work..
Thanks man, I appreciate you saying that! wink
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!
Gozan
Gozan
V.I.P.
Commented By Gozan on January 4, 2012 (8:07 pm)
c00l module, that`s what i`m looking for along time.

thanks tben,i like your job hug_big

is work fine with 9.2,tben?
33 132Forum topics : 20Forum replies : 88Forum likes : 7
tbenmcp
tbenmcp
DLE TEAM
Commented By tbenmcp on January 4, 2012 (8:37 pm)
Quote: Gozan
is work fine with 9.2,tben?
fully tested with all 9.x (9.0,9.2,9.3 and 9.4) for moviepopular module but this modified version wasn't tested myself but I am sure it will work with all 9.x...and I asked spamhater and i386 who both working on modifications, both said fully tested and 100% compatible with 8.5 and all 9.x...so yes it will work with 9.2 100% fellow
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!
Gozan
Gozan
V.I.P.
Commented By Gozan on January 5, 2012 (11:21 am)
u the best Tben applause
i wish lucky for u snegurka

thanks spamhater for this module applause
sorry i forget u tongue
33 132Forum topics : 20Forum replies : 88Forum likes : 7
semide
semide
Members
Commented By semide on January 10, 2012 (10:06 pm)
Thanks a lot! GREAT MODULE :D
N/A 2Forum topics : 0Forum replies : 0Forum likes : 0
AnArchiiie99
Commented By AnArchiiie99 on January 12, 2012 (9:51 am)
Thanks for this great module.
i have a lil problem with the images, i upload my images to the server so i dont use the tag img. How can i set the module to grap the image from the folder UPLOAD.

Thank you again
N/A 2Forum topics : 0Forum replies : 0Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on January 12, 2012 (7:49 pm)
Quote: AnArchiiie99
i have a lil problem with the images, i upload my images to the server so i dont use the tag img. How can i set the module to grap the image from the folder UPLOAD.

The module will automatically grab the images from {short-story} area, so when you post the articles you either add images with editor or using xfields, if there is no images in shortstory area then there will be no image show, and I don't understand your point
i upload my images to the server so i dont use the tag img
Then how do you add images to your posts? and how do you embed image without using tag img or thumb?
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.
newbiehu
newbiehu
Members
Commented By newbiehu on January 12, 2012 (8:49 pm)
hello, thanks for the module, works perfectly.
dle 9.4

but it seems when i use {newstarter} in fullstory.tpl it only shows the original words {newstarter}?
anybody knows how to get it works in fullstory page?
N/A 3Forum topics : 4Forum replies : 6Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on January 12, 2012 (8:54 pm)
no, you can;t use it with fullstory.tpl, the only files you can use the tag
1) main.tpl
2) the include file attached to main.tpl like sidebar.tpl etc.
3) info.tpl

I know what you are trying to do here, you try to replace related news with this module...won't work man...but 9.4 have great feature for it related news why don't you use it? you can customize it in file relatednews.tpl
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.
newbiehu
newbiehu
Members
Commented By newbiehu on January 12, 2012 (9:59 pm)
thanks man, im inspired,

i'm doing it now, but i just checked the tags in relatednews.tpl

only can use image-x} can't find xfvalue image.?

N/A 3Forum topics : 4Forum replies : 6Forum likes : 0
tealk
tealk
Moderators
Commented By tealk on January 12, 2012 (10:31 pm)
Okey so i try to understand ^^ :

In the readme you wrote this :


- [xfvalue_xxxx] : This tag will use the xfield images, this is very helpful for those woh make movies websites and use xfield for images, to display the xfield images you msut specify the full html code for example:
<img src="[xfvalue_poster]" alt="{starter_title}" border="0" />


So it's perfect cause i use [xfvalue_poster] ...

So on :

<img src="{image}" alt="" border="0" style="width:75px; height:100px;padding:3px;" />


i replaced by :

<img src="[xfvalue_poster]" alt="" border="0" style="width:75px; height:100px;padding:3px;" />


But still nothing show ... Dunno why.Maybe something to change on newstarter.php ??
28 56Forum topics : 9Forum replies : 329Forum likes : 36

SGcenter Streaming FR
newbiehu
newbiehu
Members
Commented By newbiehu on January 12, 2012 (11:03 pm)
the same problem as above
dle9.4
N/A 3Forum topics : 4Forum replies : 6Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on January 13, 2012 (12:25 am)
Quote: newbiehu
only can use image-x} can't find xfvalue image.?

That's correct...the feature doesn't come with xfield for related news, however, if you use xfield in your website and want it to show in related news, I have some good news for you...upgrade your 9.4 to 9.5, because 9.5 is now support xfield in related news...please visit the dle 9.5 final download page and read the change list #31...

tealk,
I think there is something conflict between images and xfield somehow...because am testing it with dirvideo theme working perfectly...

Here is quick fix for you...
Open engine/modules/newstarter.php
Find:
$sql = $db->query( "SELECT id, title, date, alt_name, short_story,
Replace with:
$sql = $db->query( "SELECT id, title, date, alt_name,
Find:
// add regular images
$shortnews = $row['short_story'];
    preg_match_all( '#<img[^>]*\ssrc=('|")(.*?)\1.*?>#i',$sh
ortnews,$total);
foreach( $total[2] as $image )
And remove it...

Find:
$tpl->set( '{image}',$image);
Remove it...

If your site using regular images or upload images then you don't need to do anything above...I have to try to find the issue where is is coming from...I may have to release the new version as separate between using regular image and xfield...it may work better...

I will try to find bugs first...but as I just tested on dirvideo theme, work fine in both cases...not sure what cause the issue...

Sorry folks....

Please help report bug if you have found any problems...thanks
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.
tealk
tealk
Moderators
Commented By tealk on January 13, 2012 (12:50 am)
Working with this way ... Thank you Spamhater for your time and support ^^^!!! i will test now with the slider ..
28 56Forum topics : 9Forum replies : 329Forum likes : 36

SGcenter Streaming FR
AnArchiiie99
Commented By AnArchiiie99 on January 15, 2012 (11:00 am)
Hello Spamhater,
I told you in my last comment that no images appear for the popular news, dont know why. the way i proced for adding images to my article is like this :
http://host.wonderanimes.com/images/84122228316304945810.png
in the html code my image use the normal html tag img src=""
I really hope you understand my problem and can help me.
Thank you so much
N/A 2Forum topics : 0Forum replies : 0Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on January 15, 2012 (8:52 pm)
if you use add image or upload image like your screenshot, it will work 100% as you can see the demo page, that use the same as your screenshot did...I don't see any problems on that, if you still have problem, clear cache but still not work, pm me your url I will look at it
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.
felazeez
felazeez
Members
Commented By felazeez on February 19, 2012 (5:20 am)
after installation of this module it didnt grab images from short story and iwll have to edit the news manually to show images for each or what??!!!
N/A 4Forum topics : 0Forum replies : 0Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on February 20, 2012 (12:28 pm)
Quote: felazeez
after installation of this module it didnt grab images from short story and iwll have to edit the news manually to show images for each or what??!!!

the module will grab your first images automatically, there is no need to modify anything...
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.
snovop
snovop
Members
Commented By snovop on February 22, 2012 (7:39 pm)
Thank you very much!

My worry is that it also displays items that have not yet been validated (those expectations in moderation), I want to view gold as those already posted! How?

cordially
N/A 10Forum topics : 4Forum replies : 7Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on February 22, 2012 (10:53 pm)
snovop,
the future posts can't be countable for "Popular" news...the module grab the approve=1 base articles, so the problem is those future schedule posts cannot be viewed by regular members and no way they will be marked as "popular" articles...so I am not sure if it makes any sense to you...
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.
zzkimvuzz
zzkimvuzz
Members
Commented By zzkimvuzz on July 6, 2013 (12:28 am)
i'm using dle 9.6 but sql error
MySQL Error!
------------------------

The Error returned was:
Unknown column 'news_read' in 'order clause'

Error Number:
1054
SELECT id, title, date, alt_name, short_story, comm_num, category,xfields,autor FROM dle_post ORDER BY news_read DESC LIMIT 0,20
Please help me
N/A 6Forum topics : 1Forum replies : 3Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on July 7, 2013 (2:54 pm)
zzkimvuzz
http://www.dlestarter.com/downloads/modules/202-popular-news-v2-96-compatible.html
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.
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.