forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: 67858 on January 09, 2008, 10:32:20 pm

Title: Remove some of the options in the "non loged in" menu!
Post by: 67858 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  :)
Title: Re: Remove some of the options in the "non loged in" menu!
Post by: just_some_guy 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.
Title: Re: Remove some of the options in the "non loged in" menu!
Post by: François Keller 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
Title: Re: Remove some of the options in the "non loged in" menu!
Post by: 67858 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
Title: Re: Remove some of the options in the "non loged in" menu!
Post by: just_some_guy 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
Title: Re: Remove some of the options in the "non loged in" menu!
Post by: 67858 on January 10, 2008, 09:03:37 pm
In my theme.php it only says:

define('THEME_IS_XHTML10_TRANSITIONAL',1);

Title: Re: Remove some of the options in the "non loged in" menu!
Post by: 67858 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?

Title: Re: Remove some of the options in the "non loged in" menu!
Post by: 67858 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 ;)
Title: Re: Remove some of the options in the "non loged in" menu!
Post by: jaap_cpg 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!
Title: Re: Remove some of the options in the "non loged in" menu!
Post by: Joachim Müller 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