Navigation Navigation
 

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]

Main Menu

Navigation

Started by dwo, December 31, 2008, 12:06:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dwo

Hello.

In theme.php I deleted the javascript line

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


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


Joachim Müller

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.

dwo

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


In function

// edit picture display
// Displays a picture
if (!function_exists('theme_html_picture')) {  //{THEMES}
function theme_html_picture()


of theme.php

are these lines:

} 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.

Fabricio Ferrero

QuoteWe 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?
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

Quote from: Fabricio Ferrero on January 04, 2009, 12:52:07 AM
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.

Quote from: dwo on January 03, 2009, 08:58:42 PM
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.

dwo

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







phill104

#6
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) $-->
It is a mistake to think you can solve any major problems just with potatoes.

dwo

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.

dwo

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.

Joachim Müller

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.

dwo

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.

Joachim Müller

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.

dwo

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.

dwo

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

Joachim Müller

Please restore it as it is out of the box.