rejetto forum

The Throwback (retro) template. With large folder and mobile support.

danny · 129 · 150859

0 Members and 1 Guest are viewing this topic.

Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
Can I get a version that doesn't make the phone stumble? 
Have you tried my originally version?

Change var ref=document.querySelectorAll('td:nth-child(2)') for Throwback-X


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs

Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
Throwback-X-Noir (I think that Leo will like it; and, me too)
Sounds cool... 8)

Actually, I did have two style questions:
Should anything link have underline to help the daftest of end users operate the mouse?  And, should there be the marquee to promote HFS?  Opinions requested--say anything.
For me, I think it's OK the way it is. I mean:

A) Should we keep the marquee: for me, no. It was fun to recreate the 1998 version, however, a static footer could be cool (it doesn't need to be a marquee), something like (added at the end of [files]):

Code: [Select]
<br>
<table class=lil width="100%" bgcolor="#DDDDDD">
<tr>
<td align="center" style="font-size:3pt">
<a style="font-size:8pt" href="http://www.rejetto.com/hfs/"><span style="color:red">&#9829;</span> Powered by HFS (HTTP File Server) v%version%</a>
</td>
</tr>
</table>

You can personalize with CSS at you wish, but the important thing to promote HFS is:

Code: [Select]
<a href="http://www.rejetto.com/hfs/"><span style="color:red">&#9829;</span> Powered by HFS (HTTP File Server) v%version%</a>
B) Should any link have underline: for me, no. Like I've said, I think it's OK the way it is.

But that's my own opinion, don't take what I've said like something important, feel free to customize you template the way you like. :)

Cheers,
Leo.-
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline Harley

  • Occasional poster
  • *
    • Posts: 10
  • Bonjour
    • View Profile
    • Southwest Spirits
Has a dumb question, should I be using the downloads from the very first post in May of 2018 for this template or one of the other download links located in one of the replies, I am not a coder, just an HFS user and I kind of got lost in the soup reading the thread, THIS is the post I downloaded from, am I correct?


EDIT:

Well, not sure exactly about all the techy stuffs, is not a true nerd but not a total loss either, 
Throwback9.tpl was EXACTLY what I wanted. I am so grateful.
I just wanted, plain, easy to see, easy to download, just the facts mam.
I got what I wanted. Deals with a lot of older folks, this makes things even more of a snap.
Thank all of you for all your hard work.
Blessings are sent to all of you for good fortune and prosperity.


« Last Edit: February 18, 2019, 05:23:55 PM by Harley »


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
add id="files" to the table in Throwback10photo (needed to find img links)
remove src attribute from jpg files
add script from jpgimagethumbs at the end

3. ... use original file may come in a next version
« Last Edit: March 07, 2019, 07:47:28 AM by dj »


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
Here are 2 new user-interface experiments. 
I claim that they are non-working.  Tiles and Stripes are developmental status. 
I've tested your experimental templates. Tiles.tpl looks great as an image gallery, but on normal file listing, Stripes.tpl look better.
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
So, what other features would you like to see (without attempting to replicate/replace ftp, vnc or plex)?
If you are looking for fresh new ideas (for you Throwback10-Photo template), here is one: having an option named "Gallery mode (show photos only)", to have a view like THIS or THIS (those images are obviously to give you an idea). This setting could be a checkbox (storing the settings on a cookie) or adding to the URL /?gallery=on and /?gallery=off (or using any other method).

Activating this mode, files that are NOT photos are hidden, filenames are also hidden (to save space), and only a photo gallery is shown. When a folder has no images, a message like "No images are found on this folder" could be displayed (perhaps with an option to disable the gallery mode). And when gallery mode is off, the template could work like the normal/classic Throwback10 template.

So, adding this, we could merge those two versions and have a new unified Throwback11. I know this could be complex to add/implement, but it's just an idea (and if it's too hard to do, just ignore it). ;)
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
I wonder if this is possible:  An icon to shuffle play all mp3's in the current folder?   
That's an awesome old-school feature that has been lost over time.

we have to generate the m3u file via script pulled from macro item-modifed.

somehow we would have to tell a flash player or other html video player the contents of a file folder via URL.

mby look into jplayer

https://stackoverflow.com/questions/14854271/jplayer-create-dynamic-playlist-based-on-files-in-folder
« Last Edit: June 10, 2019, 04:07:38 AM by bmartino1 »
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
add latest audioplayer_addon
add querystringparameter ?shuffle (I have added this (undocumented) feature)
click on play (for nexttrack longtouch on play)
« Last Edit: June 10, 2019, 07:38:17 AM by dj »


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
you need to learn to use the web-console
SyntaxError: unexpected token: '.' audio:72:13
you can't  add location.search=shuffle to the editable vars (it's read only)

I have added shuffle to the editable vars. Set it to true. I hope, this helps.


update: Have you seen the play button (at the end of body)?
You can add id='menu-bar' to the element the play button should appear.

Set var dur(ation)=0 to avoid preload
« Last Edit: June 14, 2019, 03:34:44 AM by dj »


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Thanks.  But, there's no sound.  What form of clickable link allows the end user to achieve playback? 

It immediately caused 5 Gigabytes of traffic, but it didn't play any of them.

Need to avoid downloads unless the play button is clicked.
After the play button is clicked then it would be nice to download/play one at a time (not all at once).

that sounds like a mime type issue
is the mime type defined and is it set to open directly in browser?

https://images.app.goo.gl/R5EBCrYXcigQxWTP8

http://rejetto.com/forum/index.php?topic=11400.msg1059164#msg1059164
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
I've added FAQ

P.S. Throwback-X is working for me, if you remove location.search=shuffle,
« Last Edit: June 12, 2019, 04:19:49 AM by dj »


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
remove href="javascript:addon()" , then it's ok

Quote
Probably need to Re-shuffle when pause is clicked
just reload page

Quote
It does still download 1 mp3 file every time a page is loaded
fixed (only metadata of first file downloaded)

P.S. you can style the play button  .play {color:green}
next week I'm on holidays


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
i like the new html content and template desing, but i'm having a hard time following where the current version for the template are and go.

can you link the attachment or tell me what post on the thread to download them at?
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
a fork of the latest release

changelog:
reduce traffic (load audioplayer from cache)
reduce traffic on mobile: prevent lazy image load on cellular network (chrome android) (see line 20)
« Last Edit: September 24, 2019, 03:51:14 AM by dj »