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: Navigation  (Read 6758 times)

0 Members and 1 Guest are viewing this topic.

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Navigation
« on: December 31, 2008, 12:06:32 am »

Hello.

In theme.php I deleted the javascript line

Code: [Select]
onclick popup $pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
for the popup picture in

Code: [Select]
if (!function_exists('theme_html_picture')) {  //{THEMES}
function theme_html_picture()

What I would like to have is an easier navigation with click on the picture itself.

If I click on the picture I would not like a pop up, but rather to move on to the next picture.

Is this possible? Or is there already an existing solution. I have searched an hour and did not find anything.

Thank you, regards Dietmar

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Navigation
« Reply #1 on: January 02, 2009, 10:22:48 am »

Possible, but not with the edits you posted.
You have posted so often already, you should by now know the rules: post a link to your gallery; attach a zip archive of your custom theme folder to your posting; post on the proper board.
Moving. Do as I suggested. Use better subjects in the future.
Logged

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: Navigation
« Reply #2 on: January 03, 2009, 08:58:42 pm »

Website is http://www.still-dancing.com
We have posted a link to coppermine on our website.


In function

Code: [Select]
// edit picture display
// Displays a picture
if (!function_exists('theme_html_picture')) {  //{THEMES}
function theme_html_picture()

of theme.php

are these lines:

Code: [Select]
} if ($mime_content['content']=='image') {
        if (isset($image_size['reduced'])) {
            $winsizeX = $CURRENT_PIC_DATA['pwidth']+5;  //the +'s are the mysterious FF and IE paddings
            $winsizeY = $CURRENT_PIC_DATA['pheight']+3; //the +'s are the mysterious FF and IE paddings
           // delete onclick popup $pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\"  /><br />";
            $pic_html .= "</a>\n";
        } else {

     // $pic_html = "<a href=\" ?????? \">";
            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\"  /><br />";
            $pic_html .= "</a>\n";
        }


I just need the right code for the link to be inserted at the ????

It should be the link to the next image when I click on the intermediate image.

$next_tgt doesnt work.


regards.
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Navigation
« Reply #3 on: January 04, 2009, 12:52:07 am »

Quote
We have posted a link to coppermine on our website.
I don't see it and I don't see a Coppermine Gallery around here  ::)  Am I missing something?
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Navigation
« Reply #4 on: January 04, 2009, 02:21:43 pm »

I don't see it and I don't see a Coppermine Gallery around here  ::)  Am I missing something?

Actual link to coppermine-driven gallery is http://www.still-dancing.com/sdgallery/ (stupid frameset link games just are a pain in the neck for supporters). The "Powered by Coppermine" footer is not being displayed although requested as per license-add-on "8.4.2.2 Preservation of author attributions" in accordance with GNU GPL, see corresponding documentation section. Restore it immediately, you're committing license fraud. There will be no support for you untill you permanently restore the credits. You're expecting others to respect your copyrights and not steal your photographs, yet you do not give credits where credits are due? What a lame attitude.

We have posted a link to coppermine on our website.
That's not enough. In fact it's invalid if you do or don't display a link to coppermine somewhere deep down on your page. We require you to preserve the "Powered by Coppermine" tag on each and every page output generated by coppermine.
Logged

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: Navigation
« Reply #5 on: January 04, 2009, 07:52:13 pm »

I totally respect this forum and website.

I do my best to support this site:

All freelancer solutions I pay for have been/will be posted here:
http://forum.coppermine-gallery.net/index.php/topic,53727.msg261563.html#msg261563
http://forum.coppermine-gallery.net/index.php/topic,57338.0.html

I posted all my programming on this forum, just examples:
http://forum.coppermine-gallery.net/index.php/topic,53454.0.html
http://forum.coppermine-gallery.net/index.php/topic,53465.0.html
http://forum.coppermine-gallery.net/index.php/topic,50553.0.html
http://forum.coppermine-gallery.net/index.php/topic,53601.0.html
http://forum.coppermine-gallery.net/index.php/topic,53676.msg261191.html#msg261191
http://forum.coppermine-gallery.net/index.php/topic,21193.msg265835.html#msg265835

... and much more....


I also posted a link to this forum.
If it is way too hidden for you, I could put it directly on the about page. Just let me know.
../sdgallery is forbidden to be indexed.

I personally would deeply regret having to use another forum.

If I am no welcome guest here anymore, please delete the link to the site in this post above and delete me as user aswell.
My contributions to this forum shall not be deleted, though.

Thank you.

