Advanced search  

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

Pages: [1]   Go Down

Author Topic: Remove some of the options in the "non loged in" menu!  (Read 5721 times)

0 Members and 1 Guest are viewing this topic.

67858

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Remove some of the options in the "non loged in" menu!
« on: January 09, 2008, 10:32:20 pm »

Hi,

I have used long time on searching the forum for some help but everything I have found dont work or I did not understand (im not very skilled on codes!) My question is, I have a site where I need to move some of the options from the menu. Now it looks like:
----------------------------------------------------
Home :: Register :: FAQ :: Login
Forum :: Album list :: Last uploads :: Last comments :: Most viewed :: Top rated :: My Favorites :: Search
----------------------------------------------------

I need to change it so its only:
----------------------------------------------------
Home :: Last uploads :: Login
----------------------------------------------------

I need all other options removed. It does not matter if they are viewable when you are loged in - but best would be if I could compleately remove it all.

I have been searching in the codes and tried to remove some of it but every time I did something else did not work. One of the files I ahve tried to remove codes from was: include/themes.inc.php, but it did not work.

PLEASE HELP

Regards
Gerner  :)
« Last Edit: January 11, 2008, 07:20:45 am by Frantz »
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Remove some of the options in the "non loged in" menu!
« Reply #1 on: January 09, 2008, 10:40:47 pm »

Have a look at the "Final Extract" plugin.
Quote
One of the files I ahve tried to remove codes from was: include/themes.inc.php
Don't edit this file!. Copy the function or variable definition to your theme.php instead.
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Remove some of the options in the "non loged in" menu!
« Reply #2 on: January 09, 2008, 10:52:54 pm »

Have a look at the "Final Extract" plugin.  Don't edit this file!. Copy the function or variable definition to your theme.php instead.
and next time search the board before asking for something who where asked many times
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

67858

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Remove some of the options in the "non loged in" menu!
« Reply #3 on: January 10, 2008, 06:11:41 pm »

I have downloaded the "Final Extract" but there is not a "how to install" file. I dont know how to add an extra table in the datebase and add the info to the database.

I dont know what to do with the other files - I cant insdtall it!

I have search the forum and all everything I found was pointing at "Final Extract".

The best would be if there was some file I could uploade, overwrite the old files and then it would show the menu options I requested. Anyone that could help with that?

Regards
Gerner
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Remove some of the options in the "non loged in" menu!
« Reply #4 on: January 10, 2008, 06:17:34 pm »

You may have searched the board but have you searched the manual? http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#plugin
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

67858

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Remove some of the options in the "non loged in" menu!
« Reply #5 on: January 10, 2008, 09:03:37 pm »

In my theme.php it only says:

define('THEME_IS_XHTML10_TRANSITIONAL',1);

Logged

67858

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Remove some of the options in the "non loged in" menu!
« Reply #6 on: January 10, 2008, 09:07:07 pm »

In my theme.php it only says:

define('THEME_IS_XHTML10_TRANSITIONAL',1);

and If I go to the template.html I only see:
            <td width="100%" align="center">

              <h1>{GAL_NAME}</h1>

              <h3>{GAL_DESCRIPTION}</h3><br />::

              {SYS_MENU}  {SUB_MENU}

            </td>


If I remove the {SUB_MENU} everything is gone, so I cant just remove the options I want?

Logged

67858

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Remove some of the options in the "non loged in" menu!
« Reply #7 on: January 10, 2008, 10:56:36 pm »

Ahhhh I found out :)

Thanks for the help. I downloaded the "Final Extract" plugin. Unzipped it to my computer. Uploaded to the server. When to the www.mysite.com/pluginmgr.php site and the I got the page showed here: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#plugin. and that was that. Very easy! Thanks

Hope every one else can use the above too.

Regards
Gerner ;)
Logged

jaap_cpg

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Remove some of the options in the "non loged in" menu!
« Reply #8 on: March 17, 2008, 06:40:21 pm »

Its not working here...

I used the 2.3 version of the plugin on the gallery version 1.4.x

I unzipped the file, upload the folder into the plugin folder, installed it and till here everything works fine.
Now when I use the plug in doesn't change anything at all! In every user group I selected some boxes but if try it out in user mode everything is still there. Also if check the 'last comment' box and look back if its still checked, it isn't.

Why is it not working ??? Do I have to change a folder setting?

Thank you!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Remove some of the options in the "non loged in" menu!
« Reply #9 on: March 17, 2008, 07:17:39 pm »

Don't hijack someone else's thread, but start a thread of your own. Posting a link to your gallery is mandatory. Illustrating your issues with screenshots attached to your posting would be clever.
Locking
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 22 queries.