coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: drukkadmin on March 27, 2004, 05:40:32 PM

Title: i want to remove some features!?
Post by: drukkadmin on March 27, 2004, 05:40:32 PM
i downloaded and started the coppermine gallery for sure, but there is one problem i have...

how can i remove the following features:

* no membership
i don´t want to have members, it´s just a gallery

* my favourites
remove this feature as well, i just want to have:

album list
last uploads
most viewed
top rated
and the search feature...

what do i have to change?!

for sure, as you should have seen already, i don´t know php

so please help me :)

thanks
Title: i want to remove some features!?
Post by: Casper on March 27, 2004, 08:05:45 PM
Hi,

1.  log in as admin, click on config, then look for 'Allow new user registrations' and just turn it to 'NO'.

2.  Edit your themes/yourtheme/theme.php.  Look for this code <a href="{FAV_TGT}">{FAV_LNK}</a> ::

Edit it out, and any formatting with it, or remove it.
Title: i want to remove some features!?
Post by: Tim on March 27, 2004, 08:17:04 PM
Hi I have also done this - but could you tell me also how to remove :-

'Last Comments' from the main header?
'Login' from the main header?

Also - even thought it is a brilliant part of the package - how do I remove the 'e-cards' item from the viewing of the pictures

many thanks - it's a top program - we are well impressed with it
Title: i want to remove some features!?
Post by: bit bit spears on March 28, 2004, 08:03:01 PM
for the login and last comments, open up your language file and remove the text listed 'Login' and 'Last Comments'

ALTHOUGH i would not recommend removing login, because you will have to type in login.php every time you want to login for admin features.

to remove ecards, comment it out

by opening up your theme.php

and adding

<!--

to the beginning of the ecard html

and

-->

to the ending of the ecard html.
Title: i want to remove some features!?
Post by: Casper on March 28, 2004, 08:22:51 PM
Removing them from the language file will result in blank buttons, or empty spaces.  The way to do this is to edit your theme.php, and remove the links there, along with any formatting.
Do not remove any commented out lines though, such as <!-- START login --> or <!-- END login -->, just the stuff between them.
Title: i want to remove some features!?
Post by: Joachim Müller on March 28, 2004, 10:24:33 PM
http://coppermine.sourceforge.net/faq.php?q=removeFeature#removeFeature
Title: i want to remove some features!?
Post by: Tim on March 29, 2004, 08:06:59 AM
thanks all
Title: i want to remove some features!?
Post by: Joachim Müller on March 29, 2004, 08:22:23 AM
@Tim: don't double-post! You've posted exactly the same question here (http://forum.coppermine-gallery.net/index.php?topic=4937) :evil:

GauGau