Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 


       myfreeforum.org Forum Index -> What's new? Announcements!
symon

Facebook Like Button

Full guide on HOWTODOIT

http://howtodoit.myfreeforum.org/...component=content&topicid=743
danm97

Big thanks for this one Symon !!
symon

No worries lol
First full guide in a very long time , hoping its as easy to follow as the rest.
P Shivers

I take it this does not work for BB3?

I have placed the code in several different places and it does not retrieve the proper topic and post ID. I liked only one post and it says that I like all of them on the forum.

Here is the source of the loaded topic
Code:
<fb:like href="http://arachnophiles.myfreeforum.org/viewtopic.php?t=" layout="standard" show_faces="true"


Here is what I have in viewtopic.html
Code:
<!-- IF U_JABBER --><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false">{JABBER_IMG}</a><!-- ENDIF -->
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Farachnophiles.myfreeforum.org/viewtopic.php%3Fp%3D{postrow.U_POST_ID}%23p{postrow.U_POST_ID}&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px"></iframe>

<fb:like href="http://arachnophiles.myfreeforum.org/viewtopic.php?t={F_TOPIC_ID}" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" />
</div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a>


I am just assuming that this does not work in BB3 or did I screw something up?

Thanks for your time.
myff admin

As ever with this sort of thing, a link to where we can see the macro in play would help.
P Shivers

Sorry, I figured that the link in my siggy was enough.

http://arachnophiles.myfreeforum.org

Any post will do it.
myff admin

We need a link that we can see, I just went to try and see a post and it demanded I login.
Nick(NR)

it's working on that forum: http://arachnophiles.myfreeforum....ydrate_a_tarantula_about5620.html

so ummmmmmmmmmmmmmmmm  
P Shivers

myff admin wrote:
We need a link that we can see, I just went to try and see a post and it demanded I login.


http://arachnophiles.myfreeforum....ydrate_a_tarantula_about5620.html
http://arachnophiles.myfreeforum.org/Abbreviations_about75.html
http://arachnophiles.myfreeforum....ive_Care_Unit_ICU__about6640.html

There are three that I got as a guest.  
You will notice that in every single post it says that me and 5 others like this. I only clicked the like button on one post and it was none of these.
You will see in my original post that the source of the loaded page in FireFox does not contain a post ID
Quote:
viewtopic.php?t="

Code:
<fb:like href="http://arachnophiles.myfreeforum.org/viewtopic.php?t=" layout="standard" show_faces="true"


Obviously it is either where I placed the code or the macro is not correct or something else. I am not sure which one and figured that Symon may be able to tell me what I did wrong or that it does not work in BB3.
I have looked at this in both IE and FireFox while I was logged in to FaceBook as well as logged out and it is the same either way. It says that I like every single post on the forum.
Is there any other info you need? I will happily give it to you. If it is working flawlessly for you Nick(NR), let me know why it is different for you than it is for me.
Thanks
Nick(NR)

The Below Will ONLY Work With Forums Running PHPBB3
For Forums Running PHPBB2, Please Use Symons Guide In The First Post

It works for me because I'm not using symons, as those macros are bb2 specific, however:

Code:
<iframe src="http://www.facebook.com/plugins/like.php?href={YOURFORUMHERE}/viewtopic.php%3Ff%3D{S_FORUM_ID}%26t%3D{S_TOPIC_ID}&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px"></iframe>
<fb:like href="{YOURFORUMHERE}/viewtopic.php?f={S_FORUM_ID}&amp;t={S_TOPIC_ID}" layout="standard" show_faces="true" width="450" action="like" colorscheme="light" />


Should do the trick, basically where you want it to show and sub out {YOURFORUMHERE} with your forums address up the the slash

http://portalogy.myfabforum.org/viewtopic.php?f=4&t=24
http://portalogy.myfabforum.org/viewtopic.php?f=2&t=1

Just checked and yup, both guest viewable and checked as a guest in safari, one topic has a like the other doesn't, ENJOY PEEHOLES! [b]

       myfreeforum.org Forum Index -> What's new? Announcements!
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum