2015-10-08, 06:58 PM
Isn't this already apart of 1.8?
Coming soon..
[For 1.8] Less than 1 minute ago > % second(s) ago
|
2015-10-08, 07:14 PM
2015-10-09, 12:36 AM
![]()
2015-10-09, 11:28 PM
Looks like ATofighi made a ninja edit to the code. Try it out again guys.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
2015-10-13, 11:41 AM
Works now, thanks
![]()
-Ben
Please do not PM me for support. I am looking to be hired for paid services. You can view my paid services here.
2015-10-14, 06:31 AM
If you are not a fan of core edits you can get the same functionality using the "my_date" hook.
2015-10-15, 11:33 PM
Couldn't help it but
2015-12-20, 08:52 AM
Nice theread
2016-08-24, 04:20 PM
thats works finebut how to change the language of the seconds ago
Thanks to the OP for this nice nifty suggestion! +1!
(2015-10-08, 06:58 PM)JonathanP Wrote: Isn't this already apart of 1.8?As per 1.8.7, not yet. (2016-08-24, 04:20 PM)Michael_vx Wrote: ...but how to change the language of the seconds agoThe fact it was done in a non-localized manner might be one of the reasons why this modification has not been added to MyBB yet. Another reason might be that this modification has more errors. For example, the premature returning can break plugins. Thus I believe the proper way to do this modification would look more like the following: In the code section the OP mentioned, replace the line (or, if present, the code of the OP) with this line: In the file inc/languages/english add these two lines at about line 348.If you use language packs, you have to add the according entries there respectively. I think I'll have to make a pull request soon to get this modification included in a later version of MyBB. |
« Next Oldest | Next Newest »
|