CodeCanyon

Sleek Directory Navigator

  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
keithosborn says
Purchased

I’m completely new to coding but your excellent documentation made installing this a breeze. Thank you!

I did have a quick question for you. My filenames and folders contain underscores to avoid spaces – is there any way to easily hide those in the output?

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • United Kingdom
  • Referred between 1 and 9 users
Jaybuz says
Author

Add this under line 48 in the file core.php:

$itemClean = str_replace('_', ' ', $item);

And then change the variable’s $item on lines 63, 76 and 85 with $itemClean.

Hope you get it to work! :D

2 years ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
keithosborn says
Purchased

Worked perfectly!!! Thanks so much!

2 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Portugal
pamps says

hi, great for my new project! just one question: does it allows pagination in some way? i might have more then 200 files in a single directory so need to have a solution that can handle with that thanks

2 years ago
Author
Jaybuz Jaybuz replied

Sorry, at the moment it does not support pagination as I wouldn’t recommend so many folders being used with this. Not that it can’t handle it but it would probably be slowed down considerably.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
cbowers says
Purchased

Hi, Love the script. Is there a way to hide all .css files or all files of a certain extension? I hope I didn’t miss that in the documentation. I know I saw something that said you had to specify the exact location of each file that you want to hide.

Thanks,

Chase

2 years ago
Author
Jaybuz Jaybuz replied

I’ve just uploaded an updated version of this script with your feature! It should be approved soon.

Thanks for your purchase! :D

2 years ago
Purchased
Default-user cbowers replied

Wow! That was quick! Thanks.

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • United Kingdom
iAlex says
Purchased

Just got this and had it going seconds after I did.

Perfect for what I need it for.

Thanks a lot! :)

2 years ago
  • Has been a member for 2-3 years
  • Bought between 100 and 499 items
webhuset says
Purchased

Disregard my previous message. Works great :)

2 years ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
saftle says
Purchased

Great work on the script. With my additions it’s almost perfect. The last thing that I need to have done is the possibility to open a folder link that has a ”+” in the URL . It opens the folder without ?d=, so I know the path is correct.

And finally, the addition of being able to see foreign characters in the filenames and folders would be great. However the links still work. The characters that I would need are ä ü ö ß.

I appreciate the help.

1 year ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
saftle says
Purchased

Hello again,

Disregard the foreign characters. I used the str_replace for each character. Now just the ”+” problem left. :D

1 year ago
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • Canada
JoeB says
Purchased

Great piece of code, thanks! Able to get it up and running very quickly and was just what I was looking for.

Would be great in the future if it was a wordpress plugin where you could specify the folder to browse from in shortcode form.

Foreign character support would be excellent, it works in the href, but not in the item description.

1 year ago
Author
Jaybuz Jaybuz replied

Thanks for the purchase!

I’ve updated the code to allow international characters. I Hope this fixes your issues.

1 year ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Brazil
PedroFelipe says
Purchased

Simple and efficient. Congratulations to the developer, excellent work! 10/10 :)

1 year ago
Author
Jaybuz Jaybuz replied

Thank you!

1 year ago
  • Has been a member for 0-1 years
  • Bought between 10 and 49 items
williamjames says

Please add an admin demo… thanks!

1 year ago
Author
Jaybuz Jaybuz replied

There is no Admin demo. You use FTP to upload and edit your files.

Sorry.

11 months ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Brazil
PedroFelipe says
Purchased

Does not work with files larger than 2GB, because the filesize function does not accept files larger than 2GB, see: http://php.net/manual/en/function.filesize.php

I get this error: Warning: filesize() [function.filesize]: stat failed for ./FS.tar in /listDirectory/core.php on line 84

How to fix?

10 months ago
Author
Jaybuz Jaybuz replied

So after reading the PHP manual, I think this may work.

Replace this in the file core.php:

$itemSize = formatSize(filesize($dir.$item));

with this:

$itemSize = formatSize(sprintf('%u', filesize($dir.$item)));

Then at the bottom replace this:

function formatSize($size, $round = 1)

with this:

function formatSize(int $size, $round = 1)

Hopefully this works. If not, I’d recommend finding a server which is running a 64 bit OS.

10 months ago
Purchased
PedroFelipe PedroFelipe replied

Error again. This code worked for me:

$itemSize = formatSize(exec('stat -c %s '. escapeshellarg ($dir.$item)));

Thank you! :)

10 months ago
  • Has been a member for 3-4 years
  • Bought between 100 and 499 items
tulsabobt says
Purchased

see below

5 months ago
  • Has been a member for 3-4 years
  • Bought between 100 and 499 items
tulsabobt says
Purchased

Hi there, Just bought this. is there a way to edit the output, so that if an mp3 file is found, it will display an inline player as well as a download link.

Preview button to stream and then a download link?

Thanks!

5 months ago
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
turner2f says

Can this also handle Video Files?

With it being HTML 5 , can it be seen on mobile devices?

3 months ago
Author
Jaybuz Jaybuz replied

The files are only viewed as is. There is no embedded media but some browsers may play the video instead of showing a download dialogue.

3 months ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
xxsashixx says
Purchased

Hey guys

In my dirContents(), I’m using an absolute path, EG: /home/www/site

The only problem is that function dirContents() behaves differently.. whereas the link itself will show as

http://domain.com/home/www/site/item.zip

This is what I did

I added this around after the $sort code in core.php

    $realDirArray = array('/home','/public_html');
    $realDir = str_replace($realDirArray, '', $dir);

Just replace the items in the array() with your own values

Then I replaced (around line 60 and 85)

$itemURL = str_replace('%2F', '/', rawurlencode($dir.$item));

with this

$itemURL = str_replace('%2F', '/', rawurlencode($realDir.$urlDir.$item));

Now I’m pretty sure there’s a much better way but that was my hacked fast version of it..

Enjoy

2 months ago
by
by
by
by
by