The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Like Button code

Go down

Solved Like Button code

Post by Ahmed-Chess Sun 14 Nov 2010 - 6:25

hi,
can i put Like Button code in Templates ?
i want this Button be Beside the posts
and if i can not do that, where i put this code ?
this is the code
https://developers.facebook.com/docs/reference/plugins/like
Regards
Ahmed
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest Sun 14 Nov 2010 - 14:12

You can put it in ACP - Display - Templates - General - Viewtopic_body - any where beside the contact info if u r using phpbb2 or punbb
, or in the homepage message for phpbb3 or invision (:
avatar
Guest
Guest


Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess Sun 14 Nov 2010 - 15:29

thanks, but can you tell me where exactly in Viewtopic_body ?
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest Sun 14 Nov 2010 - 15:44

In this part>
Code:

<div class="user-contact">
                     {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
                  </div>
avatar
Guest
Guest


Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess Sun 14 Nov 2010 - 15:52

like this
Code:
<td valign="middle">
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like></fb:like>
                  {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
and i have in the code XFBML and iframe what i use ?
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest Sun 14 Nov 2010 - 16:00

Yah like this or in the end after the ONLINE_IMG (:
see witch works ;=)
avatar
Guest
Guest


Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess Sun 14 Nov 2010 - 16:28

thanks its work!!!
but is there code give the same idea but give like or unlike with each post not with each page as facebook Button ?
if not I suggested this
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess Sun 14 Nov 2010 - 16:53

avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest Sun 14 Nov 2010 - 17:05

May I remind you that double/triple posting isn't tolerated unless separated by 24 hours (Use the edit button) Wink

You can change ur rep bar to like and unlike (:
https://help.forumotion.com/tricks-tips-f32/change-the-reputation-bar-t48922.htm
avatar
Guest
Guest


Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess Sun 14 Nov 2010 - 17:16

sorry for double posting, and thanks for helping
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest Sun 14 Nov 2010 - 17:31

NP:
! Solved + Locked
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum