Mailentry with 0.8beta5?

Creating and modifying plugins.
Post Reply
pano
Regular
Posts: 24
Joined: Tue Apr 05, 2005 11:15 am

Mailentry with 0.8beta5?

Post by pano »

I installed the mailentry event plugin with Serendipity 0.8 beta 5, but the form to send the post shows out of the layout.

Besides, i can not find the mailentry plugin anymore in the cvs list....

Somone using the mailentry plugin with the last version has this problem?

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

Re: Mailentry with 0.8beta5?

Post by garvinhicking »

I have not found a plugin 'mailentry'.

Do you mean serendipity_event_mailer which comes bundled with the Serendipity Installation? That one does not offer a "form to send the post" as it hooks into the "New entry" admin panel.

Please post screenshots and the URL where you got the plugin from.

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 »

For two hours I could not remember where i found this plugin...

If you do a search for "send to friend" in this great forum, you will find this post:
http://www.s9y.org/forums/viewtopic.php?t=707

The URL of the developer is:
http://coeusgroup.com/en/archives/170-e ... ipity.html

My version of the plugin (translated to spanish, in a temporaly directory):
http://www.casarusia.com/temp/serendipi ... entry.phps

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

Post by garvinhicking »

Pano, this plugin was not compatible with Serendipity 0.8

I patched it to be compatible with 0.8 and committed it to our CVS. It should shortly become available here: http://cvs.sourceforge.net/viewcvs.py/p ... mailentry/
# 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/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

I wanted to have a link that says "Email This Article" in my header on the overview pages, so that people wouldn't have to click into the article itself to realize they had this option. So I edited my footer to call the permalink, with the text "Email This Article" (see the blog in my sig for example).

Unfortunately, that just takes them into the permalink page - it doesn't really direct them down to the Email Entry box at the bottom.

Is there a more elegant way to do this?

Or perhaps even put the Email Entry box right down there at the bottom of the entry?

I'm finding a lot of my visitors use this feature, so I want to make it as convenient as possible. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

1. You use a link like:

http://thehathorlegacy.info/archives/88 ... trackbacks

That will only take you to the trackbacks though, but it's immediately near there.

2. You turn on your XHTML11 compliance in serendipity and use the link

http://thehathorlegacy.info/archives/88 ... Entry_form

3. You edit your plugin file (or use version 1.11 which I've just committed) and insert at line 120:

Code: Select all

<a id="serendipity_mailEntry"></a>
then save that file and use the link

http://thehathorlegacy.info/archives/88 ... _mailEntry


Either way should work fine I hope! :)

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/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

Okay, options 1 and 3 work great!

I didn't try 2. :)

I prefer 3 because on the off-chance I ever get a dozen trackbacks, this puts them right where they want to be. Great, thank you!
Post Reply