Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
"Today"-plugin

 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
"Today"-plugin
Author Message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post "Today"-plugin Reply with quote
You can use this plugin instead of the {date}-tag.

It will show for example "Today, 15:34:23" or "Yesterday, 12:26:03". If the article is older than "Yesterday" it displays the normal date.



Upload it to the plugins folder, activate it and use {today} in your template.



today.zip
 Description:
today.zip

Download
 Filename:  today.zip
 Filesize:  686 Bytes
 Downloaded:  498 Time(s)



Last edited by FI-DD on Thu Mar 09, 2006 10:12 am; edited 1 time in total
Wed Mar 08, 2006 2:50 pm View user's profile Send private message
Guest








Please login to hide the ads.

PJR



Joined: 17 Oct 2005
Posts: 161
Location: Czech republic

Post Reply with quote
There is a problem with this plugin or with the cache - if the cache is true, the date (today - yesterday - date) doesn't change! So it's a quite big problem...
Thu Mar 09, 2006 9:08 am View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post Reply with quote
I tried to fix it. Please download it again.
Thu Mar 09, 2006 10:14 am View user's profile Send private message
Tom



Joined: 22 Dec 2005
Posts: 13

Post Reply with quote
Is problem with Shortens the title - {sTitle|n}. If this plugin activate, {sTitle|n} is blank... Crying or Very sad



Sorry my English is calamitous Razz
Fri Mar 10, 2006 5:11 pm View user's profile Send private message
PJR



Joined: 17 Oct 2005
Posts: 161
Location: Czech republic

Post Reply with quote
I think there is problem with using this plugin and rating (nonajax) concurrently... when they're activated both, showing of posts ic collapting (sometimes it shows only some posts, sometimes none, etc..).
Sun Apr 08, 2007 10:33 pm View user's profile Send private message
Ramon



Joined: 12 Oct 2005
Posts: 462
Location: Hoogeveen, NL

Post Reply with quote
Can't seem to fix this one. Tried several things, but it just wont work for me. It outputs {today} everywhere.. http://www.worldracing.nl/index.php

_________________
Sat Mar 15, 2008 10:20 pm View user's profile Send private message Visit poster's website
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post Reply with quote
Just tested it on the demo page. It's working great.

You did activate the plugin, didn't you?
Wed Mar 19, 2008 6:30 pm View user's profile Send private message
Ramon



Joined: 12 Oct 2005
Posts: 462
Location: Hoogeveen, NL

Post Reply with quote
FI-DD my man, you still think I'm retarded Laughing Crying or Very sad

Yep I did, i'm quessing it probably doesn't work because 1. I use the a different language then the default one and which gave me some problems before and 2. i changed quite a bit of code overtime and don't know exactly what i changed Razz So in order to get it working I probably had to reinstall everything and i'm not feeling quite up to that right now Razz Cool

Anyways, thanks for your time and concern, as always you're probably the only one who can really solve the tricky problems here, scott is doing a hell of a job supporting the newbies!

_________________
Thu Mar 20, 2008 5:43 pm View user's profile Send private message Visit poster's website
scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post Reply with quote
Quote:
scott is doing a hell of a job supporting the newbies!


Haha thanks, I guess that's my specialty Razz I been wonderin where you been at lately Ramon.. I've been working secretly on anonymous web projects.. that's why lots of questions but no URL's to any sites. I'm experimenting and trying to make cutenews.ru do exactly what I've always wanted it before I start playing hardcore again.

Anyway, completely unrelated.. obviously I don't know how to make the today plugin work.. you're probably right.. probably due to all your modifications or something.. and the language..

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Sat Mar 22, 2008 11:47 pm View user's profile Send private message Visit poster's website AIM Address
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post Reply with quote
Ramon wrote:
FI-DD my man, you still think I'm retarded Laughing Crying or Very sad

Of course, I don't think that. But that was the first that came into my mind when you mentioned that you only see the {today} tag.
Wed Apr 02, 2008 5:32 pm View user's profile Send private message
acateoN



Joined: 12 Feb 2008
Posts: 47

Post Reply with quote
Really nice plugin! Is it possible to have X days ago instead of showing the regular date output? Today, Yesterday, 3 days ago, 4 days ago and so forth... ?

_________________
www.xpl.se - Runs under CNR
Fri May 23, 2008 1:28 am View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post Reply with quote
There's a plugin called "ago" included in the main download.
Thu May 29, 2008 5:45 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 268

Post Reply with quote
Works fine for me. For the dutch people in today.php just replace the words in line 21 & 24.
Fri Jun 13, 2008 9:07 am View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
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
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.