Remove "Album viewes" Remove "Album viewes"
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Remove "Album viewes"

Started by tonyyears, June 03, 2020, 02:57:57 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

tonyyears

Hello, I want to remove the album views on the albums. Does anyone have a solution?

Check screenshot below:

phill104

It is a mistake to think you can solve any major problems just with potatoes.

ron4mac

In your case, you can just add a bit to the theme.php file of your theme.
if (defined('INDEX_PHP')) {
$lang_list_albums['alb_hits'] = '';
}

If it is a custom theme, the change won't get removed during a CPG update.

tonyyears

#3
Quote from: Phill Luckhurst on June 03, 2020, 11:04:30 PM
Try - https://forum.coppermine-gallery.net/index.php?topic=70498.0

Parse error: syntax error, unexpected '$alb_list' (T_VARIABLE) in /home/xxxxxxx/public_html/xxxxxxx/index.php on line 834

tonyyears

How can I delete this thread? Or the last reply I made.

tonyyears

Quote from: ron4mac on June 04, 2020, 03:06:49 PM
In your case, you can just add a bit to the theme.php file of your theme.
if (defined('INDEX_PHP')) {
$lang_list_albums['alb_hits'] = '';
}

If it is a custom theme, the change won't get removed during a CPG update.

Doesn't work


tonyyears

Please How can I delete this thread?
How can I delete this thread?

ron4mac

Both of the above methods will work. Perhaps you didn't enter them correctly or you didn't clear your browser cache.

tonyyears

Please How can I delete this thread?
How can I delete this thread?

ron4mac

Quote from: tonyyears on June 12, 2020, 08:33:39 AM
Please How can I delete this thread?
How can I delete this thread?
You can't.

Did you get rid of the album views count?

tonyyears

Why I can't? I wanted to remain my gallery private and I messed it up. That's why I want to delete this thread. Is there an admin to this forums?

ron4mac

I can delete the thread ... but, so far, I don't see a reason why I should. Your gallery is not linked anywhere here; so there should be no issue with your privacy. And the information in this thread could be useful to others and is, therefore, worth keeping.

phill104

Quote from: tonyyears on June 14, 2020, 07:00:43 PM
Why I can't? I wanted to remain my gallery private and I messed it up. That's why I want to delete this thread. Is there an admin to this forums?

Hi tonyyears,

It is our policy for threads to remain to assist others. We generally only delete spam and in the past sadly peoples galleries that contain illegal content (in some cases reporting that to the relevant authorities). In your case Ron has obfuscated references to your site and in this way the thread is still a good resource for others who may want to modify their site in a similar way. Hope that is OK and you can understand how helpful threads like yours can be to others.
It is a mistake to think you can solve any major problems just with potatoes.