CodeCanyon

PHP Site Map (and Google Sitemap)

  • Has been a member for 3-4 years
  • Bought between 100 and 499 items
  • United Kingdom
jamiemscott says
Purchased

Hi, I’m getting the same Invalid argument supplied for foreach() error as the user Pinkfoot.

it’s throwing up the error for this line of code…

// the below is very simple, it just finds all the files and folders within a // specified directory. if($directory){ $directory = rtrim($directory,'/') . '/'; } foreach(glob($directory."*") as $f){ if(is_dir($f)){

Any ideas?

Other than that, awesome script!

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

Ok problem fixed, if anyone is having this problem look at what folders you’ve forgotten to exclude. Each one of my errors was down to a folder like cgi-bin not being on the exclude list.

Excelent script btw, worth buying for your tool box all day long!

2 years ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
reisberg says

Hi, I apologize if this question has been answered, but does this work for Wordpress?

Thank you.

2 years ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 50 and 99 items
relvinnian says
Purchased

This is an flawed product for two reasons:

1. pregmatch directory hiding means that you cannot easily exclude directories that are named something that might cause exclusion of other relevant files. For example if you keep your apache error pages in an “error” directory, this will hide the directory fine. However, if you have another file (unrelated) named error.php, it will hide this too. This is unacceptable.

2. No GUI . While using regex exclusions is fairly easy to set up, it’s inconvenient, and it going to be confusing for noobs.

I think with a GUI and a more sophisticated engine, CodeCanyon would have priced this at $10 and you’d probably have just as many sales. I know I would buy it.

8 months ago
Author
dtbaker dtbaker replied

Thanks for your feedback.

You may try a regex such as #error/# to hide the folder named “error” and its contents, while leaving “error.php” displaying in the results.

8 months ago
  • Has been a member for 1-2 years
  • Bought between 50 and 99 items
  • Canada
claudeabandonato says
Purchased

Hi dtbaker,

Great script, very nice.

But i have a few problem with due probably with my poor knowlegde.

My first problem is if i have a fo;der with index.php. it’s show on the sitemap index.php instead of the name of my folder.

Second i have problem to hide folder like ’’ lib ’’.

If you have a time, i will need your help please.

7 months ago
Author
dtbaker dtbaker replied

Hello,

You can submit your support request at http://support.dtbaker.com.au along with your FTP details so we can implement this for you.

Most likely index.php does not have a page title that the script can fine.

Thanks, dtbaker

7 months ago
  • Has been a member for 1-2 years
  • Bought between 50 and 99 items
  • Canada
claudeabandonato says
Purchased

Hi dtbaker,

I found the way to hide folder, but still have problem with folder with index_php, who show the same name for the folder.

Still need your help on this please

7 months ago
Author
dtbaker dtbaker replied

Please submit a support ticket to http://support.dtbaker.com.au with your FTP details and an explanation of what you are trying to achieve. We do not check these item discussion comments often.

Thanks, dtbaker

7 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
  • United Kingdom
scarabsweepers says
Purchased

Brilliant script , would love to see a choice of templates the current layout is a little bit long if you have many folders/links.

7 months ago
Author
dtbaker dtbaker replied

Glad you like it

6 months ago
by
by
by
by
by