AdminCP / Language & Phrases / Search in Phrases
Not in the template itself.
Announcement
Collapse
No announcement yet.
Add Like button in Comments
Collapse
X
-
Originally posted by NumNum View PostYes, you need to search the phrase variable $vbphrase[vote_cap] and change it to what you want. That is for the original "Like" you see in a post, I don't know if this mod inherits that phrase.
- Top
- Translate
- Bottom
Leave a comment:
-
Originally posted by NumNum View PostYes, you need to search the phrase variable $vbphrase[vote_cap] and change it to what you want. That is for the original "Like" you see a the post, I don't know if this mod inherits that phrase.
- Top
- Translate
- Bottom
Leave a comment:
-
Yes, you need to search the phrase variable $vbphrase[vote_cap] and change it to what you want. That is for the original "Like" you see in a post, I don't know if this mod inherits that phrase.
You would also want to search for $vbphrase[unvote_cap] and change that as well.
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
Originally posted by glennrocksvb View PostBy 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 place! This requires a very simple change in the comment template.
Here are the steps:- Login to AdminCP.
- Navigate to Styles > Search in Templates.
- Select the desired style/theme in the "Search in Style" dropdown.
- Enter "conversation_comment_item" (without quotes) in the "Search for Text" field.
- Select "Yes" in the "Search Titles Only" radio button.
- Click "Find" button.
- 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.
- Search for the following line in the template: (Hint: It is near the bottom)
Code:{vb:template conversation_footer, conversation={vb:raw conversation}, controls={vb:raw footerControls}}
- Insert the following code ABOVE the code in Step 8
Code:{vb:set footerControls.showVoteCtrl, 1}
- Click "Save" button.
- Repeat Steps 2 to 10 for each active style/theme you are using.
This is a FREE mod. If you use this mod, please consider donating to show your and 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
- Top
- Translate
- Bottom
Leave a comment:
-
I have been wondering about this myself I am so glad I am taking the time to surf through all the posts here, this was a great find, thanks Glenn
- Top
- Translate
- Bottom
Leave a comment:
-
Actually I wasn't aware of lack of like button in comments
I applied the instructions and it seems very good now.
Thank you so much.
- Top
- Translate
- Bottom
Leave a comment:
-
This is fantastic! Two cups of coffee sent!
- Top
- Translate
- Bottom
- Likes 2
Leave a comment:
-
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 place! This requires a very simple change in the comment template.
Here are the steps:- Login to AdminCP.
- Navigate to Styles > Search in Templates.
- Select the desired style/theme in the "Search in Style" dropdown.
- Enter "conversation_comment_item" (without quotes) in the "Search for Text" field.
- Select "Yes" in the "Search Titles Only" radio button.
- Click "Find" button.
- 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.
- Search for the following line in the template: (Hint: It is near the bottom)
Code:{vb:template conversation_footer, conversation={vb:raw conversation}, controls={vb:raw footerControls}}
- Insert the following code ABOVE the code in Step 8
Code:{vb:set footerControls.showVoteCtrl, 1}
- Click "Save" button.
- Repeat Steps 2 to 10 for each active style/theme you are using.
This is a FREE mod. If you use this mod, please consider donating to show your and 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
Last edited by glennrocksvb; 01-18-2022, 11:13 PM.
Users Viewing This Page
Collapse
There is 1 user viewing this forum topic.
- Guest
Latest Posts
Collapse
Leave a comment: