PHP-Nuke Services - Addons, Modules, Blocks Vizitati www.westdesign.ro Select Interface Language:EnglishRomanian
  Login or Register HomeForumsDownloadsYour AccountWeb LinksContact   
SectionsShow\Hide
MultiheadlinesShow\Hide
LoginShow\Hide
~ Welcome, alien
Nickname Password
(Register)

~ Membership:

Greetings to the newest member danial
~ New Today: 0
~ New Yesterday: 1
~ Overall: 3668

~ People Online:
~ Visitors: 5
~ Members: 0
~ Total: 5
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 3 December


Speed Up   Pause   Speed Down
DictionaryShow\Hide
Enter the word

Romanian users only

Situl personal NICU RANCOV Forum Index


This topic is locked: you cannot edit posts or make replies. Page 1 of 1
showing the time
Message Author
Reply with quote
Post Posted: Tuesday 28 March, 2006 12:27

hello
thanks for the great module

what can i do, so instead of showing the time of the feed in the form of (for example ):
8min 50sec ago...
that it will show the real time of the feed and sort the news/feeds by it?

View user's profile Send private message
Reply with quote
Post Posted: Tuesday 28 March, 2006 13:26

Hi,

ayalla2004 wrote:
what can i do, so instead of showing the time of the feed in the form of (for example ):
8min 50sec ago...
that it will show the real time of the feed


search for this line[watchout, there are many lines similar to this] in index.php of module:
Code:
<tr><td nowrap colspan=\"3\" align=\"right\">".ago($row["news_pubdate"])."</td>

and replace with:

Code:
<tr><td nowrap colspan=\"3\" align=\"right\">".date("date_string", $row["news_pubdate"])."</td>

where "date_string" is accordingly to date function from php.

ayallea2004 wrote:
.....and sort the news/feeds by it?

The news[feeds] are sorted DESCENDENT by date [or as set in Multiheadlines admin panel].

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Tuesday 28 March, 2006 14:37

thank you for your answar,
but i meant this:
that like the module reads the title and description from the rss link/server
that it will read the date of posting from the rss link (not from database)
and then the sorting will be by this date

thanks again

View user's profile Send private message
Reply with quote
Post Posted: Tuesday 28 March, 2006 19:54

Feeds are ordered by dates (dates that comes from feeds itself. If there aren't infos regarding the date [of any kind] into a feed than we'll assume the date equal to time when the feeds was collected.

View user's profile Send private message Visit poster's website
Display posts from previous:
This topic is locked: you cannot edit posts or make replies. Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Page Generation: 0.67 Seconds