Recent Posts

Pages: [1] 2 3 4 5 ... 10
1
Discussion & Troubleshooting / prepend_head_title in eigenen Seiten
« Last post by php8 on January 28, 2023, 07:25:19 PM »
Hallo,

wie kann ich in 4images 1.0 bei eigenen Seiten einen individuellen Seitentitel angeben, der im Template templates/<templatename>header.html von {prepend_head_title} dann auch entsprechend gepared wird?

Ich habe zwei Arten von Seiten:

1)
eigene_seite.php

Mein Versuch bestand darin, im Bereich "Print Out" das "site_template" direkt um
 "prepend_head_title"        =>  "Seitentitel - ",
zu erweitern.

2)
index.php?template=seitenname mit gleichnamiger html-Datei in templates/<templatename>, deren Header allerdings via {header} eingebunden ist.
Hier sehe ich ?berhaupt keine Option, einen custom_title mitzugeben?

LG.
2
Feedback & Suggestions / 4images 1.10 - Feedback
« Last post by kai on January 23, 2023, 05:06:47 PM »
Please use this thread for feedback and comments about the 4images 1.10 release.
For general bug reporting and troubleshooting please use this forum.

Bitte nutzt diesen Thread fuer Feedback, Kommentare und Anregungen zum 4images 1.10 Release.
Fuer allgemeine Bug Reports und Troubleshooting bitte dieses Forum nutzen.
3
News & Announcements / Re: 4images 1.10
« Last post by kai on January 23, 2023, 05:04:43 PM »
=========================================================
ChangeLog Version 1.10
=========================================================
- Added ability to ignore images on "Validate images" page
- Fixed wrong results when searching on "Edit images" page (thanks to kp, https://www.4homepages.de/forum/index.php?topic=33113.0)
- Fixed error when checking for new images in currently empty categories (thanks to kp, https://www.4homepages.de/forum/index.php?topic=33113.0)
- Fixed missing functions for error output in install.php (thanks to qBass17, https://www.4homepages.de/forum/index.php?topic=33114.0)
- Fixed incomplete downloadable configuration file in install.php
- Fixed uncaught file system permission error in install.php
- Fixed error when logging in with invalid credentials
- Fixed several warnings related to undefined variables
- Security fix for XSS in category descriptions (thanks to rishaldwivedi)
- Security fix for XSS in /admin/index.php login (thanks to Piyush Patil)
- Security fix for SQL injection in /admin/images.php (thanks to Andrey Stoykov)
- Disabled PHP execution in templates by default and added notice to update docs (thanks to Andrey Stoykov)
- Added notice about MySQL 8.x not being supported to installation docs
4
News & Announcements / 4images 1.10
« Last post by kai on January 23, 2023, 05:03:51 PM »
:flag-en: The new version 4images 1.10 has been released. This release brings a bunch of bug fixes and improvements.
We recommend all users to update to the current version. All changes and features are listed in "docs/Changelog.txt".

:flag-de: Die neue Version 4images 1.10 wurde veroeffentlicht. Das Release beinhaltet einige Bug fixes und Verbesserungen.
Wir empfehlen allen Nutzern ein Update auf die aktuelle Version. Alle Aenderungen und Features sind in der Datei "docs/Changelog.txt" aufgelistet.

Download:
https://www.4homepages.de/download-4images

Demo:
https://www.4homepages.de/demo


Please use this thread for feedback about the 4images 1.10 version.

F?r Feedback zur 4images 1.10 Version bitte diesen Thread nutzen.
5
Bug Fixes & Patches / Re: MAIN_SCRIPT error (with fix) on 1.9 on PHP 8.1.12
« Last post by kai on January 13, 2023, 08:17:00 AM »
Yes, this will be fixed in the next version.
6
I'd like to have each member have access to upload only to their member category and not to other members categories. Is this currently possible?
7
Bug Fixes & Patches / MAIN_SCRIPT error (with fix) on 1.9 on PHP 8.1.12
« Last post by abda53bd on January 12, 2023, 09:25:08 PM »
PHP Fatal error:  Uncaught Error: Undefined constant "MAIN_SCRIPT" in includes/page_header.php:83

I get this error after creating a new account on a new install and trying to log in.

Fix:
file: global.php
line 27 add:


if(!defined(&#39;MAIN_SCRIPT&#39;)){
	
define(&#39;MAIN_SCRIPT&#39;, __FILE__);
}


It's possible this only happens on non-verified accounts
8
News & Announcements / Re: 4images 1.9
« Last post by kai on December 30, 2022, 02:20:04 PM »
thanks for reporting!

We will review the issues and fix them in the next release.
9
Bug Fixes & Patches / Re: PHP 8 Fix for V1.9
« Last post by kp on November 01, 2022, 12:55:10 PM »
Found a new PHP8 bug in this version.
By using the admin-function "Edit images" (German: Bilder bearbeiten) the result is strange when there are no filters set. Sometimes I got 0 images, sometimes 5000 sometimes all of them. This comes from the new handling in misusing a compare of string with an integer.

A fix you can find here: https://www.4homepages.de/forum/index.php?topic=33113.new#new
10
News & Announcements / Re: 4images 1.9
« Last post by kp on November 01, 2022, 12:52:47 PM »
Found another PHP8 bug in this version.
The admin-function "Edit images" (German: Bilder bearbeiten) the result is strange when there are no filters set. Sometimes I got 0 images, sometimes 5000 sometimes all of them. This comes from the new handling in misusing a compare of string with an integer.
The problem is in the file admin\images.php at line 664.
Here you have to change
if ($image_id != "") {
to
if ($image_id != 0) {

If you aren't experienced enough to change this, you can load my attached fixed file and replace it at your webspace.
Would be cool if the 4images guys could add this fix to there 1.9(.1) package.
Pages: [1] 2 3 4 5 ... 10