Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1] 2 3   Go Down

Author Topic: Final Extract v2.2 with Config panel  (Read 44046 times)

0 Members and 1 Guest are viewing this topic.

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Final Extract v2.2 with Config panel
« on: August 06, 2006, 12:31:02 am »

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 ;)
« Last Edit: May 31, 2007, 08:55:58 am by Sami »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie
Re: Final Extract v2.2 with Config panel
« Reply #1 on: August 06, 2006, 09:39:34 am »

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  :)
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

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Final Extract v2.2 with Config panel
« Reply #2 on: August 06, 2006, 10:19:02 am »

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 :)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie
Re: Final Extract v2.2 with Config panel
« Reply #3 on: August 06, 2006, 11:28:37 am »

Ok, in attachement the french translation for the menu items

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

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: Final Extract v2.2 with Config panel
« Reply #4 on: August 06, 2006, 02:28:38 pm »

Borzoo and Frantz,

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

PYAP
Logged

Siberiantiger

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 96
Re: Final Extract v2.2 with Config panel
« Reply #5 on: August 06, 2006, 04:36:06 pm »

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!
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Final Extract v2.2 with Config panel
« Reply #6 on: August 06, 2006, 04:52:28 pm »

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

Siberiantiger

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 96
Re: Final Extract v2.2 with Config panel
« Reply #7 on: August 06, 2006, 05:20:07 pm »

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!
Logged

razorbiker

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Final Extract v2.2 with Config panel
« Reply #8 on: August 06, 2006, 05:29:25 pm »

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

Wally
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Final Extract v2.2 with Config panel
« Reply #9 on: August 06, 2006, 05:30:58 pm »

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

Siberiantiger

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 96
Re: Final Extract v2.2 with Config panel
« Reply #10 on: August 06, 2006, 05:39:59 pm »

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
Logged

razorbiker

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Final Extract v2.2 with Config panel
« Reply #11 on: August 06, 2006, 06:05:00 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
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie
Re: Final Extract v2.2 with Config panel
« Reply #12 on: August 06, 2006, 06:08:04 pm »

Quote
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
extact, i've seen all these themes have code for buiding the sub menu template in the theme.php file. :-\
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

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Final Extract v2.2 with Config panel
« Reply #13 on: August 06, 2006, 06:40:21 pm »

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

Siberiantiger

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 96
Re: Final Extract v2.2 with Config panel
« Reply #14 on: August 06, 2006, 06:55:26 pm »

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..
« Last Edit: August 06, 2006, 07:20:35 pm by Siberiantiger »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Final Extract v2.2 with Config panel
« Reply #15 on: August 06, 2006, 07:38:08 pm »

@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:
Code: [Select]
// 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:
Code: [Select]
// 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 ....
Logged
‍I don't answer to PM with support question
Please post your issue to related board

razorbiker

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Final Extract v2.2 with Config panel
« Reply #16 on: August 06, 2006, 07:45:35 pm »

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Final Extract v2.2 with Config panel
« Reply #17 on: August 06, 2006, 07:50:32 pm »

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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

razorbiker

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Final Extract v2.2 with Config panel
« Reply #18 on: August 06, 2006, 08:02:10 pm »

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Final Extract v2.2 with Config panel
« Reply #19 on: August 06, 2006, 08:09:55 pm »

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
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1] 2 3   Go Up
 

Page created in 0.026 seconds with 20 queries.