Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Remove "Album viewes"  (Read 3395 times)

0 Members and 1 Guest are viewing this topic.

tonyyears

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Remove "Album viewes"
« on: June 03, 2020, 02:57:57 am »

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

Check screenshot below:
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Logged
It is a mistake to think you can solve any major problems just with potatoes.

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Remove "Album viewes"
« Reply #2 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.
Code: [Select]
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.
Logged

tonyyears

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Remove "Album viewes"
« Reply #3 on: June 05, 2020, 06:21:08 am »

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
« Last Edit: June 14, 2020, 10:11:34 pm by ron4mac »
Logged

tonyyears

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Remove "Album viewes"
« Reply #4 on: June 05, 2020, 06:24:54 am »

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

tonyyears

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Remove "Album viewes"
« Reply #5 on: June 05, 2020, 06:28:44 am »

In your case, you can just add a bit to the theme.php file of your theme.
Code: [Select]
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
Logged

tonyyears

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Logged

tonyyears

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Remove "Album viewes"
« Reply #7 on: June 05, 2020, 06:30:00 am »

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

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Remove "Album viewes"
« Reply #8 on: June 05, 2020, 02:47:38 pm »

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

tonyyears

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Remove "Album viewes"
« Reply #9 on: June 12, 2020, 08:33:39 am »

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

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Remove "Album viewes"
« Reply #10 on: June 12, 2020, 02:15:20 pm »

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?
Logged

tonyyears

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Remove "Album viewes"
« Reply #11 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?
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Remove "Album viewes"
« Reply #12 on: June 14, 2020, 07:29:25 pm »

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.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Remove "Album viewes"
« Reply #13 on: June 15, 2020, 09:15:11 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 20 queries.