rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - NaitLee

Pages: 1 ... 12 13 14
HTML & templates / Re: Alternative login form for modern browsers
« on: May 04, 2020, 11:52:40 AM »
Successfully introduced this new login system to my template just now! Please wait for my next update!

Hint: If you put a login form below the [unauthorized] section, you can also add this to your template:

Code: [Select]

Then view (must root, not subfolders), you get your login form without showing the browser's one! ;)
And then you can replace all <a href="~login"> to <a href="/~login0">. Have fun!

I wish it did not load extra font nor extra jquery. 
I can hardly wait to see what the next update will bring.

Yes, here you are! See the first post to check it out!
Choose whether to use font and jQuery or not on your own! Fallbacks for them are also perfect enough.

... and, the FaikQuery is not jQuery:
Code: [Select]
// FaikQuery: WIP
function _$(querier) {
var elements = document.querySelectorAll(querier);
this.hide = this.fadeOut = this.slideUp = function () {
    elements.forEach(function(element, index) { = 'none';
} = this.fadeIn = this.slideDown = function () {
    elements.forEach(function(element, index) { = 'block';
function $(element) { return new _$(element); }
It's easy & short, enjoy!


Maybe rejetto can check and correct this (?)

But if recaptcha is removed/replaced, this forum(as well as others if they do so) will face a security problem...
So we should leave that here...

4). The "X" could be replaced with a Modal-Menu for delete, move, rename. I always wanted to do that, but I didn't manage to achieve it.

(Maybe) I found how to do that! I'm still trying!

» Small detail: You could include the 'Monda.ttf' file inside the template (if you wish), encoding the file on Base64, with something like this:

Code: [Select]
[fonts.css|no log]
@font-face { font-family: 'Monda';
src: url('data:application/x-font-ttf;base64,xxxxxINSERT-BASE64-HERExxxxx') format('truetype');

Then you load it using:
Code: [Select]
<style type="text/css">

Comparing to this template, the file (and that base64 one) is still too big to be inserted... as well as my editor, is lagging...
A late-late edit: Still accepted this idea!

中文 - Chinese / 在找 HFS 的中文资源吗?在这里哦 ;)
« on: May 03, 2020, 08:28:22 AM »
大家好,我把 HFS 2.3m 和它的内置模板给翻译了一遍。(2.4 测试版的见下一篇)
对于 HFS 本身,要使用 hfs.lng 文件,除了一些程序内置的文本外,都在这个文件里面。(看下面的附件,在压缩包里)

  • 解压附件里的“HFS简体中文翻译文件.zip”
  • 把里面的 hfs.lng 移动到 hfs.exe 所在的文件夹中
  • 启动或重启 hfs,就大功告成了!


和大佬 SilentPliz 的版本配合更佳:

对于 HFS 的默认模板,附件里也有一个可用于 2.3m 模板的 hfs.diff.tpl;还有用于 2.4 测试版的 def 3.0.tpl.zh-Hans.txt。要使用它们:
用记事本打开翻译文件,Ctrl+A 全选、Ctrl+C 复制,然后到 HFS,右键根目录(房子和斜杠 /),点最后一个配置,点中间的 diff template 选项卡(自定义模板),粘贴在下面的文本框,确定,就可以了!


非常感谢! ;)


The next step? :)
You can post, if you want, on the Chinese board, your file ... you will make users happy there ... and will eventually be able to find collaboration for the translation.

OK, I'll do it. :D
But I see the last reply in Chinese Board is in August, 2019... It seems not much popular...
Though it's hard in China to have an account here due to the recaptcha...

But I see there are guests viewing that board, maybe they need it now.  :D

Edit: I have done that just now ;)

Yeah, nice! I completed the translation of hfs.lng.  ;) And surprisingly, it can be used at both of the versions!  ;D

  • This costed me 5 and a half hours. But I'm in holiday today. :D
  • To test/use the file: Just put the hfs.lng in the zip file in attachments into the folder where your hfs.exe is, then launch/restart HFS.
  • Some inappropriate translations in SilentPliz's version can be overwritten by this version.
  • Some strings are not in the hfs.lng, or overwritten by HFS' build-in contents, and left English there...
  • Some less used functions or strings may be mistakes there...
  • So what is the next step? :P

Thanks everyone here! I'll post an update later!

Also have 6 development notes:

Thanks for advice! I'll try them later!
Solutions to the new features may cost time to get fully discovered, please wait
And... which area does the code contain a "connections regulator"? It's hard for me to find & judge...

-  I would try to replace jquery with native (it's not so much), to make it faster

I'll try it, but may need some time to find a proper way to deal with animations. Making a CSS3+Javascript animation system may also cost time.

you can contribute here with the translation to chinese, reviewing if some translation is missing or checking everything is well translated

It will be great to get HFS well translated. I had a look on that, but met some problem:
  • I want to know is there anyone else doing this :D. Nothing but just want to know. It seems everything in zh.po is translated by machine...
  • I heard there is also another way to do translations. Which one is more recommended? (or just do both?)
  • MS Edge, Smart Screen, and Windows Defender reported a virus (Trojan:Win32/Wacatac.C!ml) about that version of HFS, and saying no developer signature. This would block others from trying to do works. May it be solved?
  • PS. The beta version 2.4rc4 also gets a virus detection (Trojan:Win32/Fuery.C!cl)

Discover its Main Page!

Last update: for both HFS 2.3 and HFS 2.4 RC

With the layout of Throwback, but looks cool!

Also, supports skins to hfs-2.4- and throwback-style.

What's different is, it's feature rich, stable and can be considered as a "core".

Anyway, just try it!

Poll: Do you want a tool for creating templates easily?

Pages: 1 ... 12 13 14