The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Like Button code

View previous topic View next topic Go down

Solved Like Button code

Post by Ahmed-Chess on November 14th 2010, 6:25 am

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
http://developers.facebook.com/docs/reference/plugins/like
Regards
Ahmed

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest on November 14th 2010, 2:12 pm

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 (:

Guest
Guest


Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess on November 14th 2010, 3:29 pm

thanks, but can you tell me where exactly in Viewtopic_body ?

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest on November 14th 2010, 3:44 pm

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>

Guest
Guest


Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess on November 14th 2010, 3:52 pm

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 ?

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest on November 14th 2010, 4:00 pm

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

Guest
Guest


Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess on November 14th 2010, 4:28 pm

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

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess on November 14th 2010, 4:53 pm


Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest on November 14th 2010, 5:05 pm

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 (:
http://help.forumotion.com/tricks-tips-f32/change-the-reputation-bar-t48922.htm

Guest
Guest


Back to top Go down

Solved Re: Like Button code

Post by Ahmed-Chess on November 14th 2010, 5:16 pm

sorry for double posting, and thanks for helping

Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: Like Button code

Post by Guest on November 14th 2010, 5:31 pm

NP:
! Solved + Locked

Guest
Guest


Back to top Go down

View previous topic View next topic Back to top


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