peterpatzig
Forum Replies Created
-
Forum: Plugins
In reply to: [Facebook Fanpage import] Fix for thumbnails category excerptHey Sven,
sorry for replying late.
I rechecked your code and the facebook api and came to the conclusion that you’re not pulling an excerpt but the whole message aka status message. My tests show the same.
The function get_post_excerpt( $entry ) returns the full message. The filter (fbfpi_import_post_excerpt) you’re applying does not work.
Better would be to insert the whole posting in the correct column.
Categories still aren’t inserted properly. The values can be pulled from the db but you’re missing the statement when calling wp_insert_post function.
Forum: Plugins
In reply to: [Facebook Fanpage import] Fix for thumbnails category excerptIn
public function import()
you declare$post_excerpt = $this->get_post_excerpt( $entry );
I didn’t look further but for me$post_excerpt
always contains the full content from every facebook posting.The problem with my theme is, that it creates the excerpt on it’s own from post_content if post_excerpt is empty. Your plugin inserts the whole posting in the excerpt column in wordpress. This led to the problem, that my preview page was previewing every posting with very long “excerpts”.
If filling both post_excerpt and post_content you should strip the excerpt to a value which can be defined in the admin area. For some people like me, the excerpt isn’t needed at all.Maybe I could clarify things.
Forum: Plugins
In reply to: [Facebook Fanpage import] Fix for thumbnails category excerptSorry,
forgot to mention which file to edit.
components/import/import-stream.php
Forum: Plugins
In reply to: [Facebook Fanpage import] Images and category dont workForum: Plugins
In reply to: [Facebook Fanpage import] Kein Thumbnail mehr!Hallo Wursti,
ich habe hier einen Fix für dein Problem:
https://www.ads-software.com/support/topic/fix-for-thumbnails-category-excerpt