Page 1 of 2

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Oct 14, 2013 5:36 pm
by WWBman
Ok, thanks, that worked.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Oct 14, 2013 6:27 pm
by Vlastimil
Many thanks, perfect job and support.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Oct 14, 2013 7:04 pm
by Adendum
Vlastimil wrote:Many thanks, perfect job and support.
Post a URL so I can see it in action with these changes. Thanks.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Oct 14, 2013 8:43 pm
by WWBman
Reminder:
If the HTML Beautifier option is enabled then PHP errors are produced.

BTW there's a "t" missing from heading! :-)

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Tue Oct 15, 2013 12:25 pm
by Adendum
WWBman wrote:If the HTML Beautifier option is enabled then PHP errors are produced.
Yes Pablo advised me about that but there's nothing much I can do about that. If there is a PHP Guru out there who'd like to dissect the code and make any improvements so HTML Beautifier works with it then I'm happy to work with them.
WWBman wrote:BTW there's a "t" missing from heading! :-)
No idea what you are referring to here :shock: Explain?

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Tue Oct 15, 2013 12:56 pm
by WWBman
Extraneous "the" as well. :)

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Tue Oct 15, 2013 1:21 pm
by Adendum
Thanks for that....
PHPDirectoryListing.jpg

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Tue Oct 15, 2013 8:21 pm
by Vlastimil
It`s not possible download new version, WB9 show error - download failed.
I unubstal old version first (as in previous update), but error i got again.
When I tried download this from http://extensions.wysiwygwebbuilder.com, i got error
The file invalidfilename does not exist!

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Tue Oct 15, 2013 9:38 pm
by Adendum
Try again. The file size was showing as 40Kb but I just uploaded again and it's showing the correct size now.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Tue Oct 15, 2013 9:59 pm
by Vlastimil
Thanks, It work now.

UPDATE - I download now, but when I show, this is the version 10.0.0.8. Again I got information about update and the same error - download failed.
But in download directory I found php directory listing.zip - when I copied this to extension directory manualy, it`s correct version 10.0.10. But in .zip missong "uwbx" version, that was included with previous versions.
I have too problem with update some next extension (Image Swap Menu and Slide Down Box Men) - do you can please look at viewtopic.php?f=29&t=58576 ?
Thanks

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Wed Oct 16, 2013 11:00 am
by Adendum
Vlastimil wrote:Thanks, It work now.

UPDATE - I download now, but when I show, this is the version 10.0.0.8. Again I got information about update and the same error - download failed.
But in download directory I found php directory listing.zip - when I copied this to extension directory manualy, it`s correct version 10.0.10. But in .zip missong "uwbx" version, that was included with previous versions.
I have too problem with update some next extension (Image Swap Menu and Slide Down Box Men) - do you can please look at viewtopic.php?f=29&t=58576 ?
Thanks
Many of my older extensions were built using earlier versions of Extension Builder. As time passes and updates are made I am ONLY using the latest version of Extension Builder. Therefore [a] no uwbx file is required and you are advised to UNINSTALL previous versions before installing the newer versions.

I will look at the other post and respond in that.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Fri Nov 01, 2013 8:29 pm
by Vlastimil
Hi, I use in one my project many filenames with version info in name. The filenames has named as: File1_version_1.1.pdf, File1_version_1.2.pdf, ... (it`s not only .pfd files).
When I cannot change the file names and must use version numbering for the files, I don`t show this files in directory, because after the first dot in name (version) is for PHP DL not correct extension.
It`s possible made changes to accept dots in filenames and show this files ?
Thanks.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Nov 02, 2013 2:31 am
by Adendum
Technically it is OK to use periods in filenames but I wouldn't recommend it. I wouldn't use ANY special characters personally even though there are only 9 on the keyboard you can't use. The main reason NOT to use multiple periods is because anti virus software hates them.

As for changing the extension to cater for multiple periods in filenames I might be able to do that but I am not sure. However I wont even be able to look at that possibility until December. I am away on holiday from Monday 4th and will not be back until the 15th and then I have two large web projects to work on and I may even have a third so my time will be very limited.

