A PHP web gallery minigal.de Trustcheck Seal  
:: Home
:: Changelog
:: Download
:: Getting Started
:: FAQs
:: Screenshots
:: Demo
::   v0.2.4
::   v0.3.5
::   v0.4.5
::   v0.4.5 (lightbox)

:: Contact

Random Picture


Valid XHTML 1.0 Transitional

Valid CSS!

FAQs    Deutsch
 
1. How can you hide/lock a folder or image from users?
Therefor you only have to enter a negative value for the folder or image option "Position". Locked folders and images are displayed with a red background in the table view of the admin area.
 
2. How can you display a folder or image on a determinate date?
That will be done in the folder and image editor as well. Do just enter an appropriate date for the option "Publishing". That's it. Then, in the table view, you will see this folder or picture with a yellow background.
 
3. Does a locked folder also lock all contained sub folders?
Yes, it does.
 
4. Does the password protection of a folder apply also to the contained sub folders?
Yes, if "Folder passwords include sub folders (gallery)" is selected in the menu "Options", tab Settings.
 
5. Although the sorting is set on 'date' in the folder editor, all folders are sorted by their names!
That's because the option 'Force all folders sort by' is set to 'Name', menu "Options", tab Settings. If you set it to 'Folder setup' instead of 'Name', the sorting will occur accordingly to the folder settings.
 
6. After the update to kh_mod the descriptions of pictures are displayed without blank line directly under the picture!
In order to change the position of the description text, you can edit the class "description" in the file /skins/.../css/style.css of your used skin.
If you want to change the distance between all pictures and the description text, then do insert into the last line of the class "description" the CSS instruction margin-top with an appropriate value, e.g.:
.description {
      .
      .
      .
   margin-top: 1.3em;
}
 
7. I have forgotten my password, how do I get back access to the admin area?
There are two possibilities:

1) Add in the second last line of the file mg2_settings.php or data/mg2db_settings.php on your webserver the variable "$mg2->password" with their default value, e.g.:
   .
   .
   .
   $mg2->inactivetime = 15;
   $mg2->extendedset  = 252;
   $mg2->modversion   = "0.3.4";
   $mg2->installdate  = "1209401823";
   $mg2->password     = "29a15d03ea65ee5770adae9477bd0f56";
?>
Now you can log in again with the password 1234 and set a new one in the menu Settings.

2) Delete the file mg2_settings.php or data/mg2db_settings.php on your webserver. This should automatically call the gallery installation script (mg2_install.php). There you can set a new password. However, with this method, all global settings for the gallery are lost.
 
8. It can't be posted very brief comments, it always appears an error message.
Die Ursache hierfür liegt bei der JavaScript-Verifizierung in der Datei 'mg2_jsformvalid.php' Zeile 11:
  11:	objForm.body.regexp = /([-\w<?php echo $this->lang['specialchars'];?>]{3,12}[\s\?\.,;:!]+){2,}/;
Hierdurch werden mindestens zwei Wörter mit je drei Buchstaben und einem Satzzeichen als gültige Eingabe verlangt. Sie können die Zeile ganz löschen oder die Anforderung z.B. auf ein Wort mit Satzzeichen verringern:
  11:	objForm.body.regexp = /([-\w<?php echo $this->lang['specialchars'];?>]{3,12}[\s\?\.,;:!]+){1,}/;
 
9. It can't be posted comments with special characters.
Das kann daran liegen, dass die Zeichencodierung von Dateien geändert wurde. Dies kann sowohl beim Speichern mit einem Editer, der den verwendeten Zeichensatz nicht unterstützt, geschehen. Aber auch durch den Webserver oder das FTP-Programm.

Zur Kontrolle laden Sie die Sprach-Datei 'xx_XX.gallery.php' von kh_mod auf Ihren lokalen Rechner. Öffnen Sie diese mit einem Editor, der zumindest utf-8 und ISO 8859-1 unterstützt, z.B. Notepad++ In 'xx_XX.gallery.php' muss die Zeile 31 z.B. für Französisch (fr_FR.gallery.php) wie folgt aussehen:
  31:	$mg2->lang['specialchars'] = "éèêàÉÈÊÀ";
oder z.B. für Schwedisch (sv_SE.gallery.php):
  31:	$mg2->lang['specialchars'] = "åÅäÄöÖ";
Sollten dort keine Umlaute, sondern irgendwelche kryptischen Zeichen stehen, so korrigieren Sie die Zeilen entsprechend. Speichern Sie dann die Dateien und kopieren Sie sie wieder auf Ihren Webserver.