Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
External Comments Plugin
#76
(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?
Reply
#77
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.
Glowczynski.pl - webmaster, graphic designer, translator.
For any job offers contact me via artur@glowczynski.pl.
Reply
#78
That placeholder works for normal pages, and posts are all displayed in one page, so you get the form for that page.
Reply
#79
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
Reply
#80
(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.
Glowczynski.pl - webmaster, graphic designer, translator.
For any job offers contact me via artur@glowczynski.pl.
Reply
#81
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-muz...ift-na-bmw
Reply




Users browsing this thread: 2 Guest(s)