creating custom links in overall header

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
Registered User
Posts: 325
Joined: Thu Apr 12, 2007 8:06 pm

creating custom links in overall header

Post by azra » Wed Feb 16, 2011 4:15 am

Support Request Template
What version of phpBB are you using? phpBB 3.0.8
What is your board's URL? No answer given
Who do you host your board with? No answer given
How did you install your board? I used the download package from
Is your board a fresh install or a conversion? Conversion from phpBB2
Do you have any MODs installed? Yes
Is registration required to reproduce this issue? No
What MODs do you have installed? mchat
What styles do you currently have installed? prosilver and ca_gen2
What language(s) is your board currently using? englsih
Which database type/version are you using? MySQL 5
What is your level of experience? Comfortable with PHP and phpBB
When did your problem begin? No answer given
Please describe your problem. im not too good with coding so i was wondering if someone could tell me the code to add in my overall_header if for example i want to add a link to my main site before the user control panel link.

also, how can i add a link that will only be viewable to guests and those who are not logged in?

thank you
Generated by SRT Generator ($Rev: 4778 $)
azra :D

User avatar
Former Team Member
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK

Re: creating custom links in overall header

Post by karlsemple » Wed Feb 16, 2011 7:40 am

This article explains how to add a new link to your boards header Adding a new link and icon to your header To make the link only show for logged in members you simply make sure it is added before the code

Code: Select all

<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>
in the overall_header.html file, doing this should include it inside the template swtich which check if a user is logged in or not :)


Return to “[3.0.x] Support Forum”