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: Removal of ecard function - need help  (Read 2565 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: 15765
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.018 seconds with 19 queries.