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.

Topics - raybob

Pages: 1 2 3 4
HTML & templates / change a folder resource for 1 connection only
« on: April 30, 2011, 10:18:54 PM »
Is there a way to do a {.set item|test|resource=new.} or something like that, where the resource of a folder is changed temporarily, but only for the connection that got the page with the macro?

My end goal here is to have a folder like /test/ but it shows a different directory based on the value of %user% or some other variable.


HTML & templates / posting variables with {.redirect.}
« on: April 30, 2011, 08:01:17 PM »
Can you make it so that there is a way to post variables to a page that is getting redirected to?

Here's an example of what I'm talking about:


Bug reports / AV deleting account
« on: April 17, 2011, 04:55:42 PM »
I got this yesterday when I deleted an account:

############# ERROR ON: 4/16/2011 11:26:43 PM
C:\Documents and Settings\Admin\Desktop\hfs277.exe
Access violation at address 004056A2 in module 'hfs277.exe'. Read of address
HFS 2.3 beta (277)
System   : Windows XP Home Edition, Version: 5.1, Build: A28, "Service Pack 3"
Processor: Intel, Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz, 3320 MHz MMX
Display  : 1920x1080 pixels, 32 bpp
Product Versions

Email-A.exe:1.56.0 Build: 0 9/29/2009 1:55:02 PM
Email-B.exe:1.56.0 Build: 0 9/29/2009 1:55:02 PM
Email-C.exe:1.56.0 Build: 0 9/29/2009 1:55:02 PM
Email-D.exe:1.56.0 Build: 0 9/29/2009 1:55:02 PM
Email-E.exe:1.56.0 Build: 0 9/29/2009 1:55:02 PM
Email-F.exe:1.56.0 Build: 0 9/29/2009 1:55:02 PM
hfs274.exe:2.3.0 Build: 0 1/31/2011 11:14:14 AM
hfs276.exe:2.3.0 Build: 0 3/21/2011 4:55:24 PM
hfs277.exe:2.3.0 Build: 0 3/31/2011 8:46:34 PM
LTFViewr5u.exe: Build: 0 6/4/2009 5:46:48 PM

Bug reports / Cookies don't work
« on: April 16, 2011, 03:00:12 PM »
Whenever I try to put in something like {.cookie|test.} on a page, it always shows this:

macro error: cookie
not supported or illegal parameters

I also tried creating a cookie and then retrieving it in your test.vfs that you sent me, and I got the same result, so hopefully you'll be able to reproduce the issue.  I'm using build 277.
Also, I may be doing something wrong but when setting a cookie I can't get the path or expires parameters to work right either, it always says expires at end of session.  Here's an example of what I put in:    


HTML & templates / simple mp3 streaming
« on: April 02, 2011, 03:43:14 PM »
Just add this to your template.

Code: [Select]

<tr class='{.if|{.mod|{.count|row.}|2.}|even.}'><td>
        <input type='checkbox' class='selector' name='selection' value='%item-url%' {.if not|{.or|{.get|can delete.}|{.get|can access.}|{.get|can archive item.}.}|disabled='disabled'.} />
{.if|{.get|is new.}|<span class='flag'>&nbsp;NEW&nbsp;</span>.}
{.if not|{.get|can access.}|<img src='/~img_lock'>.}
<a href="%item-url%"><img src="%item-icon%"> %item-name%</a>
{.count substring|.mp3|{.lower|%item-name%.}.}|
{.count substring|.wav|{.lower|%item-name%.}.}|
{.count substring|.mid|{.lower|%item-name%.}.}|
{.count substring|.m4a|{.lower|%item-name%.}.}|
{.count substring|.wma|{.lower|%item-name%.}.}|
<div style="float:right" >
<button style="background-color:white; border:1px solid; height:24px; font-size:12px; padding-bottom:2px; width:72px;"  onclick="this.parentNode.innerHTML = '<object height=\'24\' > <embed src=\'%item-url%\' autostart=\'true\' loop=\'false\' height=\'24\' > </object>'">
<img style="height:12px;" src="/~img51" /> Stream</button>

{.123 if 2|<div class='comment'>|{.commentNL|%item-comment%.}|</div>.}
{.if| {.?search.} |{:{.123 if 2|<br /><div class='item-folder'>{.!item folder.} |{.breadcrumbs|{:<a href="%bread-url%">%bread-name%/</a>:}|from={.count substring|/|%folder%.}/breadcrumbs.}|</div>.}:} .}