regards






Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Navigation
« Reply #6 on: January 04, 2009, 08:04:18 pm »

Sorry, but you are using cpmfetch to display your pics on many the pages and I believe that is fine. But why have you got rid on the backlink on the actual gallery page and other driven pages?

http://www.still-dancing.com/sdgallery/

Your customers don't actually see it, so why get rid? On the other pages it would hardly be intrusive if styled right.

You are also using an old version with a known security problem so you need to upgrade.

<!--  SVN version info:  Coppermine version: 1.4.18  $Revision: 4380 $  $LastChangedBy: gaugau $  $Date: 2008-04-12 12:00:19 +0200 (Sa, 12 Apr 2008) $-->
« Last Edit: January 04, 2009, 08:43:40 pm by Phill Luckhurst »
Logged
It is a mistake to think you can solve any major problems just with potatoes.

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: Navigation
« Reply #7 on: January 04, 2009, 08:33:29 pm »

Hello Phill.

I am sorry, I quite did not understand your question.

I do not use cpmfetch for all pics. Only for the frontpage of still-dancing.com

../sdgallery is not the relevant site, if I could do it I would hide it from the net at all.

If you are interested in the "how" I set the system up, fell free to ask, no problem.

I know of the issue with security and am about to fix that. But its not so easy due to the many programming I did myself. I havent found a detailed documentation what has changed from 18 to 19, so I have to compare the different fileversions by hand.

regards.
Logged

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: Navigation
« Reply #8 on: January 04, 2009, 08:57:24 pm »

Sorry for double post.

Hello Phill.

Now I understood.

I would integrate the footer on ../sdgallery of course and at once. (although no search engine indexes the site)

I just cannot program it that the link does not also appear on still-dancing.com as footer.

If you could make a suggestion, I would be thankfull and implement it.

Regards.

ps. not my customers, the site is no pay site.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Navigation
« Reply #9 on: January 05, 2009, 07:47:19 am »

No visible output of the line "Powered by Coppermine" -> no support. Is that so hard to understand? Your merits on this board are null and void it you don't play by the rules.
This is not only a question of licensing, but an ethical question: the creator of Coppermine, Mister Gregory Demar, demanded to see that line. That's the heritage he has left us with. We (the Coppermine dev team) think that it's not too much asked to leave this little line as it is. If you disagree, then yes: please look for another gallery to use on your site and delete Coppermine from your server.
Logged

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: Navigation
« Reply #10 on: January 05, 2009, 11:01:01 am »

Hi.

I moved the link one step upwards directly under about.

The purpose of the link is, that a visitor of the site can follow to this forum here or to the other sites if they are interested in the software.

With putting the link in the about section I fullfill this condition 100%.


I hope with beginning of new year 2009 you think yourself aswell about this point and maybe adapt the rules of your site.
Internet is getting more and more advanced and softwares are merging together.

btw:

- so anybody who just wraps with cpfetch a pic in his wordpress blog has to put the link, too? Weird? Where is exactly the difference?

- Why dont you do put all links to opensource cpm uses under coppermine?
http://documentation.coppermine-gallery.net/de/credits.htm#codebase

Why is this site so hidden here?


It is simply visually not appropriate for us to put all links of all opensource software we use in the footer. Just too much links next to another.
As we respect ALL opensource, we put ALL the links grouped on our site.

Nothing ot add.

regards.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Navigation
« Reply #11 on: January 05, 2009, 11:07:42 am »

As I said it was a pre-requisite set up by the initial creator of coppermine. Since Gregory has left, we can't discuss this with him, so there is no point in trying to argue with me or the dev team about it.
You claim that it's enough to link the apps you use on your about page, but that's just your interpretation. You're wrong. It's not enough. I demand that you restore the footer or stop using coppermine. End of the story.
Logged

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: Navigation
« Reply #12 on: January 05, 2009, 12:23:53 pm »

So actually its not gregory, its just you. ok.

If you dont move and stay stubborn, please delete me, the link to my non-pay site in this thread and my posts of this forum as I am forbidden to participate further.

Thanks.
Logged

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: Navigation
« Reply #13 on: January 06, 2009, 09:12:13 am »

Joachim.

Maybe I overreacted. I just dont understand the reasons. Sorry.

Anyway.

I dont want to leave this forum as I like it much and dont like the others ;)

I added a link to this site at the footer of the page.

This should be sufficient to stay here and get support. ok?

regards
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Navigation
« Reply #14 on: January 14, 2009, 09:14:40 am »

Please restore it as it is out of the box.
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.