1 (edited by pat_togo 2005-08-16 07:57)

Topic: Inserting a logo and a banner on the forum

Dear All,
I run a forum since soon and I would like to place a banner on top and a small logo down right just below the copyright statement. How and from where can this be done?
Thanks in advance for your help.
Patrick
http://forums.sinafrique.com

Le Premier Forum Panafricain Francophone Dedie Aux Nouvelles Technologies:
http://www.afroshanghai.com/sinafrique

Re: Inserting a logo and a banner on the forum

Btw the logo comes in html link code (<a href ...)

Le Premier Forum Panafricain Francophone Dedie Aux Nouvelles Technologies:
http://www.afroshanghai.com/sinafrique

3

Re: Inserting a logo and a banner on the forum

For the logo, you can add your code here f.e.

header.php, line

// START SUBST - <pun_title>
$tpl_main = str_replace('<pun_title>', '<h1><span>'.pun_htmlspecialchars($pun_config['o_board_title']).'</span></h1>', $tpl_main);
// END SUBST - <pun_title>

around line 139.

The image could go here:

footer.php

            <p class="conr">Powered by <a href="http://punbb.org/">PunBB</a><?php if ($pun_config['o_show_version'] == '1') echo ' '.$pun_config['o_cur_version']; ?><br />© Copyright 2002–2005 Rickard Andersson</p>

line 109

The German PunBB Site:
PunBB-forum.de

Re: Inserting a logo and a banner on the forum

Hi Tobi,
Thanks for your help. For the logo there were no problem in the footer but for the banner it was another issue I cannot understand from the code where to put the img linking to the banner image.
All the best,
Patrick

Le Premier Forum Panafricain Francophone Dedie Aux Nouvelles Technologies:
http://www.afroshanghai.com/sinafrique

5

Re: Inserting a logo and a banner on the forum

It depends where you want it.

Probably after the closing

</h1>

in

$tpl_main = str_replace('<pun_title>', '<h1><span>'.pun_htmlspecialchars($pun_config['o_board_title']).'</span></h1>', $tpl_main);

is best.

The German PunBB Site:
PunBB-forum.de