Ok this is driving me nuts! How do I turn on this feature to show posts that were made on current or previous day show respectively as Today... Yesterday... in place of the date as is here on this board?
Running Beta2. Thanks
[Solved] Today/Yesterday for last topic on index?
Forum rules
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
[Solved] Today/Yesterday for last topic on index?
Last edited by LaZeR on Mon Aug 21, 2006 11:42 pm, edited 1 time in total.
-
- Registered User
- Posts: 653
- Joined: Wed Sep 21, 2005 3:01 pm
Re: Today/Yesterday for last topic on index?
use the vertical bars ( | ) in the date format string. you have to have two of them. anything between them will be as it is (without the bars) if the date is earlier than yesterday, but will be converted to yesterday/today if it's yesterday or later.
it sounds confusing, but it's really quite simple.
here is my date format string from this forum:
it sounds confusing, but it's really quite simple.
here is my date format string from this forum:
Code: Select all
|D M d Y| H:i
- Highway of Life
- Registered User
- Posts: 1399
- Joined: Tue Feb 08, 2005 10:18 pm
- Location: I'd love to change the World, but they won't give me the Source Code
- Contact:
Re: Today/Yesterday for last topic on index?
Well you just... oh, woops... is this a new feature discussion, or request for support?
Re: Today/Yesterday for last topic on index?
In User Control Panel -> Forum Preferences -> My date format drop down you have to select a date with [relative days] in the end 
Re: Today/Yesterday for last topic on index?
Nice
But is there a way to enforce a specific date format on all users in the ACP ?
But is there a way to enforce a specific date format on all users in the ACP ?
Ida == Gamall
http://gamall-ida.com
- dhn
- Registered User
- Posts: 1518
- Joined: Wed Jul 04, 2001 8:10 am
- Location: Around the corner
- Contact:
Re: Today/Yesterday for last topic on index?
Ida wrote: But is there a way to enforce a specific date format on all users in the ACP ?
Not without manually updating the database. Why would you want to do that? 8O
Re: Today/Yesterday for last topic on index?
Not really a reason, just a nice annecdote... I've had people complain to me saying "Uh, all posts have the same date, something is wrong!!" Guess what they set their time format to... Right, a fixed string, the one they were seeing all over the place 
Re: Today/Yesterday for last topic on index?
dhn wrote: Not without manually updating the database. Why would you want to do that? 8O
Because most users wont spontaneously dwelve into the depth of the UCP to get the today/yesterday feature.
It would be nice if there was a way to set the date format to a default etc without resorting to SQL queries...
Anyway if it is not a default feature, it should be an easy MOD to make
Ida == Gamall
http://gamall-ida.com
Re: Today/Yesterday for last topic on index?
Highway of Life wrote: Well you just... oh, woops... is this a new feature discussion, or request for support?
I guess it was a little of both but actually to me it was more of a discussion about a new feature in Olympus vs. phpBB2 thus why I posted it here. Nevertheless, thank you all for the help and understanding of this now. Part of my problem was thinking it was an ACP setting rather than a per user (control panel).
Now I do sort of understand Ida's point. I guess you could manually change the default setting for new registrations and/or write an SQL to update the db to make the Today/Yesterday "feature" as default in the date.
- Highway of Life
- Registered User
- Posts: 1399
- Joined: Tue Feb 08, 2005 10:18 pm
- Location: I'd love to change the World, but they won't give me the Source Code
- Contact:
Re: Today/Yesterday for last topic on index?
Oh, yes I see... hmm... good point Ida, I've thought of that as well.
I'm thinking of making a future Olympus MOD that would let the Admin (through ACP) set the default for ALL the user options and prefs, setting them to Yes | No, and override user Yes | No. Since I was a bit surprised to see it was not a default feature for board-wide configuration in Olympus.
Though I know you can do it per-user in the Admin User. But it would be nice to have it as a board-wide configuration.
I'm thinking of making a future Olympus MOD that would let the Admin (through ACP) set the default for ALL the user options and prefs, setting them to Yes | No, and override user Yes | No. Since I was a bit surprised to see it was not a default feature for board-wide configuration in Olympus.
Though I know you can do it per-user in the Admin User. But it would be nice to have it as a board-wide configuration.