GetSimple Support Forum
External Comments Plugin - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: External Comments Plugin (/showthread.php?tid=1237)

Pages: 1 2 3 4


RE: External Comments Plugin - Timbow - 2014-06-17

(2014-06-16, 21:04:34)MicroCAD Wrote: Is there a way to get a notification when someone leaves a comment

Doesn't disqus send a notification?


RE: External Comments Plugin - Artur - 2016-12-09

Why, when I add (% external_comments %) to more than one post, the comments are the same for all posts? I mean, why it doesn't generate new comment form for new post? I use News Manager from Carlos.


RE: External Comments Plugin - Carlos - 2016-12-09

That placeholder works for normal pages, and posts are all displayed in one page, so you get the form for that page.


RE: External Comments Plugin - Carlos - 2016-12-09

A way to add support for External Comments to News Manager 3.0+ :

Create a component named e.g. post-comments with this content:
Code:
<?php
get_external_comments(
  'news-manager-blog/'.nm_post_slug(0),
  nm_post_url(0),
  nm_post_title('','',0)
);
?>
(where news-manager-blog/ is a custom prefix for the post id - Change it to use your own preferred one, like blog/, news/, ...)

Enable NM Custom Settings and insert this:
Code:
single componentAfterPost post-comments



RE: External Comments Plugin - Artur - 2016-12-09

(2016-12-09, 05:29:47)Carlos Wrote: A way to add support for External Comments to News Manager 3.0+ :

Create a component named e.g. post-comments with this content:
Code:
<?php
get_external_comments(
  'news-manager-blog/'.nm_post_slug(0),
  nm_post_url(0),
  nm_post_title('','',0)
);
?>
(where news-manager-blog/ is a custom prefix for the post id - Change it to use your own preferred one, like blog/, news/, ...)

Enable NM Custom Settings and insert this:
Code:
single componentAfterPost post-comments
Nice, thanks.


RE: External Comments Plugin - Piercer - 2018-01-11

A way to add support for News Manager plugin for GetSimple ver. 3.6
For VK plugin change in external_comments.php
PHP Code:
   case 'vk':
 
     /*$new_content .= "<script type='text/javascript'>VK.init({apiId: " . $external_comments_conf['shortname'] . ", onlyWidgets: true });</script>";
      $new_content .= "<div id='vk_comments'></div>";
      $new_content .= "<script type='text/javascript'>VK.Widgets.Comments('vk_comments', {page_id: '" . $PostID . "'}); </script>";
      break;*/
 
     
      $new_content 
.= "<script type='text/javascript' src='//vk.com/js/api/openapi.js?151'></script>";
 
     $new_content .= "<script type='text/javascript'>";
 
     $new_content .= "VK.init({apiId: " $external_comments_conf['shortname'] . ", onlyWidgets: true});";
 
     $new_content .= "</script>";

 
     $new_content .= "<div id='vk_comments'></div>";
 
     $new_content .= "<script type='text/javascript'>";
 
     $new_content .= "VK.Widgets.Comments('vk_comments', {limit: 10, attach: false});";
 
     $new_content .= "</script>";
 
     break

Create a component named e.g. post-comments with this content:
PHP Code:
<?php
get_external_comments
(
  
'YOUR_WEB_SITE_URL/?post='.nm_post_slug(0),
  
nm_post_url(0),
  
nm_post_title('','',0)
);
?>
Where YOUR_WEB_SITE_URL/ is a custom prefix for the post id - Change it to use your own preferred one.
Enable NM Custom Settings and insert this:
Code:
single componentAfterPost post-comments

Example http://www.stoevro.by/?post=vzroslye-muzhiki-skuchno-ne-zhivut-8-mi-chasovoj-drift-na-bmw