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 - Ranger

Pages: 1 2 3 4 5 6 ... 8
46
HFS ~ HTTP File Server / Re: Lock user in a folder
« on: March 12, 2009, 08:10:37 PM »
there are many solutions.
i would do this way: properties of the root -> remove "browsable"


If I do that then I nor the "viewonly" user can't see any pics. All we get is Access Denied.

I'm not sure how to implement Mars's way either.

Of note the folder is Root-->ImageHosting-->DNic
The DNic folder contains a folder called "Interior Pics" which Viewonly gets redirected to upon login. This folder does NOT show in HFS as I created it through the browser on my site.

Basially what I want to accomplish is when I take pictures of a project, upload em to my site real quick and grant access to viewonly (or another quick acct I create just for this purpose) give someone the login info so they can see those and only those pics.

47
HFS ~ HTTP File Server / Re: Lock user in a folder
« on: March 12, 2009, 12:58:59 PM »
Ok thanks, I'll see what I can do here.

48
HFS ~ HTTP File Server / Lock user in a folder
« on: March 11, 2009, 04:44:20 PM »
I'll try to explain this as easily as I can.

I host images on my server, you can link directly to the picture but a random person can't browse the folder to see the other pictures.
Now using the create folder that I added to the RAWR template I created a "BBQ" folder (the folder does not show in HFS fyi). I placed some pics in this folder.

Now I wanted some people to view the entire contents of this folder, BUT i dont want them to be able to hit back and see my root folder (in HFS its set up as Image Hosting-->DNic, i want them to stay in the BBQ folder thats in the DNic folder). What I did was create a new user that when a person logs in takes them directly to the BBQ folder, however hitting back lets them access the DNic folder.

Is this possible?

49
RAWR-Designs / Re: ToG and folder creation
« on: February 25, 2009, 08:58:10 PM »
Ok I just changed it by renaming the code going in the template

Code: [Select]
<input class="formCreate" type='text'   name='fldname'
maxlength="50" size="25" value="{.!Enter Folder Name.}"
onclick="if(this.value=='{.!lv_foldercreate.}')this.value=''"/>
<input class="create"     type='submit'
name='createfolder' value='Create Folder'>
<input class="delete"     type='submit'
name='deletefolder' value='Delete Folder'>
<input class="formOld"    type='text'   name='oldname'
maxlength="50" size="25" value="{.!Old File/Folder Name.}"
onclick="if(this.value=='{.!lv_oldname.}')this.value=''"/>
<input class="formNew"    type='text'   name='newname'
maxlength="50" size="25" value="{.!New File/Folder Name.}"
onclick="if(this.value=='{.!lv_newname.}')this.value=''"/>
<input class="rename"     type='submit'
name='renamefile' value='Rename File'><br/>

All I did was remove the LV_ and put in what I wanted it to show. I may just blank it entirely since you have to delete the text it puts in there. Also how hard would it be to take out the delete file and/or have this not work for a anonymous users. I have a couple folder publicly accessible that user can upload/download to, but no other permisison. With this Admin Panel they can also delete folders/files which I'd rather not allow.

50
RAWR-Designs / Re: ToG and folder creation
« on: February 25, 2009, 08:09:22 PM »
Ah ok I found the language file, I didn't look in the default folder. I added the lv_* under the File List section as well as just at the end. The button names are fine, however the text boxes where you type the folder name still says lv_foldercreate, lv_oldname/lv_newname.

Also I originally the File section to the end vs the beginning, putting it at the beginning put up top now, thanks!

51
RAWR-Designs / Re: ToG and folder creation
« on: February 25, 2009, 05:43:29 PM »
I added the code you provided to the RAWR Template (also using black). However the admin panel is on the bottom and the lv_** appears. I created a languages.txt file to the root of HFS install folder. Is that correct?

52
HFS ~ HTTP File Server / Re: How about SSL support
« on: February 23, 2009, 04:00:22 PM »
Ah got it now, I put a ; in front of the original debug but not the old path. I just overwrote it with the new path.

Thanks for all the help.

53
HFS ~ HTTP File Server / Re: How about SSL support
« on: February 23, 2009, 03:06:08 PM »
Test to see if the stunnel.log is really created in the stunnel folder, or elsewhere on your hard drive.

Yea, stunnel.log exists in the Stunnel folder.

54
RAWR-Designs / Re: Folder Creation on RAWR Templ.
« on: February 19, 2009, 11:00:58 PM »
I don't know whats going on now. I copied over the default RAWR template and the 2 file lists still exist.....really stumped now.

