FB page and group button

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
Madhumathi Bharath
Registered User
Posts: 26
Joined: Mon Jul 06, 2020 5:56 am

FB page and group button

Post by Madhumathi Bharath »

Dear team,
i am already having a fb page like button in my website at the top of my site. now i would like to add my fb group button also... if i add the code it appears as one by one( i dont like the vertical look.i want both the fb like buttons should appear parallel)

i am using proflat theme... what should i do? kindly guide me.

thank you.

Madhu
Last edited by Mick on Tue Sep 15, 2020 7:31 am, edited 1 time in total.
Reason: Moved from support.
User avatar
david63
Registered User
Posts: 18303
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: FB page and group button

Post by david63 »

Without knowing what code you are trying to use, where you are trying to use and what code you already have it will be impossible to say.
Madhumathi Bharath
Registered User
Posts: 26
Joined: Mon Jul 06, 2020 5:56 am

Re: FB page and group button

Post by Madhumathi Bharath »

david63 wrote:
Tue Sep 15, 2020 6:54 am
Without knowing what code you are trying to use, where you are trying to use and what code you already have it will be impossible to say.
fb page code:

Code: Select all

<div class="fb-page" data-href="https://www.facebook.com/xxxxxxxxxxx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="false" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/xxxxxxxxxxx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/xxxxxxxxxxx/">xxxxxxxxxxx</a></blockquote></div>
group plugin code:

Code: Select all

<div class="fb-group" data-href="https://www.facebook.com/groups/xxxxxxxxxxx/" data-width="71" data-show-social-context="false" data-show-metadata="false"><blockquote cite="https://www.facebook.com/groups/xxxxxxxxxxx/" class="fb-xfbml-parse-ignore">xxxxxxxxxxx</blockquote></div>
is this enough?
Last edited by Mick on Tue Sep 15, 2020 8:39 am, edited 1 time in total.
Reason: Added code tags for clarity.
User avatar
JLA
Registered User
Posts: 552
Joined: Tue Nov 16, 2004 5:23 pm
Location: USA
Name: JLA FORUMS
Contact:

Re: FB page and group button

Post by JLA »

We have a basic static facebook share button at the top of all of our topic pages that pre populates that shared post info and includes a thumbnail of any topic attachments. Doesn't depend on any javascript or other tricks - very simple so works with just about any browsing scenario. A good approach for those who want to ensure the widest compatibility without depending on third party providers.
Post Reply

Return to “phpBB Custom Coding”