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 43347 times)

0 Members and 1 Guest are viewing this topic.

François Keller

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

Quote
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
Yes worksfine  ;)
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

Siberiantiger

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

but still there is no way to separate the "disable menu items" plugin so that it only disables for guests/anonymous users? (Meaning, the menu items will be gone when no one is logged on, but if logged in as registered user/admin the menu items will be availible again)?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Final Extract v2.2 with Config panel
« Reply #22 on: August 07, 2006, 04:10:37 am »

You don't need a plugin then, but code your own menu logic by modifying theme.php. However, this doesn't belong into this thread. Do not request new features here!
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie
Re: Final Extract v2.2 with Config panel
« Reply #23 on: August 07, 2006, 07:36:35 am »

but still there is no way to separate the "disable menu items" plugin so that it only disables for guests/anonymous users? (Meaning, the menu items will be gone when no one is logged on, but if logged in as registered user/admin the menu items will be availible again)?
See here http://forum.coppermine-gallery.net/index.php?topic=26893.msg159093#msg159093 this possibility exist with the precedent final extract plugin
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

topkool

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
Re: Final Extract v2.2 with Config panel
« Reply #24 on: September 03, 2006, 06:30:33 pm »

That plugin is great. After a few days of use, I found a very weird behavior.

Indeed, while the plugin is enabled, the default Coppermine icons for uploads (up_dup.gif, up_na.gif, up_ok.gif, up_pb.gif) are not displayed anymore. It seems the link sent by Coppermine to the browser is wrong.

If I disabled the plugin, it works again.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Final Extract v2.2 with Config panel
« Reply #25 on: September 03, 2006, 06:37:12 pm »

what ?  :o
The plugin has nothing to do with image path ! it just remove some HTML between <!-- --> tags !
Are you sure?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Nibbler

  • Guest
Re: Final Extract v2.2 with Config panel
« Reply #26 on: September 03, 2006, 10:20:28 pm »

There is whitespace at the end of codebase.php
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Final Extract v2.2 with Config panel
« Reply #27 on: September 04, 2006, 06:46:20 am »

::)
Thank you nibbler for pointing that
@topkool: There is an empty line after ?> under plugins/final_extract/codebase.php, remove it
Logged
‍I don't answer to PM with support question
Please post your issue to related board

topkool

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
Re: Final Extract v2.2 with Config panel
« Reply #28 on: September 04, 2006, 07:52:32 pm »

Very fast reply.

Thanks guys!!
Logged

YoYoJo

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Final Extract v2.2 with Config panel
« Reply #29 on: September 05, 2006, 08:09:15 am »

Hello,

I just loaded Final Extract v2.2 onto my server via ftp... I loaded it into the 'plugins' folder... I installed it using the 'plugins manager' through the 'config' area in my gallery... Once it was installed, I went to the FEv2 config panel and selected the 'my favorites,' 'last uploads' and the 'last comments' to be removed from the menu selection.  At first, the strangest thing happened, all but two of my galleries thumbnails disappeared?!?!  They were replaced with their file names.  Plus, the buttons that I wanted to be gone are still there???  I logged out, closed my browser (Firefox), opened my browser again, cleared my cache and cookies and then went back to my main gallery page...  The thumbs are back and the buttons are still there...  Any thoughts?

Version: 1.4.9 (no modifications, straight out of zipped folder)
Plugins: did not install any...
Theme:  Igames
Server:  FreeBsd/Unix (I'm just adding this, don't know spit about it) 4.7 release; Apache
PHP:  Version 4.4.2
MySQL:  version 4
Site Link: www.aremgallery.com/Glr/

Thanks...
Logged

YoYoJo

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Final Extract v2.2 with Config panel
« Reply #30 on: September 06, 2006, 03:35:27 am »

I was looking through the plugins FAQ/Directions and I couldn't find if the folder should have 755 or 777 permissions...  The Final_Extract22 plugin still isn't working...  I uninstalled, unloaded, reloaded it, reinstalled it and then removed it again...  Can you tell me if I should set the permissions differently?  Currently, the folder is set to 755...  Is it possible that I'm missing something else?  It seems to have worked for others... 

