Skip to main content
Recent Posts
11
International Support / tool for translating
Last post by Jorin -
I have to translate the last five or six changes on the language files, so I have to compare them. Do you know a tool to do that comfortable? I tried WinMerge a few years ago, but it is very complicated, especially with a lot of files. Any tipps?
14
Chit Chat / Re: Stress relief
Last post by Zioclive -
For some reason when I first read your reply I though it said masturbated ... hey now !  Time to get some new lenses!

I've always relied on luck as well,  but I like the definition of luck being "where preparation meets opportunity"  Not sure who originated that saying but always thought it good advice.  Its a bit like saying you make your own luck.

Well quoting Virgil :Audaces fortuna iuvat (Fortune favors the bold)

I usually say to myself :"if you want a hope to win, you'll have  to play ".
Nevertless I play bingo quite often without winning.
:-)
16
Feature Discussion / Re: Support for webp images
Last post by radu81 -
to avoid this, the webp extension should be disabled from default.
In ACP > Forum > Attachments settings > Allowed attachment extensions > ? :
X
we can change:
Quote
Specify what attachment types are allowed, for example: jpg,png,gif Remember to be careful in what you allow as some file extensions can cause a security risk to your website.
to something like:
Quote
Specify what attachment types are allowed, for example: jpg,png,gif Remember to be careful in what you allow as some file extensions can cause a security risk to your website. For webp file extension GD library is required....
17
Feature Discussion / Re: Support for webp images
Last post by Arantor -
The main drama with WebP is that it only got added to GD (the graphics library in PHP) relatively recently and I don’t know how up to date hosts are on the subject.
18
Feature Discussion / Re: Password Visibilty
Last post by Spuds -
You can easily add such functionality with just a few lines of JavaScript.  All the JS does is change the password input box from type password to type text (and back).

I'd probably add the JS function to the script.js file and then the needed checkbox to the login.template.php file.

The JS would be something like
Code: [Select]
function showPass()
{
let show_pass = document.getElementById('passwrd');
if (show_pass.type === 'password')
{
show_pass.type = 'text';
}
else
{
show_pass.type = 'password';
}
}

And to use it add the checkbox after the password input box in the login form along the lines of (depends on what the current markup is)
Code: [Select]
<dt>
<label for="showpass">', $txt['show_password'], ':</label>
</dt>
<dd>
<input type="checkbox" id="showpass" onclick="showPass()" />
</dd>

You would also need to add the definition for $txt['show_password'] to the language file.
19
Feature Discussion / Support for webp images
Last post by radu81 -
https://developers.google.com/speed/webp
I did a test by enabling webp extension in Attachment Settings, the attachment is uploaded, but is displayed as full width inside a post, not as a thumbnail. I attach a screenshot
X

What do you think about supporting this format in Elkarte? As far as I can see, it was recently added as in wordpress, and I start to see more and more websites using this format for images.
20
Feature Discussion / Password Visibilty
Last post by 8thDay -
Hello all :)

I am a (very) new user so please forgive me if I am asking a question that is as old as the hills - FWIW I did do a forum search and could not see a relevant result.

Anyway, I know it is not a huge issue but I would like to ask for a check box which users could check if they wanted to see what they were typing into the password box.

Maybe there are reasons why this is not good but I always like to see what I type in the password box !

Rgds
Paul
Liverpool UK
PS thanks so much for the forum software. I really like how the default theme looks out of the box. I am only part way through exploring all the functionality but so far it all looks great to me :)