Skip navigation

Bootstrap jComment

jComment is a professionally written lighter and faster script which allows you to attach any type comment posting feature with any type of record within your application easily by using few steps. It is written using latest web standards including jQuery, Bootstrap and PHP.

Documentation »  Examples »

jComment Example Code

// jComment Sample Usage
$(function () {
$('#jugnooncmt').jComment({
showAvator: true,
width: 750,
contentID: '<?= $contentId ?>',
userName: '<?= $auth->userName ?>',
avatorWith: 65,
avatorUrl: 'http://example.com/images/sample.jpg',
avatorPictureName: 'sample.jpg',
thumbDirectoryPath: '<?= SITE_DOMAIN . 'contents/member/' ?>',
avatorCss: 'img-responsive avator',
isMemberDirectory: true,
profileUrl: '<?= SITE_DOMAIN . 'user/index.php?usr={p}' ?>',
tComments: 140,
requiredMsg: "Please enter few words to post comment",
rootUrl: 'http://www.bootstrapkits.com/jcomment/',
enableEnter: true,
pageSize: 10
});
});
For more examples and customization options visit SDK Section

jComment Sample Demo