Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 14 Dec 2017, 05:40
noypiscripter's Avatar
noypiscripter noypiscripter is offline
Join Date: Aug 2013
[] Add Like button in Comments

By default, comments in vB5 have no Like button. I don't know the rationale behind not adding Likes in comments when you can like starter posts and replies.

If you want to enable Like button in comments, you've come to the right thread! This requires a very simple change in the comment template.

Here are the steps:
  1. Login to AdminCP.
  2. Navigate to Styles > Search in Templates.
  3. Select the desired style/theme in the "Search in Style" dropdown.
  4. Enter "conversation_comment_item" (without quotes) in the "Search for Text" field.
  5. Select "Yes" in the "Search Titles Only" radio button.
  6. Click "Find" button.
  7. Double-click on the "conversation_comment_item" in the search result box to edit the template. Or select it then click "Edit" button on the "Controls" block on the right.
  8. Search for the following line in the template: (Hint: It is near the bottom)

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  9. Insert the following code ABOVE the code in Step 8

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  10. Click "Save" button.
  11. Repeat Steps 2 to 10 for each active style/theme you are using.
Adding the above code still adheres to the Like permission system. If user (e.g. guests) has no permission to like a post, the Like button will not be visible in the comments. Likewise, if you like your own comment, it will display an error "You cannot Like your own posts." similar to when you like your own starter post or reply.

This is a FREE mod. If you use this mod, please consider donating to show your support. Thank you!


This requires a template edit, so:
  • That means this mod is only for self-hosted version and not possible in vBCloud. Sorry vBCloud owners!
  • It may cause a template merge conflict for "conversation_comment_item" template whenever you upgrade. You would have to resolve the conflicts to ensure the change is not lost

This mod is also posted on my site.
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
Old 23 Dec 2017, 22:44
goxy63 goxy63 is offline
Join Date: Oct 2008
Thank you, cheers
Reply With Quote
Old 13 Mar 2018, 09:27
Naijasite's Avatar
Naijasite Naijasite is offline
Join Date: Mar 2012
thanks it works well on my forum
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements [] Add Custom Profile Fields in Postbit noypiscripter vBulletin 5.x Products & Extensions 13 05 Mar 2021 08:57
New Posting Features [] Quote Selected Text noypiscripter vBulletin 5.x Products & Extensions 7 28 Feb 2019 01:30
Show Thread Enhancements [] Display Status Update in Postbit noypiscripter vBulletin 5.x Products & Extensions 1 29 Jan 2019 15:31
Calendar Enhancements [] Event Date That Rocks using CSS noypiscripter vBulletin 5.x Template Modifications 4 05 Apr 2017 18:32
Miscellaneous Hacks [] Quick fix for guests having no access to the reset-password page noypiscripter vBulletin 5.x Products & Extensions 0 06 Aug 2016 01:17

comment, like system

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 05:39.

Layout Options | Width: Wide Color: