Skip to main content
Topic: Likes not working (Read 3055 times) previous topic - next topic - Topic derived from EU and the GDPR
0 Members and 1 Guest are viewing this topic.

Likes not working

@emanuele Is it intentional or some weird bug that there's no "like" button starting here?

Edit: oh wait, I guess you just disabled it for testing or something and it's still showing it on those that were already liked.

Edit 2: but no, I see them in other topics.

Re: Likes not working

Reply #1

Hmm... I see the like buttons as expected (on mobile, on desktop... I don't know xD)
Bugs creator.
Features destroyer.
Template killer.

Re: Likes not working

Reply #2

It's not in the HTML sent to me:

Code: [Select]
					<div class="postarea">
<header class="keyinfo">

<h2 id="post_subject_37045" class="post_subject">Re: EU and the GDPR</h2>
<span id="messageicon_37045" class="messageicon hide">
<img src="https://www.elkarte.net/community/themes/default/images/post/xx.png" alt="" />
</span>
<h5 id="info_37045">
<a href="https://www.elkarte.net/community/index.php?topic=4776.msg37045#msg37045" rel="nofollow">Reply #35</a> &ndash; <time title="Today at 11:51:18 am" datetime="2018-05-14 11:51" data-timestamp="1526291478">Today at 11:51:18 am</time>
</h5>
<div id="msg_37045_quick_mod"></div>
</header>
<section id="msg_37045" class="messageContent">Hmm... I see the like buttons as expected (on mobile, on desktop... I don't know xD)
</section>
<nav>
<ul id="buttons_37045" class="quickbuttons">
<li id="modified_37045" class="listlevel1 modified hide">

</li>
<li class="listlevel1 subsections" aria-haspopup="true">
<a href="#" onclick="event.stopPropagation();return false;" class="linklevel1 post_options">More...
</a>
<ul class="menulevel2">
<li class="listlevel2">
<a href="https://www.elkarte.net/community/index.php?action=post;board=1;quote=37045;followup=37045" class="linklevel2 quotetonew_button">New topic</a>
</li>
<li class="listlevel2">
<a href="https://www.elkarte.net/community/index.php?action=reporttm;topic=4776.35;msg=37045" class="linklevel2 warn_button">Report Post</a>
</li>
</ul>
<li class="listlevel1">
<a href="https://www.elkarte.net/community/index.php?action=post;quote=37045;topic=4776.25;last_msg=37045" onclick="return oQuickReply.quote(37045);" class="linklevel1 quote_button">Quote</a>
</li>
</ul>
</nav>
<footer>
<div id="msg_37045_signature" class="signature">Bugs creator.<br />Features destroyer.<br />Template killer.</div>
</footer>
</div>

It is somewhere they do show up like here:

Code: [Select]
					<section id="msg_36978" class="messageContent">Thats very peculiar ... do you have a site I can see this behavior (and test id) ... just strange its not happening on my local.
</section>
<nav>
<ul id="buttons_36978" class="quickbuttons">
<li id="modified_36978" class="listlevel1 modified hide">

</li>
<li class="listlevel1 subsections" aria-haspopup="true">
<a href="#" onclick="event.stopPropagation();return false;" class="linklevel1 post_options">More...
</a>
<ul class="menulevel2">
<li class="listlevel2">
<a href="https://www.elkarte.net/community/index.php?action=post;board=12;quote=36978;followup=36978" class="linklevel2 quotetonew_button">New topic</a>
</li>
<li class="listlevel2">
<a href="https://www.elkarte.net/community/index.php?action=reporttm;topic=1399.446;msg=36978" class="linklevel2 warn_button">Report Post</a>
</li>
</ul>
<li class="listlevel1">
<a class="linklevel1 like_button" href="javascript:void(0)" title="Like" onclick="likePosts.prototype.likeUnlikePosts(event,36978, 1399); return false;">Like
</a>
</li>
<li class="listlevel1">
<a href="https://www.elkarte.net/community/index.php?action=post;quote=36978;topic=1399.425;last_msg=36994" onclick="return oQuickReply.quote(36978);" class="linklevel1 quote_button">Quote</a>
</li>
</ul>
</nav>

Re: Likes not working

Reply #3

Quote from: emanuele – It will not be an addon, I'm adding it to the core starting from 1.1.4 (provided my computer start working again :'( ).
Great news saves me some time I would like it but can't see like posts? No option.


Re: Likes not working

Reply #4

Works now

Re: Likes not working

Reply #5

@Spuds Seems to be working. What was the problem?

Re: Likes not working

Reply #6

I guess permissions
sorry for my bad english

Re: Likes not working

Reply #7

It was permissions ... a few boards have a custom permission profile and that did not allow for likes for all members.