Thanks much...
Logged

Sami

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

this is not permission issue,your theme didn't have <!--Bgein Block--><!--End Block--> tags around button so plugin didn't work you need to manualy add those tags under themes/igames/theme.php for more details and how to see my previous post :
http://forum.coppermine-gallery.net/index.php?topic=34637.msg162446#msg162446
« Last Edit: September 12, 2006, 07:28:18 am by bmossavari »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

YoYoJo

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Final Extract v2.2 with Config panel
« Reply #32 on: September 06, 2006, 10:22:49 am »

@bmossavari,

Thank you for that insight... After a little trial and error I managed to make it work...  The example page that you left the link to did the trick.  I played around with the <!-- BEGIN block --><!-- END block --> coding and eventually got the idea.  The buttons/blocks are gone...  The only thing left is now (based on the design of the Igames theme), I've lost the last rounded-side button (just the button itself) which went at the end of the grouping... www.aremgallery.com/Glr/  I'll play around with it maybe and see if I can figure out how to put it back or use it for some thing else...  Thanks again for your assistance...

Lastly, would you mind pointing me in the direction that leads to information on how to remove the "i" button/link/function?  I'd like to remove access to the 'file information' function...

Thanks much and take care... You have been extremely helpful!  Most appreciated...
Logged

Sami

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

this is not related to this plugin at all
btw I'll explain it :

- check your theme.php for $template_img_navbar if you don't have it copy this code before ?> tag
Code: [Select]
$template_img_navbar = <<<EOT

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/thumbnails.gif" align="middle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="100%">
                        {PIC_POS}
                </td>
<!-- BEGIN report_file_button -->
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
                </td>
<!-- END report_file_button -->
<!-- BEGIN ecard_button -->
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif"  border="0" align="middle" alt="{ECARD_TITLE}" /></a>
                </td>
<!-- END ecard_button -->
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0" align="middle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif"  border="0" align="middle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>

EOT;
or if you already have that variable replace it with my code.
in this way you've removed file info button
Logged
‍I don't answer to PM with support question
Please post your issue to related board

YoYoJo

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Final Extract v2.2 with Config panel
« Reply #34 on: September 06, 2006, 09:31:44 pm »

bmossavari ,

Thank you again for your assistance...  I did as you suggested and was presented with the exact results I was hoping for...  Your knowledge is as always, most appreciated...

Thanks again...
Logged

coopersita

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: Final Extract v2.2 with Config panel
« Reply #35 on: September 15, 2006, 03:44:39 am »

I'm getting very odd results....

It doesn't work on the home page, but it works in all other pages!

I've tried the old version, with the same results...

Why would it work in some pages and not in others?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Final Extract v2.2 with Config panel
« Reply #36 on: September 15, 2006, 06:43:50 am »

Post a link to your gallery...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

coopersita

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: Final Extract v2.2 with Config panel
« Reply #37 on: September 15, 2006, 05:22:21 pm »

I don't know if it has anything to do with it, but I'm bridged with Xoops. Check the difference on the sub menu on the left in

http://www.lo8os.com/gallery/
(it has
# Home
# Login
# Album list
# Last uploads
# Last comments
# Most viewed
# Top rated
# My Favorites
# Search)

and

http://www.lo8os.com/gallery/thumbnails.php?album=toprated&cat=0
(it only has
# Album list
# Last uploads
# Last comments
# Most viewed
# Top rated
# My Favorites)

My theme is based on the sample.

 PS: I'm still under construction.
Logged

Sami

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

As you're using custom theme I've no idea what is going on ....
You should zip up your theme and attach it to this thread, If you need support
Logged
‍I don't answer to PM with support question
Please post your issue to related board

coopersita

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: Final Extract v2.2 with Config panel
« Reply #39 on: September 15, 2006, 05:49:42 pm »

Here's my theme.

Thanks for the help, bmossavari.
Logged
Pages: 1 [2] 3   Go Up
 

Page created in 0.026 seconds with 21 queries.