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 2 3 4 [5] 6 7   Go Down

Author Topic: [cpg1.4.x]: Advanced Guestbook integrated with Coppermine  (Read 258503 times)

0 Members and 1 Guest are viewing this topic.

bajabum

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Advanced Guestbook integrated with Coppermine
« Reply #80 on: December 02, 2009, 12:18:57 am »

I installed the mod and the admin area works perrfect, but when I try to access the guestbook, I get this:

MySQL Error : Connection Error
Error Number: 2002 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #81 on: December 02, 2009, 09:04:03 am »

What's your CPG root, and where did you extract guestbook files?
What page do you access guestbook from?
Did you edit /guestbook/admin/config.inc.php?
Logged

bajabum

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Advanced Guestbook integrated with Coppermine
« Reply #82 on: December 02, 2009, 05:59:07 pm »

Got it to work.
I was trying to access the index file in the /guestbook instead of the root/guestbook.php
I will think before posting next time.
Sorry for the wast of time.
It works great.....

Gracias
Logged

Forty2

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Advanced Guestbook integrated with Coppermine
« Reply #83 on: May 03, 2010, 11:31:47 pm »

Hi,
thanks for that great guestbook.
It works like a charme.
But I have 2 smaller issues with it.

1. German language:
The special characters of the German language are totally corretly shown within the guestbook (like ä,ö...)
But when I receive the notification email, the HTML translation is shown, not the transformed once. So ä is Ä
Any idea?
2. Added pictures:
I am able to add pictures and I am able to see them in the guestbook.
But clicking on them, the preview popup comes up, showing no picture at all.
Any idea?

And last one remaining questions.
The two computers in each guestbook post are blinking. Does that mean, that the guy is online?

Thx in advance.
Forty2
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #84 on: May 11, 2010, 07:03:20 pm »

Hi,
thanks for that great guestbook.
It works like a charme.
Thanks a lot :)

Quote
The special characters of the German language are totally corretly shown within the guestbook (like ä,ö...)
But when I receive the notification email, the HTML translation is shown, not the transformed once. So ä is Ä
Any idea?
Change encoding to UTF-8 in your email client. :P

Quote
I am able to add pictures and I am able to see them in the guestbook.
But clicking on them, the preview popup comes up, showing no picture at all.
Any idea?
Now it should be fixed, please download the updated archive attached to the first post and give me feedback. The only file changed is /guestbook/picture.php, you have only to replace this file in your installation with the updated one.

Quote
The two computers in each guestbook post are blinking. Does that mean, that the guy is online?
No, it doesn't :)
« Last Edit: August 06, 2010, 05:17:06 pm by Ludo »
Logged

Forty2

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Advanced Guestbook integrated with Coppermine
« Reply #85 on: May 14, 2010, 09:18:56 pm »

Hi,
thank you for that fix within the picture.php.
Now it works perfect.
Forty2

Thanks a lot. :)
Change encoding to UTF-8 in your email client. :P
Now it should be fixed, please download the updated archive attached to the first post and give me feedback. The only file changed is /guestbook/picture.php, you have only to replace this file in your installation with the updated one.
No, it doesn't :)
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #86 on: May 26, 2010, 10:54:46 am »

Released version 1.0.4, which includes fix discussed above and a minor fix to admin panel footer
Logged

Forty2

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Advanced Guestbook integrated with Coppermine
« Reply #87 on: June 16, 2010, 10:49:04 pm »

Released version 1.0.4, which includes fix discussed above and a minor fix to admin panel footer

Hi,
once more I have a question.
Directly after the installation of the guestbook everything worked fine.
But now, the email notification does not work any more.

I have the following settings:
send e-mail to webmaster (private messages)
send e-mail to webmaster
send e-mail to guest

All of them are marked.
Did I miss something?
Thx.
Forty2
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #88 on: June 17, 2010, 10:01:48 am »

Do you mean that this email issue happened after upgrading to 1.0.4?
Anyway, I've just tried leaving a message in my guestbook and I regularly received notification via email ;)
Logged

Forty2

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Advanced Guestbook integrated with Coppermine
« Reply #89 on: June 17, 2010, 11:08:14 pm »

Do you mean that this email issue happened after upgrading to 1.0.4?
Anyway, I've just tried leaving a message in my guestbook and I regularly received notification via email ;)

