I Need To Add Like Button In Each Post


Subject: I Need To Add Like Button In Each Post
Hi, everyone! God bless you! :mryellow:

I've seen this button in other icyphoenix forum:

9569240506

But I don't know how to set it in mine... Is it a plugin, or something that I have to configure in the ACP? :roll:

Subject: Re: I Need To Add Like Button In Each Post
It's an option you should enable in ACP on a per-forum basis:

ACP -> Main Settings -> SQL Optimization -> Disable Posts Like (Global Switch) -> NO
ACP -> Forum -> Management -> EDIT ANY FORUM -> Like Posts -> YES


Let me know if you succeed.

Subject: Re: I Need To Add Like Button In Each Post
Mighty Gorgon wrote: [View Post]
It's an option you should enable in ACP on a per-forum basis:

ACP -> Main Settings -> SQL Optimization -> Disable Posts Like (Global Switch) -> NO
ACP -> Forum -> Management -> EDIT ANY FORUM -> Like Posts -> YES


Let me know if you succeed.

I already have this configuration:

SQL Optimization:
2807649489

LIKE POSTS editing any forum:
5271726725

As you can see, in my own posts, the like button doesn't show, just the share button (and only text, not blue button). This post is in the Sectas Forum::
3079761089

In other posts, not mine, appears a like text:
1232051157

Subject: Re: I Need To Add Like Button In Each Post
Because that template has only links (like all other I designed). If you want to have buttons instead, you need to edit your template file manually and add a custom code.

Subject: Re: I Need To Add Like Button In Each Post
Mighty Gorgon wrote: [View Post]
Because that template has only links (like all other I designed). If you want to have buttons instead, you need to edit your template file manually and add a custom code.
I see... Well, I have three questions:
  1. How can I edit the template? I mean, what is the template that I need to edit to?
  2. My own posts don't show the "like" text. And it goes me to the third question:
  3. Is this Like Text option just for the forum or it's for Facebook also? If the answer is "no, it's just for the forum", I'm affraid I have a fourth question:
  4. How can I add a Like Button for FB? I've noticed that this button is in a new windows when "share" is opened. Is there some way to put it out of this window, just below the topic, alongside the "share" option?
:roll:

Subject: Re: I Need To Add Like Button In Each Post
You are mixing up things...

Topics LIKE is not Facebook LIKE.

Anyway:
  1. viewtopic_body.tpl
    Code: [Download] [Hide] [Select]
    <!-- IF S_POSTS_LIKES and not postrow.S_THIS_POSTER_MASK -->
    <tr><td class="row-post-date tdalignc tvalignm" colspan="2"><span class="gensmall"><span id="like_s_p{postrow.U_POST_ID}"><!-- IF postrow.POST_LIKE_TEXT -->{postrow.POST_LIKE_TEXT}&nbsp;&bull;<!-- ENDIF -->&nbsp;</span><!-- IF S_LOGGED_IN and not postrow.S_OWN_POST --><a href="#" id="like_a_p{postrow.U_POST_ID}" style="text-decoration: none;" onclick="post_like_ajax({postrow.U_TOPIC_ID}, {postrow.U_POST_ID}); return false;"><!-- IF postrow.READER_LIKES -->{L_UNLIKE}<!-- ELSE -->{L_LIKE}<!-- ENDIF --></a>&nbsp;&bull;<!-- ENDIF -->&nbsp;{postrow.SINGLE_POST_SHARE}</span></td></tr>
    <!-- ENDIF -->

  2. You can't like your own posts...
  3. Just for the forum
  4. What do you want to like on Facebook? A page? A post? How can viewtopic guess what you want to like on Facebook? Your forum is your forum and Facebook is Facebook, they are not linked at all.

Subject: Re: I Need To Add Like Button In Each Post
Mighty Gorgon wrote: [View Post]
You are mixing up things...
Yes, I know... That's why I have to ask many questions :shock:
Mighty Gorgon wrote: [View Post]
[*]You can't like your own posts... Answer: Not for the forum, but yes for Facebook, right?
[*]What do you want to like on Facebook? A page? A post? How can viewtopic guess what you want to like on Facebook? Your forum is your forum and Facebook is Facebook, they are not linked at all. Answer: I want to like all posts, to facilitate indexing.[/list]


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo

Generation Time: 0.0653s (PHP: 0% SQL: 100%)
SQL queries: 14 - Debug On - GZIP Enabled