Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[vBMods.rocks] Add Like button in Comments Details »
[vBMods.rocks] Add Like button in Comments
Mod Version: 1.00, by noypiscripter (Coder/Designer) noypiscripter is offline
Developer Last Online: Jan 2018 I like it Show Printable Version Email this Page

vB Version: 5.3.2 Rating: (2 votes - 5.00 average) Installs: 3
Released: 14 Dec 2017 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

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!

NOTES:

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Calendar Enhancements [vBMods.rocks] Event Date That Rocks using CSS noypiscripter vBulletin 5.x Template Modifications 4 05 Apr 2017 19:32
Show Thread Enhancements [vBMods.rocks] Add Custom Profile Fields in Postbit noypiscripter vBulletin 5.x Products & Extensions 5 24 Feb 2017 17:58
New Posting Features [vBMods.rocks] Quote Selected Text noypiscripter vBulletin 5.x Products & Extensions 4 08 Jan 2017 15:39
Miscellaneous Hacks [vBMods.rocks] Quick fix for guests having no access to the reset-password page noypiscripter vBulletin 5.x Products & Extensions 0 06 Aug 2016 02:17
Show Thread Enhancements [vBMods.rocks] Display Status Update in Postbit noypiscripter vBulletin 5.x Products & Extensions 0 02 Aug 2016 21:27

Comments
  #2  
Old 23 Dec 2017, 23:44
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Thank you, cheers
__________________
VB5-- WHO HAS VISITED TODAY(last 24h) PLEASE VOTE HERE
VB5--FIRST POST ON EVERY PAGE PLEASE VOTE HERE
Reply With Quote
Reply

Tags
comment, like system


Currently Active Users Viewing This Thread: 4 (0 members and 4 guests)
 
Mod Options

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
Forum Jump


New To Site? Need Help?

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

Layout Options | Width: Wide Color: