Recent posts - Page 3 Recent posts - Page 3
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Recent posts

#21
cpg1.6 upgrading / Re: Upgrade from 1.6.12 to 1.6...
Last post by phill104 - February 02, 2025, 06:44:08 PM
You should be fine with whatever is normally shipped with your servers build that runs PHP 8.2. That could be MariaDB or MySQL etc.  As always, make sure you backup files and database berfore starting the upgrade.
#22
Feature requests / Re: search within comments
Last post by statek - January 31, 2025, 06:47:22 PM
I also didn't find solution on CPG forums so I've set Google Programmable Search Engine and paste html code in search.php on my foto gallery.

#23
cpg1.6 upgrading / Re: Upgrade from 1.6.12 to 1.6...
Last post by JPNARF - January 30, 2025, 03:52:41 AM
#24
cpg1.6 plugins / Re: MOVED: Suppressor Plugin...
Last post by 406man - January 28, 2025, 12:29:39 PM
I've updated the plugin which can be found in the new forum here:

https://coppermine-gallery.com/forum/index.php/topic,80717.0.html
#25
cpg1.6 plugin contributions / Suppressor Plugin V1.2
Last post by 406man - January 28, 2025, 12:27:26 PM
I've upgraded the Suppressor plugin with some major new features and released it as version 1.2.  In broad terms the new features allow display or suppression of various fields for a particular album. Previous versions only suppressed various fields for the whole gallery.

The first new feature involves, depending on how the gallery is configured, either display of uploader name or suppressing the display of uploader name for a particular album.

A little more explanation. One of the gallery configuration settings in the Thumbnail View section is "Display uploader name below the thumbnail". As it says, this will display the uploader name below each thumbnail  in the thumbnail display screen. The setting applies to all albums so if you, for example set the checkbox, it's not possible to have an album where the name of the uploader isn't displayed. It's either displayed on all albums or none of them. Similarly, if you don't set the checkbox it's not possible to have an album where the name of the uploader is displayed.

Suppressor Version 1.2 implements its functionality using the Keyword field for an album. If you have a gallery where uploader name is normally displayed and the keyword NOUPLOADER is included in the Keyword field the uploader name will be suppressed for that album. Similarly, if you have a gallery where uploader name is not normally displayed and the keyword UPLOADER is included in the Keyword field the uploader name will be displayed for that album. Where a gallery has multiple keywords the standard keyword separator is the ";" character. Although the gallery configuration allows this to be changed it's recommended to leave it as it is.

Note that on the image Display screen the name of the uploader is always displayed if the "File information is visible by default" configuration option has been checked in the "Image View" section of the gallery configuration. It isn't impacted by the "Display uploader name below the thumbnail" configuration setting  described above. The suppressor plugin V1.2 will suppress display of uploader name for any picture in a particular album if the NOUPLOADER album keyword is set.

The other new feature involves suppressing the display of image EXIF information. This is enabled in the Image Settings section of the gallery configuration using the "Read EXIF data from JPEG files" setting. By adding NOEXIF to the album keyword field this display can be suppressed. At the same time it will also suppress the display of the custom fields for image description. Custom Fields are configured in the "Custom fields for image description" section of the gallery configuration.
#26
cpg1.6 themes (visuals) / Re: Additional custom fields
Last post by FrA1l3 - January 28, 2025, 12:44:25 AM
Mods for 1.6.26

You need to use Fileseek for example and search for these words:
user4
user_field4_name
usr4
user_field

Other words to search (but you can find it with usr4 as well):
   enabusr4
   usr4fld
   usr4checked


This is the list of files to modify to get 100% functionality on this version:
db_imput.php
edit_one_pic.php
editpics.php
thumbnails.php
uniload.php
update.php
search.php  <-- change foreach (range(1, 4) for 1, 20
include/admin.inc.php
include/functions.inc.php <-- there is a 'for' for user_field limited to 4 fields replace with (( $i <= 20 ))
include/picmgmt.inc.php
include/search.inc.php
include/codebase.php
plugins/upload_h5a/admin.php
plugins/upload_h5a/config.php
plugins/upload_h5a/initialize.inc.php
plugins/upload_h5a/js/upload.js
plugins/upload_h5a/js/upload.min.js
plugins/upload_sgl/codebase.php
sql/schema.sql
sql/basic.sql

Additionally, you should modify your language file, in my case, I'm from Spain so I need to edit this file:
lang/spanish.php
#27
cpg1.6 miscellaneous / Re: Error after updating to ph...
Last post by Joe Carver - January 27, 2025, 06:37:36 PM
It looks like you are running an older version of Coppermine.

Upgrade to version 1.6.26 (links above).

(from the release notes: "Line  56: 2020-02-25 [M] Remove use of deprecated *magic_quotes* functions {ron4mac}")
#28
cpg1.6 miscellaneous / Error after updating to php 8....
Last post by sindbad5 - January 27, 2025, 03:05:44 PM

Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime() in /www/htdocs/w012fc80/medienarchiv.com/0/include/init.inc.php:63 Stack trace: #0 /www/htdocs/w012fc80/medienarchiv.com/0/login.php(21): require() #1 {main} thrown in /www/htdocs/w012fc80/medienarchiv.com/0/include/init.inc.php on line 63

https://www.medienarchiv.com/0/

This happened after setting PHP from 7.4 to 8.4 at my hoster. I can't get back to 7.4.  Anyone knows how to solve this? Thanks!
#29
cpg1.6 upgrading / Re: Upgrade from 1.6.12 to 1.6...
Last post by phill104 - January 26, 2025, 12:27:32 AM
#30
cpg1.6 upgrading / Upgrade from 1.6.12 to 1.6.26
Last post by JPNARF - January 22, 2025, 12:40:20 PM
Hi All,
I want to upgrade from 1.6.12 to 1.6.26.

My Actual configuration:
AlmaLinux 9.5
Kernel: Linux 5.14.0-362.24.2.el9_3.x86_64

Apache/2.4.62
PHP 7.4.33
MySQL 5.7.44
php-mysqlnd-7.4.33-10


I would like to know which are the lastest version of MySQL and PHP that can I use for version 1.6.26

Regards,