WordPress.org

Ready to get started?Download WordPress

Forums

Tell a friend-plugin (15 posts)

  1. Thord Daniel Hedengren
    Member
    Posted 8 years ago #

    I'm looking for a plugin that lets me add a tell a friend-functionality to posts (and pages).

    I just want to e-mail the link along with a note, either pre-defined or editable by the one telling the friend. I don't want to send the whole post, just the link.

    Any suggestions?

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    http://wordpress.org/support/topic/62975?replies=6
    The second plugin mentioned.
    Works very well and you can make the link an image too.

  3. Thord Daniel Hedengren
    Member
    Posted 8 years ago #

    I've looked at that one but it e-mails the whole post?

  4. WPChina
    Member
    Posted 8 years ago #

    No, in the admin section after you install the plugin you can set the amount of words you want in the "snippet". You can have the entire post, or none at all, or just a few words--up to you. It's a really cool plugin.

  5. Lester Chan
    Member
    Posted 8 years ago #

    Thanks for the compliments =)

    Just to add, if u want the excerpt of the post, just replace the template variable.

  6. Thord Daniel Hedengren
    Member
    Posted 8 years ago #

    Ah, I see! Then I'll check it out. Thanks!

    GamerZ: does your plugin support special characters, like åäö in Swedish for instance?

  7. Lester Chan
    Member
    Posted 8 years ago #

    yap, it is utf-8 encoding.

  8. G_G
    Member
    Posted 8 years ago #

    Thats a sweet plugin!

  9. childrensfitness
    Member
    Posted 8 years ago #

    Is there a way to apply this feature to just have a 'tell a friend' note about the site in general, not just a post? When people visit my homepage, I just want a little button that says "Tell a friend about this site". They type a friends email in the space given and hit send. There friend gets an email with a link to the site.

  10. WPChina
    Member
    Posted 8 years ago #

    Ok, it is a very good plugin, but I am having problems with integrating into my template.

    It uses this tag for formatting:
    <div id="content" class="narrowcolumn">

    I can go in and change that and also add lots of html code around it to get it formatted correctly for my blog, but it is a lot of trouble and introduces potentially more formatting errors when there is an upgrade.

    I hope to see an easy way to integrate into different themese sometimes soon. ;)

  11. Lester Chan
    Member
    Posted 8 years ago #

    I have been thinking of a solution, by the tempates are too difficult to have a common point.

  12. WPChina
    Member
    Posted 8 years ago #

    Right, I agree, and your use of "narrowcolumn" does work with probably very many blogs. Hmmm... I have been thinking about this too...

    I just upgraded today to wp-email203 from wp-email202, and now it is easier to install and manage all the file locations, but many of the template choices in the main wp-email.php are now moved to other files. I can easily make the first page display correctly, but all subsequest pages don't work so well with the themes.

    Also, in wp-email.php I added the following, but it is not read by the plugin:
    <?php include (TEMPLATEPATH . '/sidebar-right.php'); ?>

    It seems that TEMPLATEPATH does work, though, because when I change "include" to "print", it does print out the correct path... but it seems not able to parse secondary WP files. I may be wrong, and I will continue to test.

    One trick I thought of was to either have a small pop-up window or a DHTML pop-up... either one would not need a template and might be easier to deal with... just a thought. :)

  13. Lester Chan
    Member
    Posted 8 years ago #

    hmmm, good point there, maybe in the next version, I will include this as additional option.

  14. WPChina
    Member
    Posted 8 years ago #

    Or... I am not an expert on WP and so I am unsure exactly how the templates for the themes work, but is it possible to make a template called something like wp-email.php and then your script uses that template?

    If we could make a template like that, then we coould include some sort of variable code in the template where ALL of your script would go... do you follow? Basically we would use the template as a shell and just place maybe a few lines of variable code to call your script to put in that area...

    However, if it's not possible to create an additional template within the WP framework, then this idea is not possible. ;)

  15. Lester Chan
    Member
    Posted 8 years ago #

    I tried, it is using get_header(); get_sidebar(); and get_footer();

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags