Recent Posts

Pages: 1 [2] 3 4 5 6 ... 10
11
Feedback & Suggestions / Re: 4images 1.10 - Feedback
« Last post by Sunny C. on June 30, 2024, 08:33:59 AM »
Danke für das Feedback, wir prüfen das.

Das habt ihr bis heute nicht... Ich denke so wird das auch mit Github nichts werden. Wie man sehen konnte gab es doch den ein oder anderen User der an der Software Interesse hat. Ich habe ein komplett modernes Design Frontend/Backend erstellt gehabt; war und bin aber auch nicht mehr bereit dies zur Verfügung zu stellen.
12
Feedback & Suggestions / Re: 4images 1.10 - Feedback
« Last post by Przemek on June 12, 2024, 01:47:03 PM »
Is this another way to put safe links in category description?
Description for this category is:
Code: [Select]
[url=https://transportnews.eu/tabor/autobusy/niskopodlogowe-2000/mercedes-citaro-g]Zobacz opis autobusu[/url]
And this is results:
https://fotogaleria.transportnews.eu/categories.php?cat_id=19
13
Feedback & Suggestions / Re: 4images 1.7.12 - Feedback
« Last post by Jan-Lukas on May 29, 2024, 07:05:03 PM »
Aehnliches Problem nach dem update auf 1.7.12:
Objekt nicht gefunden! Der angeforderte URL konnte auf dem Server nicht gefunden werden. Der Link auf der verweisenden Seite scheint falsch oder nicht mehr aktuell zu sein. ...

url-string beim Bild bearbeiten:
http://archiv.wameru.net/admin/index.php?goto=images.php%3Faction%3Deditimage%26amp%3Bimage_id%3D2887
fuehrt zur Fehlermeldung!

die gleiche funktion aus dem admin-Bereich:
http://archiv.wameru.net/admin/images.php?action=editimage&image_id=2887
funzt!

Sollten die links nicht gleich sein?
Hab zur Sicherheit eine Testinstallation durchgefuehrt,
mit gleichem Effekt.

Hat jemand eine Idee?

Gruss,
tw
 :(

hatte ich auch, liegt an der admin/Index.php
da wird ja aus "framesrc"  in "urlencode($framesrc)" geändert
ändere es in      <frame src="<?php echo str_replace("javascript:", "", (strip_tags($framesrc))) ?>" name="main" scrolling="auto" NORESIZE frameborder="0" marginwidth="20" marginheight="20" border="no"
14
Feedback & Suggestions / Re: 4images 2
« Last post by Jan-Lukas on May 02, 2024, 09:30:34 PM »
Hallo guten Tag,
ich hatte 4images unter damals Free Ecards jahrelang gehabt und benutzt. Und es war soweit gut.
Was ich bitte bräuchte ist ein RESPONSIVES Grußkartenscript. Geht das?
Ich bin kein Entwickler oder so. Was kann ich machen um ein responsives Script zu bekommen?
Bitte hilft mir jemand.
Ganz lieben Dank!
Gruß Wally

Evtl. hier Posten
https://www.4homepages.de/forum/index.php?board=26.0
15
Feedback & Suggestions / Re: 4images 2
« Last post by wally on April 30, 2024, 04:46:17 PM »
Hallo guten Tag,
ich hatte 4images unter damals Free Ecards jahrelang gehabt und benutzt. Und es war soweit gut.
Was ich bitte bräuchte ist ein RESPONSIVES Grußkartenscript. Geht das?
Ich bin kein Entwickler oder so. Was kann ich machen um ein responsives Script zu bekommen?
Bitte hilft mir jemand.
Ganz lieben Dank!
Gruß Wally
16
Error Messages / Fehlermeldungen / Error 4images 1.10 on php 8.1 (rss item)
« Last post by Murat on April 23, 2024, 02:21:55 PM »
Hello. I am using 4images 1.10. PHP 8.1 is installed on my website (ubuntu 22.04.4) All php plugins are active.

The rss on the photos at ./rss.php?action=comments&amp;image_id=1 is working. However, if there is a comment on the photo, the page RSS does not work. It gives the following error.

Code: [Select]
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /../public/4imag/rss.php:309 \nStack trace:\n#0 {main}\n thrown in /../public/4imag/rss.php on line 309'
I did a clean install. The result did not change. The RSS feed of a commented page works in PHP 7.4, but it does not work in PHP 8.1, but it works if the photo is not commented on.

The 309th line of rss.php where the error occurs is as follows:

Code: [Select]
if (@count($item['enclosure']) > 0) {
We would appreciate it if you make it compatible with PHP 8.1. I wish you good work.

By the way, off topic; I became a 20th anniversary user after 1 month :) (2004-2024, I met you when you were 23 years old. I turned 43 years old.)

https://www.4homepages.de/forum/index.php?action=profile;u=7752


17
Feedback & Suggestions / Re: 4images 2
« Last post by kai on April 18, 2024, 02:02:38 PM »
the 4images code is now on GitHub:
https://github.com/4images/4images

We invite all developers to work on 4images, make inprovements and develop it further.
18
News & Announcements / 4images code on GitHub
« Last post by kai on April 18, 2024, 01:59:26 PM »
We published the code of the latest version 1.10.0 of 4images on GitHub:
https://github.com/4images/4images

With this we invite all developers to work on 4images and develop it further. :)
19
Und was macht man da dann genau?
20
Open: categories.php
Search
Code: [Select]
"cat_description" => htmlspecialchars(format_text($cat_cache[$cat_id]['cat_description'], 1, 0, 1)),Add after
Code: [Select]
"cat_second_description" => htmlspecialchars(format_text($cat_cache[$cat_id]['cat_second_description'], 1, 0, 1)),
Open: global.php
Search
Code: [Select]
$sql = "SELECT cat_id, cat_name, cat_description,find and Replace
Code: [Select]
cat_description,With
Code: [Select]
cat_second_description,
Open: rss.php
Search
Code: [Select]
$rss_desc  = format_rss_html($cat_cache[$cat_id]['cat_description']);Replace with
Code: [Select]
$rss_desc  = format_rss_html($cat_cache[$cat_id]['cat_description']."\n".$cat_cache[$cat_id]['cat_second_description']);
Open: admin/categories.php
Search
Code: [Select]
$cat_description = un_htmlspecialchars(trim($HTTP_POST_VARS['cat_description']));Add after
Code: [Select]
$cat_second_description = un_htmlspecialchars(trim($HTTP_POST_VARS['cat_second_description']));
Search
Code: [Select]
$sql = "INSERT INTO ".CATEGORIES_TABLE."Find
Code: [Select]
(cat_name, cat_description,Replace with
Code: [Select]
(cat_name, cat_description, cat_second_description,Find
Code: [Select]
('$cat_name', '$cat_description',Replace with
Code: [Select]
('$cat_name', '$cat_description', '$cat_second_description',
Search
Code: [Select]
show_textarea_row($lang['field_description_ext'], "cat_description", "", $textarea_size);Add after
Code: [Select]
show_textarea_row("Second ".$lang['field_description_ext'], "cat_second_description", "", $textarea_size);
Search
Code: [Select]
$cat_description = strip_tags(un_htmlspecialchars(trim($HTTP_POST_VARS['cat_description'])), '<div><p><a><strong><bold><i><em><u><h1><h2><h3><h4><h5><h6><span>');Add after
Code: [Select]
$cat_second_description = strip_tags(un_htmlspecialchars(trim($HTTP_POST_VARS['cat_second_description'])), '<div><p><a><strong><bold><i><em><u><h1><h2><h3><h4><h5><h6><span>');
Search
Code: [Select]
        $sql = "UPDATE ".CATEGORIES_TABLE."
            SET cat_name = '$cat_name', cat_description = '$cat_description',
Replace with
Code: [Select]
        $sql = "UPDATE ".CATEGORIES_TABLE."
            SET cat_name = '$cat_name', cat_description = '$cat_description', cat_second_description = '$cat_second_description',

Search
Code: [Select]
    $cat_id = (isset($HTTP_POST_VARS['cat_id'])) ? intval($HTTP_POST_VARS['cat_id']) : intval($HTTP_GET_VARS['cat_id']);

    $sql = "SELECT cat_name, cat_description,
Replace with
Code: [Select]
    $cat_id = (isset($HTTP_POST_VARS['cat_id'])) ? intval($HTTP_POST_VARS['cat_id']) : intval($HTTP_GET_VARS['cat_id']);

    $sql = "SELECT cat_name, cat_description, cat_second_description,

Search
Code: [Select]
show_textarea_row($lang['field_description_ext'], "cat_description", $cat_row['cat_description'], $textarea_size);Add after
Code: [Select]
show_textarea_row("Second ".$lang['field_description_ext'], "cat_second_description", $cat_row['cat_second_description'], $textarea_size);
Search
Code: [Select]
    if (isset($HTTP_GET_VARS['closeall'])) {
        $open_all = false;
        $GLOBALS['map'] = array();
    }

    $sql = "SELECT cat_id, cat_name, cat_description,
Replace with
Code: [Select]
    if (isset($HTTP_GET_VARS['closeall'])) {
        $open_all = false;
        $GLOBALS['map'] = array();
    }

    $sql = "SELECT cat_id, cat_name, cat_description, cat_second_description,

Search
Code: [Select]
        if (!$show_all_subcats && !$open_all) {
            $where_sql = "WHERE cat_parent_id IN (".implode(", ", $GLOBALS['map']).")";
        }
        $sql = "SELECT cat_id, cat_name, cat_description,
Replace with
Code: [Select]
        if (!$show_all_subcats && !$open_all) {
            $where_sql = "WHERE cat_parent_id IN (".implode(", ", $GLOBALS['map']).")";
        }
        $sql = "SELECT cat_id, cat_name, cat_description, cat_second_description,

Open: includes/functions.php
Search
Code: [Select]
"cat_description" => htmlspecialchars(format_text($cat_cache[$category_id]['cat_description'], 1)),Add after
Code: [Select]
"cat_second_description" => htmlspecialchars(format_text($cat_cache[$category_id]['cat_second_description'], 1)),
Open: templates/your-template/categories.html
Search
Code: [Select]
                          <br>{cat_description} (Hits: {cat_hits})
                          <hr size="1" />
Replace with (or set {cat_second_description} at a desired position)
Code: [Select]
                          <br>{cat_description} (Hits: {cat_hits})
                          <hr size="1" />
                          {cat_second_description}
                           <hr size="1" />

Open: templates/your-template/category_bit.html
Search
Code: [Select]
{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}Add after
Code: [Select]
{if cat_second_description}<span class="smalltext">{cat_second_description}</span><br />{endif cat_second_description}
And then a new column needs to be added in phpMyAdmin.

  • Open: phpMyAdmin
  • Select your database
  • Click on SQL at the top
Enter there
Code: [Select]
ALTER TABLE 4images_categories
ADD COLUMN cat_second_description VARCHAR(255) NOT NULL;
Click OK
Pages: 1 [2] 3 4 5 6 ... 10