densey
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [WordPress to Buffer] [Plugin: WordPress to Buffer] Blank PageWhen I enter the Buffer API settings I keep getting the message:
Buffer has not returned an expected result.
Please check your Client ID and Token.I’ve copy/pasted and typed in manually and it makes no difference. Callback URL is correct.
WP 3.4.2
WP to Buffer 0.8
PHP 5.3.10Forum: Plugins
In reply to: [Sociable] [Plugin: Sociable] Malware issue popping up on installIf you go into the plugin file sociable/includes/class-sociable_Admin_Options.php and delete lines 123-156 it will delete the social link that is causing the malware error.
Forum: Plugins
In reply to: [Sociable] [Plugin: Sociable] Malware issue popping up on installStill getting malware…
Forum: Plugins
In reply to: [Live Blogging] [Plugin: Live Blogging] Automatically add a link to tweets?I made these changes to add the URL (changes in bold):
//get the hashtag (we need the id of the parent blog post, not $post->ID here) $parent_post_id = (int)$_POST['live_blogging_entry_post']; $hashtag = get_post_meta($parent_post_id, "liveblogging_hashtag", true); <strong>$permalink = get_permalink( $parent_post_id );</strong> //how much space do we have? if ($hashtag) { $tweetlength = 140 - strlen($hashtag)<strong>- strlen($permalink</strong>)- 2; } else { $tweetlength = 140; } //do I need to trim the tweet? if (strlen($content) > $tweetlength) { $content = substr($content, 0, $tweetlength - 1) . html_entity_decode('…', ENT_COMPAT, 'UTF-8'); } //add hashtag and permalink if ($hashtag) { $content .= " #" . $hashtag<strong>." ".$permalink</strong>; }[Moderator Note: Please post code or markup snippets between backticks or use the code button.]
Viewing 4 replies - 1 through 4 (of 4 total)