News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Recent posts

#21
cpg1.6 plugin contributions / Re: Star rating/voting plugin
Last post by 406man - April 03, 2026, 05:17:05 PM
Thanks for creating the plugin. I've tried it in one of my galleries and here are some comments.

As installed the new voting stars are much bigger than the standard ones and I like the configuration option in the plugin to set their type and size. Bigger ones mean it's easier to position the cursor suitably when voting which is an advantage. The heart icon looks really good and I can see it being popular. 

I think it would help the individual stars to visually stand out if there was a border between them as currently they merge together. The hearts are fine as they already have a border.

CPG potentially will display the voting stars in three different places:
1.   Below the thumbnail in the thumbnail display, if enabled.
2.   Below the image in the image view where you vote
3.   In the image view if an image has received any votes the Rating will be displayed.

In standard CPG all three places display the same star icon. With the rating plugin the voting star icon changes in 2 above but 1 and 3 remain as before. For visual consistency I think it would be better to use the same voting/rating icon in all three places if that's possible. As it is, when hearts are selected the "Select to rate" below the image on the Image View screen has hearts but the Rating in the File Information section below still has stars which is confusing.
#22
cpg1.6 plugin contributions / Star rating/voting plugin
Last post by ron4mac - March 31, 2026, 08:32:08 PM
This plugin provides for a bit of improved user interface when voting/rating a gallery item. It uses a small, configurable selector popup to make it easier to make your selection, especially with touch devices.

Please provide feedback for any issues or make suggestions.

Update: Version 1.1
  To provide consistency with the legacy method, use the 'new' icon during hover.
#23
cpg1.6 miscellaneous / Re: Problem bei Berwertung von...
Last post by ron4mac - March 30, 2026, 01:58:37 PM
In a number of days I will provide a plugin that will present a better UI for selecting a rating ...

In einigen Tagen werde ich ein Plugin bereitstellen, das eine bessere Benutzeroberfläche für die Auswahl einer Bewertung bietet ...
#24
cpg1.6 miscellaneous / Re: Problem bei Berwertung von...
Last post by 406man - March 23, 2026, 10:41:30 AM
What version of Coppermine are you running ?

Welche Version von Coppermine spielst du?
#25
cpg1.6 miscellaneous / Re: Problem bei Berwertung von...
Last post by VolkerF - March 22, 2026, 07:03:29 AM
Hallo nochmal,

ich habe meinen Beitrag im falschen Forum, es muss für cpg1.6x sein. Desweiteren habe ich selbst mal probiert Sterne zu vergeben und es geht tatsächlich nicht. Wenn ich 5 Sterne anklicke werden nur 3 Stern angenommen, ohne Fehlermeldung. Also was kann das verursachen?

Danke, Volker
#26
cpg1.6 miscellaneous / Problem bei Berwertung von Bil...
Last post by VolkerF - March 22, 2026, 06:57:09 AM
Hallo und guten Morgen,

es gibt ja die Möglichkeit Bilder mit bis zu 5 Sternen zu bewerten. Eine Userin schreibt gestern folgendes:
...wieder ist es mir missglückt bei der Bewertung Dir 5 Sterne zukommen zu lassen.
Nach 2 Sternen blockiert Deine Webseite und lässt keine Korrektur zu.

Was kann ich dagegen tun und woran kann das liegen?

Danke und Gruß, Volker

#27
Feature requests / Re: Header PHP with Login Secu...
Last post by ron4mac - March 20, 2026, 02:55:06 AM
You can use some of these variables and defines in your custom header include file to present different content according to the CPG state (logged in [USER_ID>0], user is an admin, etc.)
https://coppermine-gallery.com/docs/curr/en/dev_vars.htm
#28
Feature requests / Re: Header PHP with Login Secu...
Last post by 406man - March 19, 2026, 06:07:10 PM
My gallery doesn't have a file with this name and the forum thread here says the same:
https://coppermine-gallery.com/forum/index.php?topic=80854.0

For a starting point could you clarify what your header.php file is doing and where it lives in your directory structure.

The admin tools are normally in the Admin menu which is displayed only for those users with Administrator privilege.
#29
Feature requests / Header PHP with Login Security...
Last post by Dancefloor - March 19, 2026, 11:42:43 AM
Hyyy...
In my header.php are some things like Database backup and other useful admin tools included.

Unfortunately, it's displayed as a header and visible to EVERYONE who visits the site.

Isn't it possible to display it on a user-specific or admin-specific basis?

So... either EVERYONE sees it, or user groups, or ONLY ADMIN.

Could this query be included in the next version, or is there a simple way to query the admin status directly within the header file?

Regards, Daniel
#30
cpg1.6.x Support / Re: Release version 1.6.28 of ...
Last post by Joe Carver - March 10, 2026, 10:26:44 PM
Thank You ron4mac!