So you'll have to live with the extension as it is for now and until at least early December. However, I would recommend you changed your naming convention.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Nov 02, 2013 10:50 am
by Vlastimil
Thanks, it`s not problem to wait for you time and use this version, I have the same opinion about name conventions as You, bud I am not owner of this files ... Have a nice holliday :D

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Wed Mar 16, 2016 2:08 am
by alex4orly
Hello,

I am trying to use this extension, please have a look at : http://www.semac.org.au/ -> Past Newsletters (last menu option), how can I place the listing further up the page and how can I avoid it showing the folder name at the top

Hope someone can help

Cheers
Alex

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Wed Mar 16, 2016 1:34 pm
by Adendum
alex4orly wrote:Hello,
....how can I place the listing further up the page and how can I avoid it showing the folder name at the top
1. You seem to have worked out how not to show the folder

2. Change the padding from 100px to 10px in the extension and republish. Or manually edit the padding in the published CSS file so you can change the padding for just the top. At the moment the extension uses a CSS statement of padding:XXpx; (where XX is the value you enter into the extension). This causes ALL four borders to use the same padding value. If you change it back to 10px it will fill the page better and will be closer to the top of the page. If you manually edit the css you will need to set padding for all sides e.g. padding:10px 50px 20px 50px; where the sequence is TOP, RIGHT, BOTTOM and then finally LEFT.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Wed Mar 16, 2016 7:53 pm
by alex4orly
Hello Adendum,

1) I didn't manage to remove the directory name, it is still there
2) Not sure which padding should I change, I changed the one in File list container styling from 100 to 10, but that didn't fix it.

I prefer to do it through the system rather than manually edit the source code which I am going by trial and error (mostly error), and will be happy if I can fill up the page better

So, looking forward to your instructions
Cheers

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Wed Mar 16, 2016 8:52 pm
by Adendum
Alex,

Open the extension on your page and look for the setting that has a 100px value in it. If memory serves it is in section F.

But when I look at your site again I see you have already changed it,

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Tue Nov 01, 2016 8:18 pm
by Joseph Lee
Hello everyone,

Wondering if someone can please help me with this script? Can't figure out how to configure it to see the contents folder!

Thread is here:
viewtopic.php?f=5&t=74529&p=372636#p372577

Thank you.

Joseph

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Tue Nov 01, 2016 8:27 pm
by BaconFries
@Joseph Lee This extension thread is unrelated to the one by yourself at the URL you provided. Please do not post questions regarding it here as it is Hijacking this thread... Thank you....Note the extension related to this thread is no longer available by the original poster.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Mar 20, 2017 8:01 am
by alex4orly
Hello Addendum,

Is there a way to get the listing up and have it sorted in descending order, with the need to click on the file name header?

Cheers

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Wed Apr 26, 2017 11:27 pm
by Paul
Where is extension ?

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Thu Apr 27, 2017 12:18 am
by BaconFries
@alex4orly you may not be aware but Adendum may not be offering support on this extension as he has passed it on to forum member CJS who has yet to give a rerelease date and to offer support for it.

@Paul The extension is no longer available from the original developer Adendum as no he longer supports it. It has been passed to another user/member named CJS as of yet he has not re-released it under his name and it may be he won't anytime soon.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Thu Apr 27, 2017 2:26 am
by alex4orly
Hi Baconfries,

Thanks for the comment, I have become aware of the situation recently
Will wait to see ... In hope

Cheers

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Fri Aug 11, 2017 3:51 pm
by BaconFries
Sorry the extension is no longer available to download or supported by the developer anymore.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 14, 2017 8:34 pm
by alex4orly
Try to search for an extension called FolderScan

Good luck

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 14, 2017 8:38 pm
by BaconFries

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Fri Aug 18, 2017 3:32 pm
by alexmasss
You need to specify only the folder name. When uploaded to the server it will look a bit different in comparison with local preview. The only setting is the folder name.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Fri Aug 18, 2017 8:32 pm
by alex4orly
I have one problem with it, when I click on a PDF file (that is the only file type I need in that folder), it comes up with an error instead of open the file to view it, what setting I need to do to change this?

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Aug 19, 2017 12:49 am
by alexmasss
I don' t encounter any problem with it. It works correct for me. It displays the pdf in the browser on desktop and downloads the pdf on smartphone. It depends on the browser you use. It must be a setting on your device, not the extension settings. However i am curious to know what error do you see.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Aug 19, 2017 1:50 am
by alex4orly
Please click on the following URL to see it

I tried with several different browser and the same result, the files are showing in the list but if you click on any file, ....

http://www.nmaa-rc.org.au/dirlist.php

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Aug 19, 2017 7:43 am
by WWBman
There is a fullstop after "dirlist.php" in the links.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Aug 19, 2017 8:10 am
by alex4orly
Yes, I noticed this but I didn't insert it there, have no idea where it comes from

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Aug 19, 2017 8:51 am
by alex4orly
In the single configuration option there is an input field where I tried the following :

./previousnewsletters - this is the one that comes up with a dot...
/previousnewsletters - this one doesn't show the files in the folder, just a list with a date Jan 1st 1970 for all the files, but no file names
.previousnewsletters - this one doen't show anything

So, where can I go from here
The files are in a subfolder under the root named "previousnewsletters"

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Aug 19, 2017 9:07 am
by alexmasss
What happens if you just insert the folder name without points or slashes?

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Aug 19, 2017 9:59 am
by alex4orly
Just uploaded it as you suggest, please see

It converts it to this : http://www.nmaa-rc.org.au/dirlist.phppr ... 013_11.pdf

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Aug 19, 2017 10:26 am
by alexmasss
Strange, it seems to me that you are doing something wrong. Make a page called pdfscan.php drop the extension and set the foldername pdflist ,do not include the pdf in the wbs and upload your test page. Via Filezilla upload the folder pdflist with the pdf files inside to the root, in case the test page is in the root.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sat Aug 19, 2017 8:47 pm
by alex4orly
I always upload the PDF's using FileZilla,
No idea how to make a page that includes your extension without WWB, how do I do that?

Cheers

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Sun Aug 20, 2017 5:55 pm
by alexmasss
As I described you in my previous post, please see the demo http://www.alexmas.cloud/scanfolder
It works both on desktop and mobile. If you want to open the Pdf directly on smartphone you may use Prestigio ebook reader.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 7:03 am
by alex4orly
Alex,

I visited your demo and as expected of course it works fine.
In the previous extension I used with WWB (PHP Directory Listing) which as you probably know is no longer supported, the scrip was placed in the root directory of the website, and the Folder where the PDF files were had to be specified in the extension as "./pdffolder" to indicate that the files are in a directory under the root folder.

With your script, it seems that the script and the PDF files are expected to be in the same sub-directory? or am I wrong.
I tried that too but all that I see is the top and bottom bar of the script without the files listed

I used initially your sample project, then I uploaded the script php file maually... nothing helped - I click on a file and it does NOT open the pdf.
So I will try again :
1) I load the script file called dirlist.php into the root of my website
2) I have the pdf files in a subfolder called "previousnewsletters"

WHat should I configure the scrip to point to? I do it all manually, forget WWB for a moment...

Cheers

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 8:24 am
by alex4orly
I will tell you one more thing, in your example, when I view source of the page there is an item that looks like this

<a href="?dir=folderscan/">
folderscan </a>

On my page, this item does NOT exist... Why?

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 8:30 am
by WWBman
FWIW:
Out of curiosity I replicated your structure in a test folder called dirlist.php under the root and then created the previousnewsletters folder under dirlist.php containing 3 pdf files.
"root"/dirlist.php/previousnewsletters/2013_11.pdf
"root"/dirlist.php/previousnewsletters/2014_01.pdf
"root"/dirlist.php/previousnewsletters/2015_11.pdf

Added the extension to the page (no layers or anything).
Published All to dirlist.php and it worked fine i.e. the pdfs displayed when clicking in the list.
So can you see anything different from yours?
http://wwb.batcave.net/dirlist.php

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 8:49 am
by alex4orly
I must be doing something wrong here, your example works perfectly.
I have the following
root
In there I have all my set files
I also have a file (NOT A FOLDER) called dirlist.php (I renamed what you had in your project as index.php to dirlist.php) becasue my real index.php is something else...
In the configuration of my dirlist.php script, i nominated '.' as the folder location of the script
Now - how do I tell the script WHER / In which folder are my PDF newsletters? there is no configuration for this in the scrip?

1) When you say, "Published ALL, what do you mean? There is only ONE source file dirlist.php
2) In your sample project - there is a FOLDER called "Files" what is this?

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 9:27 am
by WWBman
I mean "Publish all files" in wwb Publish Web Site dialog box.
In your sample project - there is a FOLDER called "Files" what is this?
I don't see this anywhere!! :?

This is my project file, it'll be interesting if you can see any difference to yours.
http://wwb.batcave.net/dirlist.php/PHP% ... 20Scan.wbs

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 9:57 am
by alex4orly
Downloaded your project file, yes - it doesn't have a folder named "Files" in it...
Renamed index.php to dirlist.php - didn't change anything
Uploaded the file disrlist.php and dirlist.css (created by the project) into the folder "previousnewsletters"

Have a look what I get : http://www.nmaa-rc.org.au/previousnewsl ... irlist.php

All the PDF files are in that same folder, but none shows in the list

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 10:50 am
by WWBman
I don't understand why you have now created previousnewsletters in the root.
Just as a test, create a folder in the root called test1 (or anything else).
Use my project asis and publish all files to test1 using the built-in wwb publish.
Create a folder in test1 called previousnewsletters.
Copy some pdf files to previousnewsletters.
See if that works.
I guess the problem may be where you put the html and folders and what they are called.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 11:15 am
by alex4orly
I don't have a html
I have dirlist.php which is renamed from your index.php

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 11:20 am
by WWBman
I meant html genericly.
If you have time just try my project and if that works for you then it must be the placement/naming of your html/files/folders.
I realise the time difference between us!

EDIT:
I reckon the problem is with the file dirlist.php; rename it to anything else.
Or, I would rename the folder to dirlist instead of dirlist.php.

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 9:50 pm
by alex4orly
Hello again,

It finnaly got to me what the problem is - the file MUST be called index.php, this is the only way way you can point to a folder and it will start that page by default, I realized it from your examples - in those examples there is a url that has in it only the folder, without pointing to a filename.php.

So here it is : http://www.nmaa-rc.org.au/news/

And becasue I can't have 2 files with that name in the root / home folder, it MUST be placed into its own folder and within that folder make a subfolder where the files are stored, and specify that subfolder name in the top configuration option of index.php

Questions :

1) How do I change the default sorting to be decending?
2) How to make the columns width to be fixed, not stretch to the full width of the screen?

Cheers

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME

Posted: Mon Aug 21, 2017 10:30 pm
by WWBman
Excellent, glad you got it working.
Alas, I can't answer your 2 questions.