i want to remove some features!? i want to remove some features!?
 

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

i want to remove some features!?

Started by drukkadmin, March 27, 2004, 05:40:32 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

drukkadmin

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

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Tim

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

bit bit spears

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.

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller


Tim


Joachim Müller

@Tim: don't double-post! You've posted exactly the same question here :evil:

GauGau