Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 1 Year, 8 Months ago Last visit only shows time, no date
#1
Solved: 1 Year, 8 Months ago
Hi all,

for some reason the last visit on the forum index page looks like this

Welcome User X, your last visit was   , time   Logout

The date part is completely missing. Date and time combinations are fine in other places.
I have checked templates, and language files but can't find where to check and/or correct this.

Any help is appreciated.

Best Regards

Using version 1.8.15
Dutch language package
No plugins
Reply
#2
Solved: 1 Year, 8 Months ago
Try changing your board language to English (American) and see if problem persists.
[Image: logo.svg.svg]
Reply
#3
Solved: 1 Year, 8 Months ago
Thanks for your help. You put me on the right track.

It seems to work fine when the date is in numbers.
When I login as user the date is missing. After switching to English, it says 'Today'.
I wasn't aware of this difference in text and number format.

So I checked the Dutch and English language global.lang.php file for 'today'. Turns out the English file has 6 occurrences and the Dutch file only 2.

Guess now I have to find a tutorial on how to add phrases to those language file, or find a newer version of the language pack.
Reply
#4
Solved: 1 Year, 8 Months ago
This helps?
https://community.mybb.com/mods.php?action=view&pid=277
[Image: logo.svg.svg]
Reply
#5
Solved: 1 Year, 8 Months ago
Thanks, again. I was looking for something like PoEdit, but I see I can use the github repo.
Reply
#6
Solved: 1 Year, 8 Months ago
language variables can be edited through forum admin panel. see Editing With (help of) Another Language
Reply
#7
Solved: 1 Year, 8 Months ago
I know, that is where I looked first. You can edit language variables but I needed to add new ones.

Everything is working fine now, after editing the .php file
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)