adding facebook link to banner

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
nfdonovan
Registered User
Posts: 1
Joined: Sat Dec 13, 2014 9:22 am

adding facebook link to banner

Post by nfdonovan »

Hi, I'm a novice at PHP but I am the site maintenance guy for our club website (www.mbcc.ie). I recently updated to phpBB 3.1 and lost a few features i'd like back.
I may be asking in the wrong forum, so apologies if I am :oops:

I used to have a link to our club facebook page on the main page. I see that this forum has social media link on the page banner. How do I add those to my site? I've found instruction for doing this for 3.0 but not for 3.1. i tries following the 3.0 instructions but they seem fundamentally different. I was hoping there was an extension to allow this but if that's how it's done I couldn't find it?

Also there is a menu bar under the banner on this site? How would i go about adding one of those? Is it a theme, style or extension? Sorry, obviously clueless as to the structure of phpBB :?

Thanks
Niall

User avatar
Lumpy Burgertushie
Registered User
Posts: 67243
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: adding facebook link to banner

Post by Lumpy Burgertushie »

social buttons in header: Knowledge Base - How to add social icons
this applies to 3.0 but works in 3.1 with one change:

where it says this:
Find:

Code: Select all

<div class="inner"><span class="corners-top"><span></span></span>
instead, find this:

Code: Select all

<div class="inner">
I am working on a how to for the menu bar. you can use the custom code extension with just a little tweak to put your menu code under the header bar. however, if you want to put one under the navbar it works as is.


EDIT:Ok, here is the write up on how to create a menu like the one here.
http://phpbbusers.com/testboard/viewtopic.php?f=4&t=2

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

User avatar
John connor
Registered User
Posts: 2464
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: adding facebook link to banner

Post by John connor »

In the instructions it says:
Go to /styles/prosilver/theme and open common.css

Find:

Code: Select all
#search-box {
color: #FFFFFF;
position: relative;
margin-top: 30px;
margin-right: 5px;
display: block;
float: right;
text-align: right;
white-space: nowrap; /* For Opera */
}
But that does not exist in 3.1.4.

What to change to move the buttons away from the search box?

Or better yet, how do I put the buttons on the left side?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22095
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket.

Re: adding facebook link to banner

Post by Mick »

You should use an extension, something like [RC1] Share This in development for instance, I think there may be others. Otherwise you should be asking in styles support.
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

User avatar
John connor
Registered User
Posts: 2464
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: adding facebook link to banner

Post by John connor »

No, that is different. I already have the EXT Share On. What this code does is add a link to your Facebook site page a Twitter page and the RSS link. I'm mainly concerned about maybe moving this below the search box or to the left of the search box. Not sure what code to edit.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22095
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket.

Re: adding facebook link to banner

Post by Mick »

Mick wrote:Otherwise you should be asking in styles support
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

User avatar
John connor
Registered User
Posts: 2464
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: adding facebook link to banner

Post by John connor »

I used this Facebook button. Image

What does border radius do because it is not making my button display right. I need to set it to match the image I am using. a href="https://www.facebook.com/"><img style="border-radius:4px 4px 4px 4px;" alt="Facebook" width="33px" height="33px" src="{T_THEME_PATH}/images/social/social_facebook.png"></a>

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: adding facebook link to banner

Post by Oyabun1 »

Mick wrote:
Mick wrote:Otherwise you should be asking in styles support
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Locked

Return to “[3.1.x] Support Forum”