The new Facebook like button

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
haipo
Registered User
Posts: 121
Joined: Tue Jul 28, 2009 5:30 am

Re: The new Facebook like button

Post by haipo » Wed May 12, 2010 7:51 pm

thanks for your help!
this was my mistake. The title in overall_header was wrong.
Now this is ok

spi21
Registered User
Posts: 27
Joined: Fri Jun 12, 2009 2:36 am

Re: The new Facebook like button

Post by spi21 » Fri May 14, 2010 7:20 pm

how can i remove this from a specific forum? for instance...i want to disable it for forum id 114 and 116

thanks for the help thusfar, the first couple pages made this really easy to impliment

GarrettMickley
Registered User
Posts: 1
Joined: Wed May 19, 2010 7:26 pm

Re: The new Facebook like button

Post by GarrettMickley » Wed May 19, 2010 7:31 pm

Hey I'm new here and I'm trying to figure out how to get this to work. I keep getting the error "The page at http://www.SpeculativeMinds.com/forum/v ... ?f=18&t=35 could not be reached."

Any ideas?

plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: The new Facebook like button

Post by plasmino » Wed May 19, 2010 10:58 pm

GarrettMickley wrote:Hey I'm new here and I'm trying to figure out how to get this to work. I keep getting the error "The page at http://www.SpeculativeMinds.com/forum/v ... ?f=18&t=35 could not be reached."

Any ideas?
url your forum is http://speculativeminds.com/phpBB3/ ?

haipo
Registered User
Posts: 121
Joined: Tue Jul 28, 2009 5:30 am

Re: The new Facebook like button

Post by haipo » Fri May 21, 2010 10:15 am

I tried also to add the facebook like button to the phpbb calender MOD.
I found that I should add the line to the calendar_view_event.html file.
But as there is TOPIC_ID in the viewtopic_body.html there is no such thing as EVENT_ID there.
Can someone explain how do I generate this parameter? :?

User avatar
wang5555
Translator
Posts: 592
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: The new Facebook like button

Post by wang5555 » Wed May 26, 2010 2:19 pm

RRManager wrote:I mean a button that would go on each post to allow people to like not an entire thread, but an individual post.
Try it:

--OPEN--
styles/prosilver/template/viewtopic_body.html

--FIND--

Code: Select all

			<h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>
--AFTER ADD--

Code: Select all

			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2FYOUR_WEBSITE/PHPBB_ROOT/viewtopic.php%3Fp%3D{postrow.POST_ID}%23p{postrow.POST_ID}&layout=standard&show_faces=true&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:30px"></iframe>
--SAVE & CLOSE--

OR

--OPEN--
styles/subsilver2/template/viewtopic_body.html

--FIND--

Code: Select all

				<tr>
				<!-- IF postrow.POST_ICON_IMG -->
					<td><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
				<!-- ENDIF -->
					<td class="gensmall" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<b>{L_POST_SUBJECT}:</b> {postrow.POST_SUBJECT}</div><div style="float: {S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><b>{L_POSTED}:</b> {postrow.POST_DATE}&nbsp;</div></td>
				</tr>
--AFTER ADD--

Code: Select all

				<tr>
					<td colspan="2"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2FYOUR_WEBSITE/PHPBB_ROOT/viewtopic.php%3Fp%3D{postrow.POST_ID}%23p{postrow.POST_ID}&layout=standard&show_faces=true&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:30px"></iframe></td>
				</tr>
--SAVE & CLOSE--

P.S.
1. The "YOUR_WEBSITE/PHPBB_ROOT" must replace with yuors.
2. Purge the cache.

Demo: Test Forum
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to my forum!!
http://wang5555.hopto.org/phpBB3/
p.s. Shut down computer before 11 clock night!!!

User avatar
paulnicholson
Registered User
Posts: 230
Joined: Thu Jun 04, 2009 9:04 pm
Location: Australia
Contact:

Re: The new Facebook like button

Post by paulnicholson » Fri May 28, 2010 8:45 pm

That test forum didn't work. Here's mine. I'm so excited about this MOD. Subsilver2 based Milky way style.

www.theatrenet.com.au

