forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: peggster.net on November 02, 2011, 03:32:21 am

Title: Removal of ecard function - need help
Post by: peggster.net 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.
Title: Re: Removal of ecard function - need help
Post by: 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
Title: Re: Removal of ecard function - need help
Post by: Αndré 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
Title: Re: Removal of ecard function - need help
Post by: peggster.net on November 04, 2011, 05:11:39 am
Ha! That seems much easier than I imagined, but excellent. ;)  Thank you, will try it out!