Recent Posts

Pages: 1 ... 8 9 [10]
91
HFS ~ HTTP File Server / Re: A couple quick questions, thumbnails and IP country info.
« Last post by dj on October 30, 2018, 04:22:29 AM »
if there's a setting or option I missed that would allow HFS to show thumbnails for video files

There is no such option in hfs, you need a template, that shows thumbnails.
Change var patt = /\.mp4|\.webm|\.mkv/ in viewthumbs (for v2.4) and put your coverpics in a subfolder thumb.
92
Beta / Re: version 2.4
« Last post by LeoNeeson on October 29, 2018, 10:20:43 PM »
@Rejetto: Don't let my last comment stop you from continuing with v2.4 beta testings. I do understand that you want to modernize HFS, and make it (even more) awesome by delivering by default jQuery v1.12.4, so you can forget about this jQuery thing if you are not interested (after all this doesn't affect me directly, since I know how to 'patch' old templates to make them use old jQuery if I need). But please don't forget (if you have a few minutes to spare, on checking how we can translate those untranslated 'dynamic' menus (if you prefer I can open a new thread about this). And I could help you to edit the source code if you can point me out in the right direction on how to re-write those menus to make them translatable. My message doesn't mean I'm requesting a fix to those untranslated menus 'right now' (this could be fixed on future version, like v2.4b, v2.4c or v2.4d), not pressure at all! :)
93
HTML & templates / Implementing Base64 encoding/decoding as a Macro function
« Last post by LeoNeeson on October 29, 2018, 10:12:15 PM »
EDIT: As reference, I comment this thread was started here and then moved here. The idea started after reading the code of mobil-light_V4.2beta.zip by dj (thanks him for the inspiration, Mars for the actual code implementation that you will find below, and Rejetto, because he took this idea into consideration). Now it follows the original post...



Offtopic: Reading your template, I always wondered is a file section (in the HFS template), could store a file encoded in Base64, and that be decoded by the server on-the-fly (delivering the decoded output).

I see you have write this:

Code: [Select]
[mystyle.css]
{.mime|text/css.}
a {text-decoration: none}

...and I expected this to deliver the same output (but it doesn't):

Code: [Select]
[mystyle.css]
{.mime|text/css;base64.}
YSB7dGV4dC1kZWNvcmF0aW9uOiBub25lfQ==

I already know that is possible to directly write Base64 code, like this:

Code: [Select]
<link rel="stylesheet" type="text/css" href="data:text/css;base64,YSB7dGV4dC1kZWNvcmF0aW9uOiBub25lfQ==" />
But I was wondering if is it possible make HFS decode Base64 'on-the-fly' using a macro like: {.mime|text/css;base64.}

Also, neither of the following works:

Code: [Select]
[mystyle.css]
{.base64|YSB7dGV4dC1kZWNvcmF0aW9uOiBub25lfQ==.}

Code: [Select]
[mystyle.css]
{.base64decode|YSB7dGV4dC1kZWNvcmF0aW9uOiBub25lfQ==.}

I'm curious to know if this is possible using macros. ???
94
Hi there, had a couple quick questions that I couldn't find anything quite relevant on using the search function.
Hi and welcome! :)

First, I was wondering if there's a setting or option I missed that would allow HFS to show thumbnails for video files, probably with a larger style list, as that would be helpful in some cases.
The user DJ is expert on this, and he will surely have an answer to this (search on the forum or wait his reply).

Second, is there a way to show the country for the IP address you mouse over in the interface window automatically? That would be cool, not necessary, but a neat bit of extra info.
To make HFS show the country for the IP address it would need Rejetto make some changes to implement this feature. This requires using a ip-to-country database, which needs to be updated regularly. Many eMule Mods are still using today a Geo-Location database from webnet77 (which is updated daily). But knowing Rejetto, I bet this feature is far from being implemented (unless someone here come with an idea to implement this only using macros, to at least show the country name in the logs, but not the country flag).
95
HTML & templates / Re: Responsive small screen template
« Last post by dj on October 29, 2018, 04:46:10 PM »
changelog: touch feedback, disable upload, links
96
HTML & templates / Re: Simple contact template
« Last post by Fysack on October 26, 2018, 09:02:01 PM »
18  8) hardcore
97
HFS ~ HTTP File Server / Re: Unlimited Speed Hang
« Last post by Fysack on October 26, 2018, 08:57:02 PM »
yea as long as we dont do https, i think we contribute to the enviroment. gung-hoo. Money. Fake news. Armagedddon
98
Everything else / Re: forum template
« Last post by Fysack on October 26, 2018, 08:51:10 PM »
 ;D i acctually saw that profile pic now. extensions?  ;D ;D
99
Everything else / Re: problems
« Last post by Fysack on October 26, 2018, 08:46:35 PM »
Haha! Superman. I really cant see any problems here..
100
HFS ~ HTTP File Server / A couple quick questions, thumbnails and IP country info.
« Last post by XOIIO on October 26, 2018, 08:38:15 AM »
Hi there, had a couple quick questions that I couldn't find anything quite relevant on using the search function.

First, I was wondering if there's a setting or option I missed that would allow HFS to show thumbnails for video files, probably with a larger style list, as that would be helpful in some cases.

Second, is there a way to show the country for the IP address you mouse over in the interface window automatically? That would be cool, not necessary, but a neat bit of extra info.

I love the software so far, it's exactly what I needed and when I can afford to I'll definitely send a donation your way.
Pages: 1 ... 8 9 [10]