Hi,
no I did not upgrade to 1.0.4 until now.
The email notification worked for some times, but now it does not anymore.
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #90 on: August 06, 2010, 05:19:59 pm »

Quote
The special characters of the German language are totally corretly shown within the guestbook (like ä,ö...)
But when I receive the notification email, the HTML translation is shown, not the transformed once. So ä is Ä
Any idea?
Change encoding to UTF-8 in your email client. :P
I reconsidered this issue as a bug, as it's possible to set email content-type and charset via PHP code, instead of yielding to client server setting.
Please try this mod:

OPEN
guestbook/lib/add.class.php

FIND (2 times)
Code: [Select]
From: $from_email\nX-Mailer: Advanced Guestbook 2");
BEFORE, ADD:
Code: [Select]
Content-Type: text/html; charset=utf-8\n
FIND
Code: [Select]
From: ".$this->db->VARS['admin_mail']."\nX-Mailer: Advanced Guestbook 2");
BEFORE, ADD:
Code: [Select]
Content-Type: text/html; charset=utf-8\n
SAVE AND CLOSE

If it works, I will release it in 1.0.5 version.
Logged

hlabout

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • Harald Labout Fotografie
Re: Advanced Guestbook integrated with Coppermine
« Reply #91 on: August 09, 2010, 08:30:09 am »

Ludo,

I have a simular problem, as mentioned by Forty 2, on my coppermine gallery with the advanced gustebook.

Using coppermine 1.4.26 with advanced guestbook 1.0.3 on my gallery: www.haraldlabout.nl
When someone uses a 's like in foto's it shows up as 's so foto's transforms in foto's.
I know it has to do with the character set encoding.
My coppermine gallery is set to UTF-8.

I tried the above mentioned code, same result still 's when a 's is used.

I posted a question about this before, see http://forum.coppermine-gallery.net/index.php/topic,64646.msg321080.html#msg321080
I was told my whole database should be converted using the charset manager.
Never don this because I don't know how to do this.

Perhaps you have another tip for my correcting this problem.

Dispite this small problem I just love the guestbook and i have a perfect match with my gellery.
When the 's shows up I can always correct it using the administrator function.
 
Harald
Logged

hlabout

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • Harald Labout Fotografie
Re: Advanced Guestbook integrated with Coppermine
« Reply #92 on: August 09, 2010, 08:54:36 am »

p.s. ref above post.

When I run the charsetmgr.php the first message is: Your site is already configured to use utf-8. You don't need this script and should leave this page.
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #93 on: August 10, 2010, 04:31:41 pm »

I notice that your guestbook page charset is set to iso-8859-1, almost surely this is the issue.
Check charset in your gallery lang file, please.
Logged

hlabout

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • Harald Labout Fotografie
Re: Advanced Guestbook integrated with Coppermine
« Reply #94 on: August 10, 2010, 05:23:02 pm »

Ludo,

Thanks for the reply.
How do I check this?
My settings in coppermine are UTF-8.

Harald
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #95 on: August 11, 2010, 01:12:17 am »

Look for the variable $lang_charset in lang/dutch.php or whatever language you are using: it must be set to utf-8 too.
Logged

hlabout

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • Harald Labout Fotografie
Re: Advanced Guestbook integrated with Coppermine
« Reply #96 on: August 11, 2010, 09:01:26 am »

Found this im my dutch lang file:

$lang_charset = 'utf-8';

Should I set this to iso-8859-1?

Again thanks for the reply.

Harald
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #97 on: August 11, 2010, 12:01:15 pm »

No, it's right, but then there must be something wrong with your template.html file, if charset in <head> section of your pages is set to iso-8859-1!
Please post it.
Logged

hlabout

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • Harald Labout Fotografie
Re: Advanced Guestbook integrated with Coppermine
« Reply #98 on: August 11, 2010, 12:17:28 pm »

Ludo,

Found: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Changed it in: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
No result, still same behavior.

Harald
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #99 on: August 11, 2010, 04:05:47 pm »

Your pages' charset is still set to iso-8859-1, please post your actual template.html
Logged
Pages: 1 2 3 4 [5] 6 7   Go Up
 

Page created in 0.024 seconds with 20 queries.