Guestbook plugin - email encryption

Creating and modifying plugins.
daniello
Regular
Posts: 84
Joined: Thu Apr 09, 2009 11:47 am

Guestbook plugin - email encryption

Post by daniello »

Hi .. I set the guestbook plugin to include an email query. It is mentioned in the form that the mailaddress will be encrypted. Inded I get a dummy address while hovering over the name. The question is though .. where will the mail address appear ? I expected it to be included in the mail the admin gets. If the real mail address appears nowhere .. there is not much sense in querying it. Is there?

br
Daniello
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Guestbook plugin - email encryption

Post by garvinhicking »

Hi!

Yes, the option will actually remove the email address from the guestbook. So with this option set, you have no way to get the originally entered e-mail address.

That's a bit unconvenient, of course. I changed the plugin for version 3.07 so that the email is only hidden for non-logged in users.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
daniello
Regular
Posts: 84
Joined: Thu Apr 09, 2009 11:47 am

Re: Guestbook plugin - email encryption

Post by daniello »

hi garvin, I don't see the update in spartacus .. how may I get access to it?

Cheers,
Daniel
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: Guestbook plugin - email encryption

Post by kleinerChemiker »

You have to wait one or two days till it gets to spartacus. Or you could fetch it from cvs.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Guestbook plugin - email encryption

Post by garvinhicking »

Hi!

Wait 24-48 hours until both spartacus gets updated and your cache gets reloaded. Or you can manually download it from CVS, if you know how to work with CVS / http://php-blog.cvs.sourceforge.net/vie ... _guestbook

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
daniello
Regular
Posts: 84
Joined: Thu Apr 09, 2009 11:47 am

Re: Guestbook plugin - email encryption

Post by daniello »

Garvin, could you facilitate a page title option like for the contact form?

For all main pages I get "Pagename - Daniel Lowicki" .. only the Guestbook Title is standalone and reads just "Guestbook".

http://www.lowicki.de

Possibly there is a trick to unify this?!

br
Daniel
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Guestbook plugin - email encryption

Post by garvinhicking »

Hi!

Sure, no problem. Just committed that to spartacus again.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
daniello
Regular
Posts: 84
Joined: Thu Apr 09, 2009 11:47 am

Re: Guestbook plugin - email encryption

Post by daniello »

garvinhicking wrote:Hi!
Or you can manually download it from CVS, if you know how to work with CVS / http://php-blog.cvs.sourceforge.net/vie ... _guestbook
I might as well ask .. it will surely pop up again sometime. I downloaded the 1.47 version of serendipity_event_guestbook.php which was the only file that was recently changed. Copied that to my serendipity_event_guestbook plugin folder. But I don't see any change in s9y. You said something about a cache ... how can I force an update (or did you just mean the browser cache)?

br
Daniello
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Guestbook plugin - email encryption

Post by garvinhicking »

Hi!

The cache only applies to Spartacus, which only performs a check once a day to the repository.

When you manually uploaded the file, does the plugin now show up as version 3.08 in your plugin management screen? It should now use what you entered as the "headline" inside the guestbook plugin configuration as the blog header...?!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
daniello
Regular
Posts: 84
Joined: Thu Apr 09, 2009 11:47 am

Re: Guestbook plugin - email encryption

Post by daniello »

Hi!

Yes .. it shows 3.08.

I have "Gaestebuch - Daniel Lowicki" in the "Seitentitel" Entry .. still it says just "Daniel Lowicki" in the title bar.

And I don't want an "Überschrift" .. I delete the field's content and save .. and its gone from the blog page. But if I call the plugin configuration again .. it sais "Gästebuch" in that field again. Would sure be good if that field would stay empty once the content is manually deleted.

br
Daniello
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Guestbook plugin - email encryption

Post by garvinhicking »

Hi!

Actually, serendipity doesn't support the concept of "empty" fields that have a default entry. As soon as they are emtpied, they get the default entry applied, that's true.

I don't know why the headline wouldn't work in this case. How does your index.tpl look like in the banner section? Does it use $blogTitle for the <title> tag?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
daniello
Regular
Posts: 84
Joined: Thu Apr 09, 2009 11:47 am

Re: Guestbook plugin - email encryption

Post by daniello »

Haven't touched the index.tpl .. it reads

Code: Select all

<title>{$head_title|@default:$blogTitle}{if $head_subtitle} - {$head_subtitle}{/if}</title>
D-)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Guestbook plugin - email encryption

Post by garvinhicking »

Hi!

Hm, that's strange. I'll have to then try to reproduce this problem, this could take some time.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
daniello
Regular
Posts: 84
Joined: Thu Apr 09, 2009 11:47 am

Re: Guestbook plugin - email encryption

Post by daniello »

the plugin applet sais 3.08

The serendipity_event_guestbook.php sais 2.8 and has 40.936 Bytes (the former one also sais 2.8 and has 40.733 Bytes .. I stored it as .bak in the same folder)

Just to make sure I didn't mess up. Wouldn't want to cause any inconvenience.

Cheers,
Daniello
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Guestbook plugin - email encryption

Post by garvinhicking »

Hi!

Found the bug. The variables were set too late. I updated it to 3.09 (file revision 1.48).

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply