Posts Tagged ‘How to Add new links to PHPBB forum navigation bar on prosilver theme’

How to Add new links to PHPBB forum navigation bar on prosilver theme

Friday, March 11th, 2011

I own a phpbb forum which uses the prosilver phpbb theme and I wanted to add a link to external website in the navigation header of the forum.
Here is how I did it:

On phpbb forum installation on Debian Linux the file which needs to be changed is called overall_header.html
The overall_header file name is found on 4 times on my install, as follows:

/usr/share/phpbb3/styles/prosilver/template/overall_header.html
/usr/share/phpbb3/www/adm/style/overall_header.html
/var/cache/phpbb3/cache/ctpl_admin_overall_header.html.php
/var/cache/phpbb3/cache/tpl_prosilver_overall_header.html.php

The files which I had to modify to add my external link to the forum navigation bar were:

/usr/share/phpbb3/styles/prosilver/template/overall_header.html
/var/cache/phpbb3/cache/tpl_prosilver_overall_header.html.php
Therefore to add the external link to the forum edit the two files overall_header.html and tpl_prosilver_overall_header.html.php

In each of the files look up for the code:

<ul class="linklist navlinks">

After the end of this code section which ends up with >/ul< add the following html code:

<ul class="linklist navlinks2"><li><a href="http://newurladdr.com"> newurladdr </a> •</li>
<a href="http://newurl.com"> newurl </a>

</ul>

Now save the files and go to your forum, the newly added links will show up. Enjoy