Former Member
inherit
guest@proboards.com
195316
0
Nov 30, 2024 13:19:35 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Oct 23, 2015 2:22:48 GMT -8
First A BIG Thank You to Chris For His help on this little template
I thought I would post here in the template board As much easier to find
Source support.proboards.com/thread/563968/work-board-list-number-likes?page=1&scrollTo=6488840
This will add the FIRST THREAD LIKES the thread has received ON THE BOARD LIST
Screenshot My ForumHow It Looks On My Test ForumGo > Templates > Board > Board ListAnd Directly under $[board.last_thread.recent_link]Add The Line Of Code Below<!-- Template Number First thread likes thread has received ON BOARD LIST by xsteveuk --><br><font size="1">{if $[board.last_thread.first_post.likes.total]} <font size="2"><b>$[board.last_thread.first_post.likes.total]</b></font> Like{if $[board.last_thread.first_post.likes.total] != 1}s{/if}{else}0 Likes {/if}</font><br>
Note this will only show the FIRST LIKES The thread has received NOT THE TOTAL OF THREAD LIKES RECEIVEDI added a little green tick to also show new likes It will not show the tick if 0 Likes See screenshot below
You will need to add a img html image link url Small and transparent I recommend saving and uploading the image to your image host <!-- Template Number First thread likes thread has received ON BOARD LIST by xsteveuk --><br><font size="1"> {if $[board.last_thread.first_post.likes.total]} <font size="2"><b>$[board.last_thread.first_post.likes.total]</b></font>Like{if $[board.last_thread.first_post.likes.total] != 1}s{/if} <img src="http://i.imgur.com/NKkv1N3.gif" title="source: imgur.com" /> {else}0 Likes {/if}</font><br> Steve
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 30, 2024 13:19:35 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 8, 2016 10:16:13 GMT -8
If you want to show THE TOTAL number of member likes A user has received plus post count Here I have highlighted to showTry the code below
Go > Admin > Templates > Board > Board List
And Directly under $[board.last_thread.recent_link]
Add The Line Of Code Below<br><font size="1">$[board.last_thread.created_by_user.likes] Likes </font> <font size="1">$[board.last_thread.created_by_user.posts] Posts</font><br>
Steve
|
|