Page 1 of 1

My forum Badge image

Posted: 23. February 2008 13:48
by Jammy Johnny
Hi, Firstly I would like to thank you for making such a wonderful Portal mod :D

What I was wondering, Could it be possible to have an image file of forum badge put on my Portal page :?:
Either where the welcome message is now, Or inside the message block, Or even just below the message block.

When I had a phpBB2 forum running, I managed it myself with some code editing, But no matter how much I try, I cannot manage it with phpBB3 and your portal mod :oops: :cry:

I am using phpBB3 (latest version) with your latest Portal mod installed
the style I am using is the AeroBlue Style by John Olson.

The Image file I have for my badge is a gif file and its size is '364 X 274'

Any advise, Good or bad is welcome.

my forum url is http://www.fish-and-detect.co.uk/forums/portal.php

Best wishes
Jammy Johnny

Re: My forum Badge image

Posted: 23. February 2008 16:52
by pado
You could make a new block and use that instead of the Welcome-block (you can switch that off in ACP): viewtopic.php?f=9&t=310&start=0&st=0&sk=t&sd=a

Or wait for one of the next Portal-versions with the possibility of using BB-code in the Welcome-block.

Re: My forum Badge image

Posted: 24. February 2008 12:51
by Jammy Johnny
Thanks pado, But i managed it by editing the welcome_block.html with this code

Code: Select all

<table class="tablebg" cellspacing="1" width="68%" align="center" >
	<tr>
		<th>{L_WELCOME}</th>
	</tr>
	<tr class="row1">
		<center><img src="http://www.fish-and-detect.co.uk/forums/images/ForumBadge.gif"></center>
			{PORTAL_WELCOME_INTRO}
		</td>
	</tr>
</table>
<br />
Works fine :)

Re: My forum Badge image

Posted: 24. February 2008 22:52
by pado
Very nice in IE7 but in FF the "Welcome-bar" is not in the center :(

I'm not a HTML-expert, but perhaps you have to move the </center> after the "Intro" :?:

Re: My forum Badge image

Posted: 25. February 2008 01:27
by Jammy Johnny
Thanks for pointing that out Pado ;)
It works now with This:

Code: Select all

<center><table class="tablebg" cellspacing="1" width="68%"></center>
	<tr>
		<th>{L_WELCOME}</th>
	</tr>
	<tr class="row1">
		<center><img src="http://www.fish-and-detect.co.uk/forums/images/ForumBadge.gif"></center>
			{PORTAL_WELCOME_INTRO}
		</td>
	</tr>
 </table>
<br />
Thanks!
JammY

Re: My forum Badge image

Posted: 25. February 2008 13:09
by pado
That's better indeed!

Very nice skin :D

Best wishes,
Paul