Scans and create missing index files in your xoops installation
Note.: Php 5 Required
New in 2.03
- Check web files against checkfile with xoops file names and filter with allowed extensions in config. Red colored showing files not equal to the settings allow manuel delete using ajax+jquery to prevent page reload.
- Create backup containing only empty folders, index.html files and download as zip.
Changes in 2.03
- Added possibility to check files in webfolders against xoops check file and filter from Config. Filter separates extensions of files presumed to be ok.
- Files found in check files marked red are presumed not to be part of Xoops, and can be deleted by the 'delete icon' using ajax + jquery avoid reloading the page.
- Added the PclZip.Class to create zip file on the fly for users not having php > 5.20.
- Scan to create back up from the folders residing in the admin/folder2backup. The scan creates a copy of the empty folders, existing index.html, index.php, index.htm files, delete all other files, creates new indexfiles, and create link to download as zip. Handy when working with developing and want to create a zip with nothing but index files.
I tested with htdoc from Xoops 2.4.4 in a Wamp, creation time is aprox. 2 minutes. Not tested in real server yet, but time must be considerble.
- New language defines are
(modinfo.php)//Added in 2.03
define ("_MI_INDEXSCAN_ILLEGALFILETYPES", "Skip file types."); define("_MI_INDEXSCAN_ILLEGALFILETYPES_DESC","Add files you wish to skip while 'checking files'.
These files will be considered 'safe'
if they also are listed in the file 'admin/filecheck.txt'."); define("_MI_INDEXSCAN_FROMBACKUP", "Create file zip");
define ("_MI_INDEXSCAN_FROMBACKUP_DESC", "Creates a zip archieve with same folder structure from the folder you ftp to folder2backup.
The zip contains nothing but the folders and,
index.html files where missing from
your uploaded folder.
The folder name is the name of the folder in your folder2backup folder, for instance 'testing'.
You can delete 'testing' this folder is only for example.");
(admin.php)
// Added in 2.03
define ("_AM_INDEXSCAN_CHECKILLEGALFILES","Check files");
define ("_AM_INDEXSCAN_SCANNING4ILLEGALFILES", "Scanning web files"); define("_AM_INDEXSCAN_MAYBEOK", "Looks to be ok"); define ("_AM_INDEXSCAN_NOTINXOOPSINSTALL", "Not Xoops file"); define ("_AM_INDEXSCAN_FINISDILLEGAL", " files found that are not Xoops files. Total files scanned: "); define ("_AM_INDEXSCAN_ILLEGAL_DESC", "The file found Not to be Xoops files, are checked against checkfile.txt in admin folder, and agains files in config defined as allowed file types.
These files could be unwanted tmp, thumbs.db, or info files.
If you you dont need these files add them to automaticly delete in config and they will be deleted when you run this scan next time.");
Download from culex.dk
or from sourceforge
Index Scan module 1.0 Beta released
An updated version of my first script Culex Dj rotator, now named only Onair.
I have cleaned up my code and most are rewritten to match the xoops standards. This module is originally written to use with radio, to show who is online (picture, start & end, name, title of show & what song is playing) & who is on next with same details.
Use this as a banner rotator, to show your schedule, movies in tv or what ever you want to show on your frontpage on a timed basis.
Also I added the ability to link on to a more detailed description of the event as well as the ability to add dated playlists.
Så skete det igen. En ubehagelig slemrian fik den vidunderlige ide, at jeg da helt sikkert manglede en 20-25 javascript inserts der henviste til en (tror det var en ejendomsmæler portal) side.
Nå! Men det var der så ikke så meget at gøre ved andet end at lukke siden ned og ellers begunde at rydde ulydig kode fra siderne.
Systemet er nu opdateret til en ny Xoops 2.3.3, og ved samme lejlighed opdagede jeg at indstillingerne på one.com stod til Php4 og register globals ON.... så fik jeg da det rettet også, og nu håber jeg bare at jeg kan holde de skumle typer lidt væk fra siden så jeg ikke skal begynde på det her cirkus igen (backup er forøvrigt en glimragende ide)
Alle konti, billeder mm. er oprettet igen, men nogle dele er ikke helt klar endnu som f.eks. spil sektionen
|
BorderMaker demo usage
(28/07/2011)
|