Preview post from admin with "email entry" plugin

Found a bug? Tell us!!
pano
Regular
Posts: 24
Joined: Tue Apr 05, 2005 11:15 am

Preview post from admin with "email entry" plugin

Post by pano »

Hi,

i installed the "email entry to a friend" plugin. It works, but when i do a preview of the post from the admin area, the form to send the post to a friend shows over the post. Is just a problem of design... because once the post is saved, it works and it shows ok from the public area.

I tried to install the last version (1.3), but this little bug is still there.

Using 0.8 beta 5, by the way.

Does anyone have the same problem (if using that plugin)??

Thanks!
pano
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Preview post from admin with "email entry" plu

Post by garvinhicking »

First off, upgrade your serendipity. It is exploitable.

Second, could you send a screenshot of the problem?

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/
pano
Regular
Posts: 24
Joined: Tue Apr 05, 2005 11:15 am

Post by pano »

Screenshot of the preview post from admin:
http://www.tonete.com/externos/cradmin.jpg
pano
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Okay, an upgrade to 0.8 should solve the problem. On my installation (0.8 + latest mailer plugin) I cannot reproduce this behaviour.

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/
pano
Regular
Posts: 24
Joined: Tue Apr 05, 2005 11:15 am

Post by pano »

Thanks... i will upgrade as soon as posible (or i had time...)
pano
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Same problems

Post by TKS »

Garvin,


I'm having the same problems with the current version (.8 ) of serendipity. So, I uninstalled the email plugin thinking that it was causing my entry to display wrong. (emailing the entry isn't that important to me...I was just trying it out)


However, the preview is still messed up. I took a snapshot of both the preview and how the article looks in the htmlarea.

http://fatalfame.org/gallery/Serendipity

Bottom line is that this article is displaying all screwy after dropping text in it from OpenOffice. So...I removed all format from it using a text doc in Windows XP...but as you can see, it still renders silly like. I'm thinking I need to start over and type this 5 page review from scratch. However, I do feel it is important that you guys know that this is a problem. I'll field any questions anyone has on this to the best of my ability.

TKS
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Update

Post by TKS »

FYI:


I was able to get things back to normal...but I had to delete that posting/draft and just not use it anymore and start a new post.

I think there might be a problem with the formatting of text in the html area...ESPECIALLY when cutting and pasting text from OpenOffice and Macroshaft Word. Once it is in there, it won't let you reset the post back to plain old text.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Update

Post by garvinhicking »

Yes,

this is a known issue with any WYSIWYG editor; one you introduce badly formatted code from other software via Copy+Paste, you might never be able to repair the text.

What you did looks like you copy+pasted the surrounding HTML of serendipity parts to your serendipity part again, thus creating a loop.

However you should always be able to switch to Source view (The <> icon) and then remove the text 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/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

Garvin,

I also was able to duplicate the same problem with the 'email this entry' plugin installed. It displayed the email form at the top of the blog entry just like pano did.

FYI: I am up to date with version .8

Here's the screenshot of it...
http://fatalfame.org/gallery/Serendipity/EMAIL
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

TKS: Which version of the "Email this entry" plugin do you have? Version "1.3"? (See the top of the mailentry plugin file)

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/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

1.3

Post by TKS »

Garvin,

Version 1.3 is installed.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 1.3

Post by garvinhicking »

TKS, which template are you using? And does your template folder contain a 'layout.php'?

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/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

Garvin,

MT-Trendy...the only place i have a layout.php is in the /default directory. Nothing in the MT-Trendy one.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

In Serendipity 0.8 a layout.ph MAY NOT exist in the template directory 'default'. Please read the release announcement and then remove the file :)

This should fix your bug.

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/
ivlivs

Post by ivlivs »

Bug still exists in Serendipity 0.9.1 with Contact Module plugin 1.6: module shows up instead of post preview. I'm using kubrick template and the only layout.php is inside the newspaper folder. Renaming it has no effect.
Post Reply