Advanced search  

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

Pages: [1]   Go Down

Author Topic: Removal of ecard function - need help  (Read 2701 times)

0 Members and 1 Guest are viewing this topic.

peggster.net

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Removal of ecard function - need help
« on: November 02, 2011, 03:32:21 am »

Hello,

I am having difficulty removing the ecard function from our gallery. I attempted to follow the instructions I found in the Coppermine FAQ, here:

http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#removeFeature

However, when I searched for this bit of code in the theme.php file, I couldn't find it. As a matter of fact, the theme.php file for the theme we are using (Classic) contains almost no information at all. This is what it contains:

Code: [Select]
<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2008 Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 3
  as published by the Free Software Foundation.
  
  ********************************************
  Coppermine version: 1.4.18
  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/classic/theme.php $
  $Revision: 4380 $
  $Author: gaugau $
  $Date: 2008-04-12 12:00:19 +0200 (Sa, 12 Apr 2008) $
**********************************************/

// ------------------------------------------------------------------------- //
// This theme has all CORE items removed                                     //
// ------------------------------------------------------------------------- //
define('THEME_IS_XHTML10_TRANSITIONAL',1);

?>

Is there something I should replace this theme.php file with? Something I could insert? Please help! Spam is being sent through the gallery using our ecard function.
Logged

nickelas

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Re: Removal of ecard function - need help
« Reply #1 on: November 02, 2011, 09:42:50 pm »

It sounds like you can use the setting to disable e-card? Users >> Groups >> set Ecards to no
Logged
Human

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Removal of ecard function - need help
« Reply #2 on: November 03, 2011, 04:49:12 pm »

It sounds like you can use the setting to disable e-card? Users >> Groups >> set Ecards to no
Absolutely correct. You can find additional information in the docs: http://documentation.coppermine-gallery.net/en/groups.htm#group_cp_permissions
Logged

peggster.net

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Removal of ecard function - need help
« Reply #3 on: November 04, 2011, 05:11:39 am »

Ha! That seems much easier than I imagined, but excellent. ;)  Thank you, will try it out!
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.