Page 1 of 1

add Facebook like to cu stom block

Posted: 13. December 2012 04:04
by jason102178
Your Portal Version: 2.0.1
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
Is it possible to add the code in a custom block for facebook like, i added the iframe code as it said to do on other versions of portal i did it on portal 2 and it just shows up as code format it doesnt display the like box

Re: add Facebook like to cu stom block

Posted: 13. December 2012 18:28
by jason102178
I wanted to post a reply back for anyone who was experiencing the same issue and could not figure it out, when you are logged onto ACP click on .mod then then select portal modules then select the little green gear icon, by default the option for Activate BBCode for the custom block is selected, make sure this option is set to noso it turns off bbcodes for that specific block because if its enabled you can not insert the iframe, and make sure you use the iframe code and not the html5 code because it will just show up as the code when you look at your portal on the front end

your Iframe code should look somthing like this

Code: Select all

<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fyourwebsite.com&send=false&layout=standard&width=450&show_faces=true&font&colorscheme=light&action=like&height=80&appId=292023524160044" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>

also when on facebook sight making the plugin look the way you want make sure the option to insert the send button is un checked, because if its checked it will tell you that Iframe is unavailable with the options you have selected.