rejetto forum

HFS Live 0.2.5 EN/ES (Project passed on to RAWR-Designs)

Guest · 93 · 79946

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
he asked for patience, and not a month has passed since his last post.



Frenchy

  • Guest
By far the best template I've seen !!!

CONGRATULATIONS!

But there's is small problem...

I CAN'T USE IT !!!!!

é è ê ô â û î ç

Will display as:

? ? ? ? ? ? ? ?

PLEASE, fix it if you can!

I love your template and i'm very frustrated not be able to use it!!!

Thank you!






Admirer

  • Guest
Good template for HFS. :)
I hope next version will be both Firefox and Explorer compliant, because in IE7 there is some bugs: the upload button isn't centered as the other buttons, the upload page background is moved toward the right side and the about link is broken because it points to a missing '..._en.html'). A revamp in its GUI is needed, too.

Thank you!


Offline alexandros

  • Occasional poster
  • *
    • Posts: 16
    • View Profile

nobod

  • Guest
Hye all. I have a problem with last Live HFS version et HFS 2.1... I can't see any upload module when i go on the folder i designate as upload file..It works well with default template. I don't have firewall or others. D ou you know what it could be wrong ?


Offline teslaman

  • Occasional poster
  • *
    • Posts: 19
    • View Profile
I noticed uploading a file with the same name doesn't work when HFS is set to rename the file. Is there a piece of code I need to add to allow renaming while uploading?

EDIT: Nevermind it seemed to just be the older version I was using, I was using 2.0 and it works fine now on 2.1d. ;)
« Last Edit: February 23, 2007, 11:22:27 AM by teslaman »


Raproid

  • Guest
and what about mp3 streaming?
How add it right into template without break template's face?

Please, write a code, if u added already.


Raproid

  • Guest
OK. I think i did it... aaaaahm gonna sleep.

I add Thunderchicken script, removed info about mp3 out [files] section and create new [file.mp3].
mp3pleer include, have fun.

And what about pictures preview..?
i use +P version and not see thumbians or ico_pict3.gif or lit_th_bg_blue.jpg!!!!
I see nothing a left of pict name! WTF?!

Cant understand, explain me, please.

[attachment deleted by admin]


Offline Raproid

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Ok.

Now, i edited Live template and included into a some things:

General:

- better and more icons for files and folders.
- browsabletreefolders active navigation menu (from HFS Terayon)
- mp3 streaming (from HFS Terayon)
- image preview highslide (from HFS Terayon)


Little:

- now, you can see on each page info about dir and files  - like "№ folder(s), № file(s) - Total: № Bites" [before sorting menu] (from HFS Terayon)
- you can add comment to the folder or file
- you also can use additional folder icons for change all subfolder for any folder.
- you can use real thumbnails for small preview without downloading picture. Use 88x88px thumbnails.
- for images inactive name-link menu, only view with highslide or download with "save as"...
Of course, u see usual comment, look like like:
Click on img for view
or right click and "Save as"
- text "loading...", when you load highslide picture view replaced with small search picture
- fix upload page background bug and status page bug (for Opera)
- system comments (like "folder", "size") and file-folder comments now is no like link. Only text. For link used item name and item icon
- added download raitng (3 small star a right after download count). It begin after 10 download. I wait for real users raitng - this is no complete thing. But now i dont know how realise.

A some preview:





And you can see result at http://raproid.mine.nu/ if my cimputer stiil on

Download link: HFS Live 0.2.5 Power+ (edited by meeeeeeyaowwww) :D  (1,86 Mb)
 Mirror 1
  Mirror 2




Setup:

 - import template *.tpl
- delete "img" folder from root in HFS window (if u haved already)
- put "template" folder on root like "real folder". Hide, Hide tree, write in "dont count mask..." that - *.bmp;*.gif;*.jpg;*.jpeg;*.png;*.ico;*.html;*.js;*.swf
- create "thumb" folder on your harddisc for thumbnails and put on root like "real folder".  Hide, Hide tree, write in "dont count mask..." that - *.jpg;*.jpeg;*.gif;*.png;*.bmp;*.psd;*.ico;


Important:

1. Thumbnails - it real pict 88x88, which you must create youself (use Acdsee batch resing: Crtl+R on files) and put into "thumb" folder on your harddisc. If thumbnail not exist template show only bg pict and text on this "No thumb found!!".
By default, template use for thumbnails folder named "thumb" on root dir of your site.
I propose divide thumbs by media and style types - new folder for each type or style.


Explaining:

For exmpl, you have divided folders for content type - like music dir for all music and images dir for all image and put any subfolders into their.
Your default template for images show all thumbnails from "thumb' dir from root. So, we can change this dir by small writing:

Now, default template is
Code: [Select]
[file.jpg]
<tr><td width="16px" align="center" ><a href="%item-url%"> </a>
<script language="javascript">
var c='%item-name%';
switch (  c.substr(  c.lastIndexOf('.')  ) .toLowerCase()  )
 {
case '.jpg' : document.write('<table cellspacing="0" cellpadding="0"  style="width:114px;height:114px;background-image:url(/template/img/lit_th_bg_white.jpg)"  align="center" ><tr><td valign="middle" align="center" ><a href="%item-url%" class="highslide" onclick="return hs.expand(this)"><img src="/thumb/%item-name%" border="0" alt="" width="88" height="88" alt="No thumb found!!" title="Click here to enlarge the preview" /></a></td></tr></table>');break;
}
</script>
</td>
<td>
<font id="font1"><b>%item-name% %new% </b></font>
<br/>
<font id="font3">%item-modified%
<br/>
%item-size% | %item-dl-count% downloaded <script language="javascript">var top='%item-dl-count%'; if (top > 10) { document.write ('<img src="/template/img/new.gif"><img src="/template/img/new.gif"><img src="/template/img/new.gif">') }</script>
<br /><b>%comment%</b>
</font>
<font id="font4">Click on img for view
<br />
or right click and "Save as"</font></a>
</div>
</font>
</td>
</tr>

[file.jpeg]
<tr><td width="16px" align="center" ><a href="%item-url%"> </a>
<script language="javascript">
var c='%item-name%';
switch (  c.substr(  c.lastIndexOf('.')  ) .toLowerCase()  )
 {
case '.jpeg' : document.write('<table cellspacing="0" cellpadding="0"  style="width:114px;height:114px;background-image:url(/template/img/lit_th_bg_white.jpg)"  align="center" ><tr><td valign="middle" align="center" ><a href="%item-url%" class="highslide" onclick="return hs.expand(this)"><img src="/thumb/%item-name%" border="0" alt="" width="88" height="88" alt="No thumb found!!" title="Click here to enlarge the preview" /></a></td></tr></table>');break;
}
</script>
</td>
<td>
<font id="font1"><b>%item-name% %new% </b></font>
<br/>
<font id="font3">%item-modified%
<br/>
%item-size% | %item-dl-count% downloaded <script language="javascript">var top='%item-dl-count%'; if (top > 10) { document.write ('<img src="/template/img/new.gif"><img src="/template/img/new.gif"><img src="/template/img/new.gif">') }</script>
<br /><b>%comment%</b>
</font>
<font id="font4">Click on img for view
<br />
or right click and "Save as"</font></a>
</div>
</font>
</td>
</tr>

