AutoGallery SQL includes a gallery scanner which you can run at any time to check up on the galleries in your database. You can have multiple configurations
of the gallery scanner, and it can be started through the control panel or by using cron.
Before you use the gallery scanner, you will need to configure it through the control panel. Locate and click on the Gallery Scanner link in the
Submitted Galleries section of the control panel menu. AutoGallery SQL will load a page where you can configure how you want the gallery scanner to run.
Indentifier - A short identifier for the configuration you are working with
Galleries To Scan - Select what galleries in the database you want to scan
When scanning is complete - Select if you would like to be e-mailed and have the TGP pages rebuilt when scanning is complete
Galleries without preview thumbnails - Check this if you want a preview thumbnail created for galleries without one
Each of the remaining options are used to determine what happens to a gallery when it breaks the specified rule. You have 4 options of what to
do with galleries that have broken a rule.
Ignore - The gallery will not be changed and will not appear in the gallery scanner report
Display In Report Only - The gallery will not be changed, but you will see it in the gallery scanner report
Change Status To Pending - The gallery status will be changed to pending so you can review it
Delete Gallery From Database - The gallery will be deleted from the database
Delete Gallery and Blacklist It - The gallery will be deleted and the URL, e-mail address, and submit IP will be blacklisted
Once you have everything set how you want it, press the Save button. To load or delete a previously existing configuration, select it from the
drop down list and press the appropriate button.
Scanning Permanent Galleries
The scanner gives you the option to scan permanent galleries, however the scanning on permanent galleries is done a little differently than
with regular submitted galleries. When scanning permanent galleries you will still have the ability to create thumbnails for them, update the
TGP pages when the scan is complete, send you an e-mail when the scan is complete, and check for both connection errors and broken URLs. The
scanner will not check the following items for permanent galleries:
Change in thumbnail count
Page changed since submission
If you select an action other than "Ignore" for one of the above items when scanning permanent galleries, it will simply be ignored. For the
other options you can only select "Ignore", "Display in report only" or "Delete gallery from database" options. The other options will have
not have the affect that they describe.
Starting Through Control Panel
To start the gallery scanner through the control panel, locate and click on the Gallery Scanner link in the Submitted Galleries section of the
control panel menu. At the bottom of the page you will see the Run Gallery Scanner box. Simply select the configuration that you want to run
from the drop down menu, and press the Start button. A window will pop-up indicating that the gallery scanner has been started.
You may start multiple configurations at once, but if you start the same configuration of the gallery scanner that is already running, the old one
will be stopped and the new one will start from the beginning.
To check the status of the gallery scanner, locate and click on the Gallery Scanner link in the Submitted Galleries section of the
control panel menu. At the bottom of the page you will see the Run Gallery Scanner box. Simply select the configuration who's status you are interested
in from the drop down menu, and press the Check Status button. A window will pop-up with information on where the gallery scanner is in it's progress.
Starting Through Cron
Please see the Cron
section of the manual.
Using Proxy Servers (Highly Experimental)
In the 3.1.0 version of AutoGallery SQL the ability to scan galleries through proxy servers was added. This feature is considered highly experimental and
is not recommended for average users. It is also highly recommended that you do not set the gallery scanner to automatically delete galleries when using
this feature, as it may cause mass deletions of galleries from your database. Only limited technical support is available for this feature at this time.
Proxy servers allow you to route the connection from your server to the gallery through an intermediate server, which in turn blocks the IP address of your
server from being recognized by the remote server that is hosting the gallery. This can be very useful, as some cheaters have now setup systems that will
automatically direct specific IP addresses to a working gallery, while all others are directed to pages that break your rules. Using proxy servers should
assist you in locating these types of cheaters.
If you plan on using this feature, you will first need to locate one or more working proxy servers that you are allowed to use. While there are many sites
on the internet that offer lists of open proxy servers, we recommend against using those because they are generally very unstable and can go offline at any
moment. It is highly recommended that you only use proxy servers that you know will be online 24 hours a day and are very stable.
Once you have located one or more proxy servers that you can use, you will need to create a text file named proxies.txt. This file should contain one proxy
per line, with the format IP_ADDRESS:PORT. IP_ADDRESS is the IP address of the proxy server, and PORT is the port number of the proxy server. For example,
your proxies.txt file might look like this:
After you have entered all of your proxy servers in this file, upload it to the data directory of your AutoGallery SQL installation in ASCII mode and set it's
permissions to 644. You now need to edit the scanner configuration file for the gallery scanner configuration that you want to use proxies. Login to your server
through FTP and change into the data/scanner directory of your AutoGallery SQL installation. Locate the file that has the same name as the gallery scanner
configuration that you want to use proxies. Download that file in ASCII mode and open it in a text editor. At the top of that file add the following line:
You can then save the scanner configuration file and upload it back to your server in ASCII mode, replacing the existing copy. If you want to stop using the proxy
feature, simply load the gallery scanner configuration through the control panel and save it without making any changes. Note that if you make changes to the gallery
scanner configuration through the control panel, you will need to modify the configuration file again if you want it to use proxies.
Once the scanner configuration file has been updated, you are ready to go. Any time that you run the gallery scanner with that configuration it will now use
the proxies in the proxies.txt file. For each gallery that is scanned a random proxy will be selected from those available in the proxies.txt file.