Sign in to follow this  
Wurmhole

Auction Timer Seems Broken

Recommended Posts

I've used both BBC and URL to create timers, since the performance fix to forums and the timers won't count down.  I haven't checked older timers that were created before the Forums fix to see if they all stopped.  Someone else should try making a new timer and confirm that it isn't just me failing in some way.

Share this post


Link to post
Share on other sites

Just checked a new auction:

and it is broken.  Checked an old auction:

and it is working fine.

Share this post


Link to post
Share on other sites

to add here; i made a timer too, linked in a pm group,  didnt worked either (stopped). tested with random .gif file, worked, so its not the file type

Edited by Simju

Share this post


Link to post
Share on other sites

Looks like the new forum is caching the timer.

 

The URL for the image in that first auction is :

https://forum.wurmonline.com/applications/core/interface/imageproxy/imageproxy.php?img=http://nesgamepro.com/wurm/auction_timer_1499110682.gif&key=ce35d950ca5c0001af6e82abfff2be0b1785603e9e2e301eeff5b099520b4d5e

 

When it should be:

http://nesgamepro.com/wurm/auction_timer_1499110682.gif

 As it is for old posts.

 

I suspect it has something to do with the new https. Can't have an unsecured image on a secured page. My site has no https because it's too expensive for a personal site. Even if I got https or gave my code to the devs to host on theirs I don't know if it would help because the forum may be caching all images regardless.

 

Share this post


Link to post
Share on other sites

Yes, the new forum caches images locally to not break HTTPS security. I can turn this off, however I would prefer not as it's not ideal to have mixed content. I will review with staff to see which way we should proceed.

Share this post


Link to post
Share on other sites
58 minutes ago, NESGamepro said:

Looks like the new forum is caching the timer.

 

The URL for the image in that first auction is :


https://forum.wurmonline.com/applications/core/interface/imageproxy/imageproxy.php?img=http://nesgamepro.com/wurm/auction_timer_1499110682.gif&key=ce35d950ca5c0001af6e82abfff2be0b1785603e9e2e301eeff5b099520b4d5e

 

When it should be:


http://nesgamepro.com/wurm/auction_timer_1499110682.gif

 As it is for old posts.

 

I suspect it has something to do with the new https. Can't have an unsecured image on a secured page. My site has no https because it's too expensive for a personal site. Even if I got https or gave my code to the devs to host on theirs I don't know if it would help because the forum may be caching all images regardless.

 

 

I haven't tested with https images to be honest. I can do that since my host is behind https. Also you can secure yours with https for free with LetsEncrypt. If you need help with that, reach out to me on IRC sometime tomorrow and I'd be happy to lend a hand.

Share this post


Link to post
Share on other sites

Did some digging in my cPanel, apparently my host enabled free SSL for all sites last year. Yay! I really love them, http://jaguarpc.com if anyone is interested. I've been with them since 2001.

 

This works (note the https):

https://nesgamepro.com/wurm/auction_timer_1499043106.gif

auction_timer_1499043106.gif

auction_timer_1499043106.gif

 

 

However, with the forum caching the auction timer still won't refresh.

Edited by NESGamepro

Share this post


Link to post
Share on other sites

So we just need a link in our forums to a place where the timer isn't cached? Just means an extra click to see the times, but 1 more click to keep forums more secure seems worthwhile.

Share this post


Link to post
Share on other sites

It's a good workaround, but any number of websites can be linked to to show a countdown, with more information and nice styles. The auction timer image was designed to be seen in the forum, without that it's much less useful.

Share this post


Link to post
Share on other sites

I've disabled the caching until I can find a better solution that only caches images hosted from insecure websites.

  • Like 2

Share this post


Link to post
Share on other sites

test:auction_timer_1499043106.gif

 

 

Any auction image posted from the time the forum was updated to now will have to be reposted to work. All those images are still cached. Any new image posted will work as usual. Thanks Keenan! I'll update the site to generate secure URL's.

 

Edited by NESGamepro

Share this post


Link to post
Share on other sites

Does IPB have an option to disable image caching for specific domains?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this