Kunena 7.0.10 & Kunena 6.4.15 – Security Updates Released and K7.1 in RC1

The Kunena team has announce the arrival of Kunena 7.0.10 [K 7.0.10] as security release which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x/6.2.x and 6.4.15 [K 6.4.15]. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question Displaying an image at the top of a Joomla Forum setup

More
16 years 3 months ago #52445 by ywncyber
OK, I've managed to get access to this file now and am able to edit it.

If I wanted to include an image above 'Welcome <Guestname>' the code for which I believe to be:-

<?php echo _PROFILEBOX_WELCOME; ?>, <b><?php echo $username; ?></b>

Would I then put one line just above this with the image? I've tried adding this line but to no avail!

<img border="1" src="/images/forums.jpg" width="463" height="260"></p>

I'm aware this is a PHP File not a HTML file but im a bit of a newb, could anyone help me with what line I would need to put to include an image in /images/ called forum.jpg?

Best regards

Luke

Please Log in or Create an account to join the conversation.

More
16 years 3 months ago #52461 by Cerberus
<img border="1px" src="../../images/forums.jpg" width="463" height="260"></p>

now if that image is in the image directory or the /default/ folder it will work.

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #52502 by ywncyber
Thanks for your response.

OK So I've added the following line inbetween the other two lines I've shown below:-

<td valign = "top" class = "td-2 fbm fb_profileboxcnt" align="left">
<img border="1px" src="../../images/forums.jpg" width="463" height="260"></p>
<?php echo _PROFILEBOX_WELCOME; ?>, <b><?php echo $username; ?></b>

This is an extract from my code at components/com_kunena/template/default/plugin/profilebox/profilebox.php

The URL of the image I'm trying to display is www.classic-mario.net/images/forums.jpg

And it still displaying a picture, is the code wrong, did I add it in the wrong file or what? :-? This picture really doesnt like me :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.106 seconds