News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

Main Menu

Hide uploader names.

Started by Webletee, July 07, 2014, 08:55:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Webletee

Hello, I'm looking for a way to hide the name of uploader in the information displayed below an image, preferably I would like to give my users the option to hide/show it themselves but primarily I'm looking for a way to hide it.
I didnt find any other post containing an answer and I havent found anything in the coppermine control panel, please help!

Thanks in advance.

ΑndrĂ©

Copy the function theme_html_picinfo from themes/sample/theme.php to your theme's theme.php file, if it doesn't exist.

Find
foreach ($info as $key => $value) {
and below, add
        if ($key == $lang_picinfo['Album name']) {
            $value = preg_replace('/<a href="profile\.php.*<\/a> \//U', '', $value);
        }