Ok, restarted the server and its good now.

No idea why I can't get this folder creation code to work though.

55
RAWR-Designs / Re: Folder Creation on RAWR Templ.
« on: February 19, 2009, 10:48:57 PM »
Still the same thing. I replaced the Files section with the code you just gave me  :-[

56
HFS ~ HTTP File Server / Re: How about SSL support
« on: February 19, 2009, 10:31:04 PM »
- In file stunnel.conf of the folder of stunnel.exe , specify the path of HFS where the file stunnel.log will be created.
(Debug = 6 gives a correct result)

; Some debugging stuff useful for troubleshooting
debug = 6
output = C:\path\of\hfs folder\stunnel.log


Yup added exactly that.

Code: [Select]
; Some debugging stuff useful for troubleshooting
debug = 6
output = C:\Program Files\HFS\stunnel.log

57
HFS ~ HTTP File Server / Re: How about SSL support
« on: February 19, 2009, 08:32:16 PM »
No just a stunnel.last file that appeared.

58
RAWR-Designs / Re: Folder Creation on RAWR Templ.
« on: February 19, 2009, 07:51:17 PM »
Here ya go.

Bottom half is from that code.

59
RAWR-Designs / Re: Folder Creation on RAWR Templ.
« on: February 19, 2009, 07:25:06 PM »
Ok thanks Kremlin, go that part taken off. However I still have 2 file lists.

This happens after I add this:

Code: [Select]
<form method='post' id='filelist'>
<div id='body'>
  {.if| %folder-item-comment% | <div id='foldercomment'>%folder-item-comment%</div> .}
  {.if| {.?search.} | <a class='big' href="."><img src="/~img14"> {.!BACK.}</a>
    | {.if| {.%folder% != / .} | <a class='big' href=".."><img src="/~img14"> {.!UP.}</a> .}
  /if.}
  {.if not| %number% | <div class='big'>{.!No files.}</div> |
    <div id='folderstats'>%number-folders% {.!folders.},  %number-files% {.!files.} - {.!Total.}: %total-size%</div>
    <table id='files' cellpadding='5'>
    {.set|sortlink| {:<a href="{.trim|
{.get|url|sort=$1| {.if| {.{.?sort.} = $1.} |  rev={.not|{.?rev.} .} /if.} /get.}
/trim.}">{.!$2.}{.if| {.{.?sort.} = $1.} | &{.if|{.?rev.}|u|d.}arr;.}</a>:} .}
    <th>{.^sortlink|n|Filename.}{.^sortlink|e|.ext.}
    <th>{.^sortlink|s|Filesize.}
    <th>{.^sortlink|t|Filetime.}
    <th>{.^sortlink|d|Hits.}
    %list%
    </table>
{.if|{.get|can delete.}|
<div style='margin-top:2em;'>
<input type='hidden' name='action' value='delete'>
<input type='checkbox' onclick='var is = document.getElementsByName("selection"); for (var i=0; i < is.length; i++) is[i].checked = this.checked;'> All
<input style='margin-left:1em' type='submit' value='Delete selected' onclick='return confirm("Are you sure?")'>
</div>
/if.}

  /if not.}
 
</div>
{.if|{.get|can upload.}|
Folder name: <input  type='text' name='fldname' maxlength="25" size="25" >
<input  type='submit' name='createfolder' value='Create Folder' >
    /if.}
</form>

I understand that this happening due to the template pulling 2 file lists now. I'm just not sure how to integrate just the part I need.

Here is the section I put it under:

Code: [Select]
|<form method='post' id='filelist'>%list%.}
</table>
{.if|{.and|{.get|can delete.}|{.or|%number%|.}.}|
<input type='hidden' name='action' value='delete'>
<input style="margin-left:15px; margin-top:12px;" type='checkbox' onclick='var is
= document.getElementsByName("selection"); for (var i=0; i < is.length; i++) is[i].checked =
this.checked;'>&nbsp;&nbsp;<span style="color:#006633;"><b><---- {.!lv_delete2.}</b></span><input
style='margin-left:1em' type='submit' value='{.!lv_delete.}' onclick='return
confirm("{.!lv_delete3.}")'>
/if.}
</form>

60
RAWR-Designs / Re: Folder Creation on RAWR Templ.
« on: February 19, 2009, 06:56:38 PM »
Thats not quite the issue with mine. I'm having problem with placement of Luca's code and it creating the LV tags in front of everything.

Pages: 1 2 3 4 5 6 ... 8