Closed (fixed)
Project:
Simpleshare
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2011 at 16:36 UTC
Updated:
13 Jan 2012 at 16:19 UTC
1.)
For sending pictures with posts you can at
$picture=url($node->field_image[0]['filepath'], array('absolute' => TRUE));
to the simpleshare.modal.inc.
And change one of the following lines to:
$fb_query = array('app_id' => $fb_appid, 'link' => $link, 'name' => $title, 'description' => $description, 'picture' => $picture, 'redirect_uri' =>$redirect, 'display' => 'popup');
2.)
In simpleshare.modal.inc I think is it also better to using $description=strip_tags($node->teaser);
If people use a wysiwyg-editor and not text_plain, no teaser will post to facebook.
Comments
Comment #1
Rob_Feature commentedFeel free to post a patch and I'll look it over.
Comment #2
Rob_Feature commentedThe first part of this post (the main part) was about adding an imagefield. We can't do what you suggest because we can't know if everyone is using an imagefield at all. So, we won't fix that.
Your strip tags suggestion, however, is a good one and it's been committed to dev. (please dont mix two issues in one issue queue post)
Comment #3
breitner commentedSorry, my part with the imagefield was quick&dirty.
But, isn't it possible to make a query if the imagefield is used?
Comment #4
Rob_Feature commentedPlease start a new issue and we can discuss it there. Thanks.
Comment #6
Felicia22 commentedHow do I take the strip tag out of my teaser node code? It's in my event body teaser code to strip tags and I don't want it there??
Comment #7
Felicia22 commentedHow do I take the strip tag out of my teaser node code? It's in my event body teaser code to strip tags and I don't want it there??
Comment #8
Felicia22 commentedHow do I take the strip tag out of my teaser node code? It's in my event body teaser code to strip tags and I don't want it there??