Banner image

Adding a comment thread into a page

It's often useful to have a comment thread inserted into a page. For example when a reading passage allows audio file submissions or online recording.

How to add a comment thread

  1. Include the class in your page $commentDB = $this->loadMethod('commentDB', true);
  2. Choose a unique name for this thread ( 'my-unique-thread-name' ) and insert this code where the comment thread is to appear.

    <?php $commentDB->thread('my-unique-thread-name'); ?>

Example

Members Only

Log in to make comments
iBiscuits LOGO

380 memberDB.php INSERT INTO et_page_visits ( vuid,vpage,vreferrer,vtime,vlang,vagent,vbot,vversion,vguest,vip) VALUES ( "1","http://englishtap.com/help/comments","Unknown","1534616614","","CCBot/2.0 (https://commoncrawl.org/faq/)","","biscuits-12y","","54.80.87.62") ON DUPLICATE KEY UPDATE vuid = "1" ,vpage = "http://englishtap.com/help/comments" ,vreferrer = "Unknown" ,vtime = "1534616614" ,vlang = "" ,vagent = "CCBot/2.0 (https://commoncrawl.org/faq/)" ,vbot = "" ,vversion = "biscuits-12y" ,vguest = "" ,vip = "54.80.87.62"
538 engine.php getContent help