User avatar
wang5555
Translator
Posts: 592
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: The new Facebook like button

Post by wang5555 » Sat May 29, 2010 6:51 pm

paulnicholson wrote:That test forum didn't work. Here's mine. I'm so excited about this MOD. Subsilver2 based Milky way style.

http://www.theatrenet.com.au
Sorry, my Test Forum is shutdown at sometime on everyday.
Thanks for your reply.
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to my forum!!
http://wang5555.hopto.org/phpBB3/
p.s. Shut down computer before 11 clock night!!!

User avatar
paulnicholson
Registered User
Posts: 230
Joined: Thu Jun 04, 2009 9:04 pm
Location: Australia
Contact:

Re: The new Facebook like button

Post by paulnicholson » Sat May 29, 2010 8:31 pm

I have installed a new status update thingy from facebook, but when people post to facebook, the reference link goes to my facebook application rather than my website. Does anyone know how I can find my API key on facebook?

User avatar
wang5555
Translator
Posts: 592
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: The new Facebook like button

Post by wang5555 » Sun May 30, 2010 12:42 am

paulnicholson wrote:I have installed a new status update thingy from facebook, but when people post to facebook, the reference link goes to my facebook application rather than my website. Does anyone know how I can find my API key on facebook?
Please paste your "new status update" code.
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to my forum!!
http://wang5555.hopto.org/phpBB3/
p.s. Shut down computer before 11 clock night!!!

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: The new Facebook like button

Post by heredia21 » Mon May 31, 2010 7:01 pm

Where do you find the update status code from?
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

elipoarch
Registered User
Posts: 21
Joined: Wed Dec 02, 2009 10:22 am

Re: The new Facebook like button

Post by elipoarch » Mon May 31, 2010 11:08 pm

I just can't figure out why I get this message:
The page at http://www.sfc-em-investigacion.com/vie ... ?f=3&t=532 could not be reached.

It used to work OK, but you couldn't see the link (the topic name) in Facebook, so I fixed it as you said in an earlier message, flushed my cache, but the button gives me the error I wrote above.

This is my code:

<td><iframe src="http://www.facebook.com/plugins/like.ph ... heme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:350px; padding-left:20px; height:30px"></iframe>
<fb:like href="http://www.sfc-em-investigacion.com/vie ... S_TOPIC_ID}" layout="standard" show_faces="false" width="350" action="like" colorscheme="light" /></td>

I'm completely puzzled now :( It seems to me there's something wrong with the amperson sign, &, it seems it is looking literally for "&" instead of transforming it to & Is there a fix for this?

plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: The new Facebook like button

Post by plasmino » Tue Jun 01, 2010 12:17 pm

elipoarch for you site

replace your code with this

Code: Select all

<td><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.sfc-em-investigacion.com%2Fviewtopic.php%3Ff%3D{S_FORUM_ID}%26t%3D{S_TOPIC_ID}&layout=standard&show_faces=true&width=350&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:500px; height:70px"></iframe>
<fb:like href="http://www.sfc-em-investigacion.com/viewtopic.php?f={S_FORUM_ID}&t={S_TOPIC_ID}" layout="standard" show_faces="true" width="350" action="like" colorscheme="light" /></td>

elipoarch
Registered User
Posts: 21
Joined: Wed Dec 02, 2009 10:22 am

Re: The new Facebook like button

Post by elipoarch » Tue Jun 01, 2010 3:21 pm

Thanks for your help, Plasmino, but no luck. I have the same problem.

flubberman
Registered User
Posts: 33
Joined: Tue May 18, 2010 11:07 am

Re: The new Facebook like button

Post by flubberman » Tue Jun 01, 2010 3:40 pm

MALdito wrote:I actually put it under the topic title. Seems more natural that way.
http://www.bacanalnica.com/foros/viewto ... 7&t=101071

I was wondering if you could help me setup a Facebook like button like you have with your forum.

http://www.bacanalnica.com/foros/viewto ... 7&t=101071

I love the fact that it's under the Post Title.

Could you be so kind as to share the code with me and where to place it.

Locked

Return to “[3.0.x] MOD Requests”