Removal of ecard function - need help Removal of ecard function - need help
 

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

Main Menu

Removal of ecard function - need help

Started by peggster.net, November 02, 2011, 03:32:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peggster.net

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:

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

nickelas

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

ΑndrĂ©

Quote from: nickelas 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
Absolutely correct. You can find additional information in the docs: http://documentation.coppermine-gallery.net/en/groups.htm#group_cp_permissions

peggster.net

Ha! That seems much easier than I imagined, but excellent. ;)  Thank you, will try it out!