Final Extract v2.2 with Config panel Final Extract v2.2 with Config panel
 

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

Final Extract v2.2 with Config panel

Started by Sami, August 06, 2006, 12:31:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sami

Final Extract v2.2 (remove menu items)

Here is the Final extract plugin with it's own Config page

Use this plugin to remove core menu's button of coppermine, After installation you'll have an admin button that will give you a config page to this plugin


you can hide these buttons with it's menu:
-home (Home)    
-login    (Login)
-my_gallery (My Gallery)   
-upload_pic (Upload file)   
-album_list  (Album list)
-lastup (Last Uploads)   
-lastcom (Last comments)   
-topn    (Most view)
-toprated (Top rated)   
-favpics (My Favorites)   
-search (Search)
I'm going to release an advanced version (with addon option) soon!

Please give me some feedback ;)
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

Hi, good job  :D
Works fine

I've translate the lang file in french (see atachement)

For the next version, it will be fine if the block name can be translate (actualy in the "basic" file, should be in the lang file)
Another feature should be: to choose the buttons to hide according of the user groups  :)
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

Sami

Thank you for support , you are right I should made those name adjustable by lang file so can you just post those botton's name in french so I could add them to new version lang file
Thanks :)
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

Ok, in attachement the french translation for the menu items

Thank's for your job
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

Pascal YAP

Borzoo and Frantz,

Thanx a lot for your nice job  ;)
Work fine in all languages, also in french  ;D

PYAP

Siberiantiger

First of all, i am using the Live demo 1.0 of CPG (so there is no online version you can see)

Unfortunately this plugin did not work for my gallery.. After installing the plugin and choose every menuitem except the login, and saved the setup and exit the live demo, the menu items are still there (guest/visitor)

I tried both the classic and kaki theme, both in norwegian and english, but neither did work. So what am i doeing wrong here?

Please help!

Sami

Live demo is just for preview and it's not for pruduction use !
Try to install it on real CPG ...
‍I don't answer to PM with support question
Please post your issue to related board

Siberiantiger

I know it is not for production use and is only for preview.. but all other settings and plugins and customization has worked perfectly here.. And i wish to test this before i put it to production..

I think i found the problem by the way.. coppermine needs to flush he IE cookies and cache.. the restart IE and it works..

But only in the classic theme.. tried using the regular kaki theme, but the plugin does not work for this one.. Can anyone help me get this plugin wor with the kaki (not the kai_top) theme please!

razorbiker

It did not work in my Kaki theme either (not customized ones Mossavari), just a regular install (with Stramm ModPak). Thanks.

Wally

Sami

can you post a link to your gallery wally ?
‍I don't answer to PM with support question
Please post your issue to related board

Siberiantiger

Looks as if the plugin does not work with many othe the stanard themes in cpg 1.4.8, These does not work

Eyeball
Hardwired
iGames
Mac os x
project vii

All other standard themes does work fine so there is something here that is not configured correctly according to all types of themes..

Hope this will be fixed soon

razorbiker

Quote from: bmossavari on August 06, 2006, 05:30:58 PM
can you post a link to your gallery wally ?

;D
Yes..but visit at your own risk:

Remember I warned you...if you are offended by nudity or UGLY people...don't go there.

This is a biker site.

http://www.razorbiker.com

Thanks,

Wally

François Keller

QuoteLooks as if the plugin does not work with many othe the stanard themes in cpg 1.4.8, These does not work

Eyeball
Hardwired
iGames
Mac os x
project vii
extact, i've seen all these themes have code for buiding the sub menu template in the theme.php file. :-\
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

Davide Renda

great great work - works OK on a modded CPG148 (Stramm's mod) with Oranje theme

Siberiantiger

#14
Hope this plugin will support the other themes that are configured with theme.htm file very soon  :D

Isn't this plugin supposed to just affect user logins and not admin? Because the menu items are all gone in admin mode also.. Shouldn't there be an option to choose what user groups this plugin affects?

Actually, i think this plugin should be customized so that registered users may allow to see these menu items..

Sami

@wally:As I seen your gallery  :o , you can remove these buttons:home,Register,Faq (this one could also remove by config),Album list, Last uploads,Last comments,Most viewed,Top rated ,Search

@other:
Functionality of this plugin is very depend on your theme
you can use this plugin with those have coded for custom sub menu theme by adding <!-- BEGIN block_name --> at the begining of button and adding <!-- END block_name --> at the end of button defenition for example ,here is the $template_sub_menu variable of Eyeball
I'm going to add those tags to it :
before adding:

// HTML template for template sub_menu
$template_sub_menu = <<<EOT
                        <table cellpadding="0" cellspacing="0" border="0" class="top_menu_bttn">
                                <tr>
                                        <td><img src="themes/eyeball/images/top_menu_left.gif" border="0" alt="" /><br /></td>
                                        <!-- BEGIN custom_link -->
                                                                                <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <!-- END custom_link -->
                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="index.php" onmouseover="MM_showHideLayers('Menu1','','show')"><img src="themes/eyeball/images/home.gif" border="0" alt="" /><br /></a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                        <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                         <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_right.gif" border="0" alt="" /><br /></td>

                                </tr>
                        </table>
EOT;


After  adding:

// HTML template for template sub_menu
$template_sub_menu = <<<EOT
                        <table cellpadding="0" cellspacing="0" border="0" class="top_menu_bttn">
                                <tr>
                                        <td><img src="themes/eyeball/images/top_menu_left.gif" border="0" alt="" /><br /></td>
                                        <!-- BEGIN custom_link -->
                                         <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <!-- END custom_link -->
<!-- BEGIN home -->
                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="index.php" onmouseover="MM_showHideLayers('Menu1','','show')"><img src="themes/eyeball/images/home.gif" border="0" alt="" /><br /></a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <!-- END home -->
<!-- BEGIN album_list -->
<td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <!-- END album_list -->
<!-- BEGIN lastup -->
<td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                        <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <!-- END lastup -->
<!-- BEGIN lastcom -->
<td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                        <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <!-- END lastcom -->
<!-- BEGIN topn -->
<td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                       <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <!-- END topn -->
<!-- BEGIN toprated -->
<td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                        <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <!-- END toprated -->
<!-- BEGIN favpics-->
<td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                        <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                         <!-- END favpics-->
<!-- BEGIN search -->
<td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
                                         <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
                                        </td>
                                        <!-- END search -->
<td><img src="themes/eyeball/images/top_menu_right.gif" border="0" alt="" /><br /></td>

                                </tr>
                        </table>
EOT;

with this method you can hide every one of button ....
‍I don't answer to PM with support question
Please post your issue to related board

razorbiker

So do you mean you are going to update the Final Extract v2.2 plugin? Just checking.

Mossavari, hope I did not SHOCK  :o you too much.   ;D

Wally

Sami

No I'm not going to update (not yet !) , I mean your theme have those BEGIN , END tags that I describe before so plugin should work for you ....
Try CTRL+F5 after submiting config form
‍I don't answer to PM with support question
Please post your issue to related board

razorbiker

Actually it does work on the Razorbiker theme (my mistake)...it does not work on the "custom themes" that you made for me:

They are located at:   http://www.searcysports.com/myimagedb

and

http://www.searcysports.com/searcylions

Thanks again.

Wally

Sami

Now you found the real BUG ;D
Sorry that was my mistake , I'll send you the correct theme.php so the plugin will work for that too ;)
peace
‍I don't answer to PM with support question
Please post your issue to related board