Bug reports / {.redirect | B .} doesn't always work in IE
« on: March 25, 2011, 09:39:18 PM »
The redirect will work the first time it is used, then after that won't work anymore in IE.  It simply won't redirect the page.

Is this the fault of HFS or Internet Explorer?  It does work fine in Firefox.


Bug reports / VFS gets completely erased
« on: March 23, 2011, 02:55:36 PM »
I noticed before when trying to write the command line script that if the posted variables were blank, then giving a script along the lines of this to HFS would result in the VFS and its backup being completely erased.  Going to any page in a browser always resulted in the 404-Not Found page.

Code: [Select]
{.add folder|real|D:\|..}
{.new account||password=|enabled=true|member of=can change password|redirect=//.}
{.set item||hide=1|access=|delete=|upload=.}

HFS ~ HTTP File Server / command lines
« on: March 09, 2011, 10:44:38 PM »
Is it somehow possible to create a new user account using a command line?

Thanks for any input,

HFS ~ HTTP File Server / Rename on Upload
« on: February 19, 2011, 03:41:42 PM »
My knowledge is pretty limited and I seem unable to figure this out, could anybody help?  (I'm using HFS 2.3 b274)

Well, pretty much I just want to make it so that when a user uploads a file, HFS automatically appends the name of the file to something else, and then shows it as such in the upload results page.  I created a javascript for a random string of letters and numbers, and I want to make it so that if somebody uploaded "document.txt", using the JS it would be changed to something like "9SLQN3TYE6RPBW4Y7GLTLX2L9IQNY40N____document.txt" .  I'm assuming this could be done with Macros with something along the lines of     .rename.| "(my javascript)" + "____" + "%item-name%" |   but I'm not sure and I'm really not familiar with HFS macros.

Better yet, I need this to be done in the template rather than in because I only want it to happen in one part of my site for extra security.

An even more amazing feat (that I have no idea how to do) would be to have it take off the first 32 characters on a file name when downloading the file so that the random string is gone . . .


HTML & templates / checkboxes
« on: February 12, 2011, 04:11:46 PM »
Is there a way to make it so that instead of selecting a <tr> by clicking in the blank space, you could replace that with a checkbox input, that when checked set the <tr> class as selected?

If I just add a checkbox input just inside the <td>, clicking the checkbox will highlight the row, but then if you click on the row, it will become unselected while the checkbox will remain checked, so something else needs to be changed that I don't know how to do.

This would greatly add to the ease of use and functionality of HFS . . .


HTML & templates / new partial template
« on: February 01, 2011, 02:38:22 AM »
You can put a nicer looking background on your HFS in a very simple way:

Replace this CSS in your template:  (and you probably would want to save your own copy of the image)

body { font-family:tahoma, verdana, arial, helvetica, sans; font-weight:normal; font-size:9pt; background-color:#F8F8F8; padding:10px;background-image:url("");background-repeat:repeat-x; }

Bug reports / upload progress not showing
« on: January 30, 2011, 03:49:56 PM »
Whatever I do in the template, whenever someone uploads a file it just says 'in progress . . .' with the cancel button right below it, nothing else, even when I put in the code suggested here.

This flaw has already turned away several of my users because they think there's something wrong with my website, not realizing how slow their upload connection is and just how long it will take.

HTML & templates / center align
« on: January 30, 2011, 02:12:28 AM »
In HFS 2.3, on the user's page with all their files, how do you get the entire thing to center align?

I changed everything I could find in CSS, even tried <center> tags and all I could do was get the file table in the middle, but all the buttons and whatever on the far left just wouldn't move over.

How do I get the whole thing to stay in the center of the user's screen?

HTML & templates / search feature in 2.2f
« on: January 28, 2011, 03:20:56 AM »
Well, I didn't think it was possible to have a search feature in HFS 2.2f, but these people do:

A search feature is something I would really like to have especially since I'm not yet willing to switch over to HFS 2.3, so my question is:  How did they do it and how can I do the same?


HFS ~ HTTP File Server / Archive Format
« on: January 04, 2011, 12:20:44 AM »
Instead of downloading archives as a .tar.gz format which nobody I send my archives to appear to want to use, can we possibly change the archive format or at least add an option to download it in .RAR or .ZIP format?  Or are these proprietary and that's why you can't?


Pages: 1 2 3 4