Skip to main content ↑ ↓
Recent Posts
51
Chit Chat / Re: ElkArte Site issues?
Last post by Spuds -
Are you seeing this page: https://www.elkarte.net/community/index.php?action=offline or the generic Sorry, you are offline. Please check your connection. text. 

Either is from elkServiceWorker.js which handles the onsite/browser notifications and the PWA.  I'll have to dig into what may be occurring.  I've only seen the issue once so I'm guessing.
52
Chit Chat / Re: ElkArte Site issues?
Last post by ScottJB -
Quote from: Spuds – Saw that just once, I'd say its the PWA causing some problem.  You can remove that and see if it helps, how to do that depends on your browser.  For chrome try chrome://apps as the url and then remove the Elkarte one.

I don't have it "Installed"
I just use browser tab, so maybe something is conflicting with the PWA system?
Google AI when was trying to diagnose if it was just me yesterday, suggested it was due to the PWA setup here.
53
Chit Chat / Re: ElkArte Site issues?
Last post by Spuds -
Saw that just once, I'd say its the PWA causing some problem.  You can remove that and see if it helps, how to do that depends on your browser.  For chrome try chrome://apps as the url and then remove the Elkarte one.
54
Chit Chat / ElkArte Site issues?
Last post by ScottJB -
Has anyone else been having issues trying to get to the site here?
Last few days, I keep getting stuck loading, and then get a blank page saying that I'm offline when I'm clearly not.
55
Bug Reports / Re: 2.0 - Avatar
Last post by ScottJB -
When upload, it shows broken image all over the forum.

Code: [Copy]
<img class="avatar avatarresize" src="https://www.scottjbrousseau.com/avatars_user/avatar_1_rgArhkybgY2lE11Z.png" alt="ScottJB9276" loading="lazy">

Code above was taken from the user info SP block and looks right.
File size is okay and avatar size is 200x200 which is set for.

Seems only avatar that works, is Gravatar.
56
Bug Reports / Re: 2.0 - Avatar
Last post by Spuds -
Not saving some profile fields was an easy bug to fix.  In Elkarte/Profile/ProfileFields.php
find:
$sa = $req->getQuery('sa', null, '');
change to:
$sa = $req->getRequest('sa', null, '');

I could not find or reproduce the Avatar issue, what type of file and size were you testing?  I did notice the preview was not working for the initial uploaded avatar and have fixed that, but that is just candy (and to many edits to post)

Also found a bug that prevented non admins from being able to change themes.  For that in Elkarte/Themes/ThemeLoader.php 
find:
$themes = explode(',', $modSettings['knownThemes']);
change to:
$themes = array_map('intval', explode(',', $modSettings['knownThemes']));
60
Bug Reports / Re: 2.0 - Edit Membergroups
Last post by Spuds -
Did it still work (just curious)

The error is that it was trying to "sanitize" the color data and it should have been "validating" the data.  In this case the results would be the same outcome but there is no sanitation function for color or validation of whatever is entered is valid.  Anyway easy fix.