[file.gif]
<tr><td width="16px" align="center" ><a href="%item-url%"> </a>
<script language="javascript">
var c='%item-name%';
switch (  c.substr(  c.lastIndexOf('.')  ) .toLowerCase()  )
 {
case '.gif' : document.write('<table cellspacing="0" cellpadding="0"  style="width:114px;height:114px;background-image:url(/template/img/lit_th_bg_white.jpg)"  align="center" ><tr><td valign="middle" align="center" ><a href="%item-url%" class="highslide" onclick="return hs.expand(this)"><img src="/thumb/%item-name%" border="0" alt="" width="88" height="88" alt="No thumb found!!" title="Click here to enlarge the preview" /></a></td></tr></table>');break;
}
</script>
</td>
<td>
<font id="font1"><b>%item-name% %new% </b></font>
<br/>
<font id="font3">%item-modified%
<br/>
%item-size% | %item-dl-count% downloaded <script language="javascript">var top='%item-dl-count%'; if (top > 10) { document.write ('<img src="/template/img/new.gif"><img src="/template/img/new.gif"><img src="/template/img/new.gif">') }</script>
<br /><b>%comment%</b>
</font>
<font id="font4">Click on img for view
<br />
or right click and "Save as"</font></a>
</div>
</font>
</td>
</tr>

[file.png]
<tr><td width="16px" align="center" ><a href="%item-url%"> </a>
<script language="javascript">
var c='%item-name%';
switch (  c.substr(  c.lastIndexOf('.')  ) .toLowerCase()  )
 {
case '.png' : document.write('<table cellspacing="0" cellpadding="0"  style="width:114px;height:114px;background-image:url(/template/img/lit_th_bg_white.jpg)"  align="center" ><tr><td valign="middle" align="center" ><a href="%item-url%" class="highslide" onclick="return hs.expand(this)"><img src="/thumb/%item-name%" border="0" alt="" width="88" height="88" alt="No thumb found!!" title="Click here to enlarge the preview" /></a></td></tr></table>');break;
}
</script>
</td>
<td>
<font id="font1"><b>%item-name% %new% </b></font>
<br/>
<font id="font3">%item-modified%
<br/>
%item-size% | %item-dl-count% downloaded <script language="javascript">var top='%item-dl-count%'; if (top > 10) { document.write ('<img src="/template/img/new.gif"><img src="/template/img/new.gif"><img src="/template/img/new.gif">') }</script>
<br /><b>%comment%</b>
</font>
<font id="font4">Click on img for view
<br />
or right click and "Save as"</font></a>
</div>
</font>
</td>
</tr>

[file.bmp]
<tr><td width="16px" align="center" ><a href="%item-url%"> </a>
<script language="javascript">
var c='%item-name%';
switch (  c.substr(  c.lastIndexOf('.')  ) .toLowerCase()  )
 {
case '.bmp' : document.write('<table cellspacing="0" cellpadding="0"  style="width:114px;height:114px;background-image:url(/template/img/lit_th_bg_white.jpg)"  align="center" ><tr><td valign="middle" align="center" ><a href="%item-url%" class="highslide" onclick="return hs.expand(this)"><img src="/thumb/%item-name%" border="0" alt="" width="88" height="88" alt="No thumb found!!" title="Click here to enlarge the preview" /></a></td></tr></table>');break;
}
</script>
</td>
<td>
<font id="font1"><b>%item-name% %new% </b></font>
<br/>
<font id="font3">%item-modified%
<br/>
%item-size% | %item-dl-count% downloaded <script language="javascript">var top='%item-dl-count%'; if (top > 10) { document.write ('<img src="/template/img/new.gif"><img src="/template/img/new.gif"><img src="/template/img/new.gif">') }</script>
<br /><b>%comment%</b>
</font>
<font id="font4">Click on img for view
<br />
or right click and "Save as"</font></a>
</div>
</font>
</td>
</tr>
Sorry, if it look like big. )) but it no difficult.

We interesting only that string:

 <img src="/thumb/%item-name%" border="0" alt="" width="88" height="88" alt="No thumb found!!" title="Click here to enlarge the preview" />

So, see - the way to thimbnails dir is "/thumb/%item-name%".
You can add any path liked - "/thumb/images/%item-name%", or "/thumb/images/wallpaper/%item-name%", or "/thumb/music/house/%item-name%" or anything.


Change all sames values in this code for (5, how i member).
Click on folder in hfs window, choose "diff template" and put changed code into new small opened window.
It's fine.

Comment:
It's easy, then use "%folder-encoded%thumb/%item-name%" be cause u use one thumb folder and can create all subfolders in that.
With "%folder-encoded%thumb/%item-name%" value you must create a "thumb" folder with thumbnail in folder, where placed a picture. It's gonna be crazy...  :P


2. Change all subfolders icon in any folder wth content type filter.

Explaining:

For exmpl, we have one IMAGES folder, where placed in subfolders all pictures, photo, papers, e.t.c.
Default code for folder icon is:
Code: [Select]
[folder]
<tr><td width="16px" align="center"><a href="%item-url%"> <img src="/template/img/folders_ico/f_eyes.png" border="0" alt="" width="40" height="40"></a></td><td class="alignleft"><a href="%item-url%"><font color ="#787878"><b>%item-name% %new%</b></font></a><br /><font id="font3">Folder<br />%comment%</font></td></tr>
We interesting for this string:

<img src="/template/img/way/folder_img.png" border="0" alt="" width="40" height="40">

Value "/template/img/way/folder_img.png".
Change icon way and name to any, like "/template/img/folders_ico/f_eyes.png" or anything esle.
Put changed code in opened "Diff template" window from folder context menu.

Comment:

See icon picture's width and height parametrs - if it no 40x40 change width="40" height="40" to importants parametrs.


3. For comment file or folder use "Comments" in folder or file context menu.


4. By default for thubm bg use *.jpg picture be cause is smaller, then alternative *.png.
If you like transparent, you can change thumbnail's background from jpg with withness bg to png with real transparent bg.
See this pict between additional icons. So, after changing edit template - find all "lit_thumb_white.jpg" and replace with name of new picture


Ooook. Have fun and sooo thanks to Gaint and Stiven. For chrno too.


And sorry for flvplayer.swf. I forgot about this. it'll be include...
« Last Edit: March 26, 2007, 08:54:33 PM by Raproid »


Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com

Offline Raproid

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Giant Eagle, thanks

Me how japaness - taked a anything from other and maked my own. :D

And about flvplayer - not work for me.
Code: [Select]
<embed allowScriptAccess="always" src="/flvplayer.swf" width="300" height="200"
border="0" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="file=%item-url%&showdigits=true&autostart=false" />


Are you tried to use it?
Thanks for any help
« Last Edit: March 01, 2007, 12:21:11 AM by Raproid »


Offline Raproid

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
I have a question, which answer I can't find:

we have a same rights on IE, Opera and Firefox.

<object width="300" height="225"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
id="mediaplayer1">
<param name="Filename" value="%item-url%">
<param name="AutoStart" value="false">
<param name="ClickToPlay" value="true">
<param name="ShowControls" value="True">
<param name="ShowStatusBar" value="False">
<param name="ShowDisplay" value="False">
<param name="AutoRewind" value="false">
<param name="windowlessVideo" value="true">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
width="300" height="225" src="%item-url%"
filename="%item-url%" autostart="false"
showcontrols="True" showstatusbar="false"
showdisplay="False" ClickToPlay="true" autorewind="false">
</embed>
</object>

In this Video previewing code writed twice AutoStart="false".

Then WHY in Opera and Mozilla video striming start by default without user makes???
WTF??!

Someone, tell me!



Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
For anything else than real time streaming, I've got this code

type="application/x-mplayer2" autostart="0"

See if that does it ?
Make it idiot-proof and I will make a better idiot


Offline fabnos

  • Tireless poster
  • ****
    • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Hi all

this link don't works

http://fileho.com/download/baf0e5210775/HFS-Live-0.2.5-Power---edited-by-Raproid-.rar.html

file is been deleted for abuse ?

I don't know what it means.

Too downloaded  ???  ;)

best regards
E allora Dio creò l'uomo, gli diede un cervello ed un pene ma non sangue sufficiente a farli funzionare  contemporaneamente.
_______
So, God created the man.
It gave him a brain and a penis.
Unfortunately not enough blood to contemporarily bedew them