News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Relative Time Formats

Started by Pipke, June 04, 2019, 03:56:26 PM

Previous topic - Next topic

Shades.

Quote from: Pipke on March 02, 2022, 04:41:41 PM
Quote from: Shades. on March 02, 2022, 03:46:13 PMActually it's only on every mod that I have installed that has a date displayed but not on SMF itself. So I'll just have to do without this mod for now. :(

can you provide me a link to an page where this matter happens.
Sure https://bikerhound.com/index.php?action=gallery
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Pipke

#21
@Shades. thats a payed mod so i can't view the files, can you try to replace the attached file, see if it does fix the problem and let me know the outcome thanks for that.
You cannot view this attachment.

ps . by the Arcade mod pages it works fine! So the cultprit is at the Gallery pro mod somewhere!
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Shades.

Quote from: Pipke on March 02, 2022, 05:11:28 PMps . by the Arcade mod pages it works fine! So the cultprit is at the Gallery pro mod somewhere!
Also the "Badges" mod too.

Quote from: Pipke on March 02, 2022, 05:11:28 PM@Shades. thats a payed mod so i can't view the files, can you try to replace the attached file, see if it does fix the problem and let me know the outcome thanks for that.
Dang, no that didn't fix it either. I would think that the SMF Gallery Lite mod would be similar. Can you look at those files?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Pipke

@Shades. on the lite version all works well, see attachment screeny
You cannot view this attachment.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Shades.

#24
Hmm...ok well

What should I look for in the pro version to see what calls the time?

Edit: Also weird cause it works fine on the Badges mod display at the bottom of my forum page (image 1) but not in the profile display of badges. (image 2)

p.s. I notified the gallery & badge mod author so maybe they can help too. ;)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

Well the SMF Gallery mod author said it uses the built in SMF function timeformat so I dunno. It also doesnt work right in the store mod or the downloads in the logs and myfiles areas. I guess they're just not compatible. :'(

Great mod though I still use it on my other sites that don't have these particular mods installed. ;)

Thanks,
Shades 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

FrizzleFried

This seems to work great for me... EXCEPT it breaks the high-score tables a bit for the ARCADE mod.

:(

The ranking (which have a mouse-over which shows time/date info of when the high score was set, etc) is broken showing code.


I suspect it's that mouse-over code that is the culprit,  but what do I know?  I only pretend to know what I am talking about around here... when I do. 


:D

Pipke

@Shades. @FrizzleFried the basic code of this mod is that it transforms the "default SMF function time format" to a relative format, it's so simple as that...it could be anything how other mods are built up that it will fail on some pages. It's hard to figure out that 'this' mod will work with all other mods, wouldn't that be great ;)
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

FrizzleFried

Yeah,  I suspected that was the case.  Not a big deal.  I just can't run the mod as I do run the Arcade mod.

Senkusha

I may have noticed a bug?

I noticed on my board (I'm using the Default theme), the MOD installed and defaulted to Day, Month, Year 24 hour.  I changed it to Month Day, Year 24 Hour, and noticed it didn't change anything.  I've forced a refresh, and Emptied SMF Cache.  Still no difference, it's still showing my dates as like 24 November.

I tried it with Month Day, Year 12 hour and it works just fine.
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Pipke

Quote from: Senkusha on December 07, 2023, 11:31:50 AMI may have noticed a bug?

I noticed on my board (I'm using the Default theme), the MOD installed and defaulted to Day, Month, Year 24 hour.  I changed it to Month Day, Year 24 Hour, and noticed it didn't change anything.  I've forced a refresh, and Emptied SMF Cache.  Still no difference, it's still showing my dates as like 24 November.

I tried it with Month Day, Year 12 hour and it works just fine.

yeah its a bug, thanks for finding that... ill fix it later.
By the way the Month Day, Year am/pm works ;)

"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Pipke

Mod updated with the fix latest is now v1.2.2
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Senkusha

I may have found an issue.  Whenever I modify a post, I see the following in my error log:

You cannot view this attachment.
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Pipke

Quote from: Senkusha on December 12, 2023, 05:02:27 PMI may have found an issue.  Whenever I modify a post, I see the following in my error log:

You cannot view this attachment.

I made some changes and I hope this will fix your error. Download the file in the attachment and overwrite it in your Sources folder. Can you please respond if it is resolved.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Senkusha

Okay, I tested, creating a message, and modifying a message.  Both produce no errors.  I also tested a longer drafted message that engaged the Auto Save feature.  This did not produce any errors either!

Thank you!
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Advertisement: