Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Final Extract 2.3 with cpg 1.4.19  (Read 6551 times)

0 Members and 1 Guest are viewing this topic.

GH

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Final Extract 2.3 with cpg 1.4.19
« on: September 09, 2008, 12:00:13 pm »

Hello, when I use final extract with the theme classic, it works well, means, that what I want to remove went off. (In the cpg standard settings and user group, I moved out all possibilities related to upload, login, ratings and comments, but even when I go back to default there is no change in the behaviour of final extract)

This is not the case with the other themes, the list and the result:

eyeball > nothing is diabled
fruity >  very well
hardwired and the following themes > home can be disabled, not the others

rainy day > every item can be disabled, but there is conflict of the text of the range "config / categories / albums / ....." and the empty rectangular cases which do not match with the text, because the empty cases are some lines moved to the bottom.

on water drop > very well


I wanted to use hardwired theme and later on of the other themes which I can download ????

Is there anyone who can help me? Of course, each time I tried to save the settings of final extract related to the theme.

By
GH
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Final Extract 2.3 with cpg 1.4.19
« Reply #1 on: September 10, 2008, 07:42:24 am »

Final extract doesn't work with all themes, as it relies on a particular method to build the menu, which is not being used in all themes. Why don't you stop playing around with many different themes that you're not going to use anyway? Decide for one theme, then try if final extract works for that theme. If it doesn't, post a link to your gallery and zip up the custom theme you're using and attach that zip to your posting. A supporter can then easily tell you what to do instead of having issues trying to identify your actual question. I understand that you're trying to come up with as much information as possible, but your postings are a bit long to read and understand.
Logged

GH

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Final Extract 2.3 with cpg 1.4.19
« Reply #2 on: September 10, 2008, 09:04:09 am »

Hello, not true what you say of "playing around".  :o  Also, I did not find about final extract in the support forum for which themes it works fine !!

I WAS DECIDED TO USE HARDWIRED but unfortunatly it does not work here (AND I do not like FRUITY and WATERDROP), so may be I let it as it is for instance on localhost ... but later I have to look to find another theme without error. I hope that's short enough and I try to be shorter next time  :-[. (Thanks for the Zip-advise I'll remember when I will be on remote host)
GH

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Final Extract 2.3 with cpg 1.4.19
« Reply #3 on: September 10, 2008, 01:00:16 pm »

I already told you what to do: zip your custom theme (the one you want to use) and attach it to your posting. Should not be too hard imo.
Logged

GH

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Final Extract 2.2 with cpg 1.4.19
« Reply #4 on: September 11, 2008, 08:33:19 am »

Here it is, thank you.
Logged

GH

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Final Extract 2.3 with cpg 1.4.19
« Reply #5 on: September 11, 2008, 08:56:06 am »

Sorry, final extract was no more installed when I zipped the first time "hardwired". (I noticed there were also a big graphic display errors related to photo-shop when I clic on Checkout)

May be you can advise me also how to make disappear under the image "crop and rotate" and "delete this file" , because not reated by final extract ? Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Final Extract 2.3 with cpg 1.4.19
« Reply #6 on: September 11, 2008, 09:29:38 am »

The theme "hardwired" contains a menu definition of it's own in theme.php and overrides the final extract plugin in this aspect - just remove the stuff you no longer want by editing theme.php.
However, it's a not a bright idea to remove the login link - just disable user registration. The login link should remain for you as admin. Anyway, if you decide to remove it, you have to manually go to the login page.

In the cpg standard settings and user group, I moved out all possibilities related to upload, login, ratings and comments
Then don't look at the theme when logged in as admin - the admin will see those controls no matter what. Log out to see what your visitors can do. The only thing you actually need to remove from the menu are the "last comments" and "top rated" menu icons. To accomplish this, edit theme.php, find
Code: [Select]
// HTML template for sub menu
$template_sub_menu = <<<EOT

                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
<!-- BEGIN custom_link -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
<!-- END custom_link -->
<!-- BEGIN album_list -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
<!-- END album_list -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                       <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                       <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                </tr>
                        </table>

EOT;
and replace with
Code: [Select]
// HTML template for sub menu
$template_sub_menu = <<<EOT

                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
<!-- BEGIN custom_link -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
<!-- END custom_link -->
<!-- BEGIN album_list -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
<!-- END album_list -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                       <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired_gh/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired_gh/images/buttoncenter.gif);">
                                                <a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired_gh/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
                                </tr>
                        </table>

EOT;

May be you can advise me also how to make disappear under the image "crop and rotate" and "delete this file" , because not reated by final extract ? Thanks.
We have a strict "one question per thread" policy that you agreed to respect when signing up. This is definitrely not related to editing the menu. Anyway, I can't see the point in this: if you disallow your users to upload, how should they ever see the crop&rotate screen?

Joachim

P.S. You should do as suggested in http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_create_rename
Logged

GH

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 107
Re: Final Extract 2.3 with cpg 1.4.19
« Reply #7 on: September 11, 2008, 09:56:20 am »

First time many thanks, Joachim,  answering so quickly, I try to do in this way! Second: of course, login must be possible, but I can do it by login.php because I don't plan any user login. CPG will be a show case of a gallery, via photo-shop I hope to realise an request offering system for the basket content and nothing else.
(For the rest, I apologize because not knowing if CPG could do the work, I did not spend many time to read the forum rules, docs and so on, as said one times before, and I'm not much  experienced using support forums too. )
Danke. Günter
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.