Broken image in "who is online"

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
Roger N
Active Member
Posts: 4
Joined: 29. November 2009 20:29
phpBB.de User: Roger N
phpBB.com User: Roger N

Broken image in "who is online"

Post by Roger N »

Your Portal Version: 1.0.4
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://www.hroarr.com/forum

What have you done before the problem was there?
Searched forums and faq

What have you already tryed to solve the problem?


Description and Message
Hi!

This is my first forum and portal install and I am having a small problem with the image for the "who is online" box. I am not sure if it us supposed to be an avatar or some other image. However, I see the same problem in the demo, here: http://area51.mikevil.de/portal.php?style=85

I would be most grateful for any help you can provide here!

Thanks!
User avatar

Mike
Former Team Member
Posts: 1862
Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:

Re: Broken image in "who is online"

Post by Mike »

here is a quick fix ;)

template/portal/block/whois_online.html:

Code: Select all

<!--version $Id: whois_online.html 503 2009-04-20 18:34:29Z kevin74 $ //-->
{$C_BLOCK_H_L}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF -->{$C_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<!-- IF $WHOS_IMAGES -->
	<!-- IF LEGEND -->
		<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.png" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ELSE -->
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.png" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ENDIF -->
<!-- ENDIF -->
	<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
<!-- IF LEGEND -->
	<tr>
		<td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
	</tr>
<!-- ENDIF -->
</table>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
kein Support per PN / Messenger
no Support via PM / Messenger

Topic author
Roger N
Active Member
Posts: 4
Joined: 29. November 2009 20:29
phpBB.de User: Roger N
phpBB.com User: Roger N

Re: Broken image in "who is online"

Post by Roger N »

Hi and thanks for the quick response! :)

This works great. At first I had some problem, but that was because I edited locally and uploaded through FTP. When I use ACP it worked a lot better.

However, I also have another small problem when refreshing the template in ACP. When I do so, I get this message:

"General Error
Could not open ./../styles/AeroBlack/template/user_welcome.txt"

I didn't use to get this message before I installed the portal, so I probably messed something up. Any ideas?

Thanks again!
User avatar

Mike
Former Team Member
Posts: 1862
Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:

Re: Broken image in "who is online"

Post by Mike »

user_welcome.txt?!? :shock:
Sorry, i dont know anything about this file... ;)

Maybe you make any wrong edits in acp ?
kein Support per PN / Messenger
no Support via PM / Messenger

Topic author
Roger N
Active Member
Posts: 4
Joined: 29. November 2009 20:29
phpBB.de User: Roger N
phpBB.com User: Roger N

Re: Broken image in "who is online"

Post by Roger N »

Yep, it is really weird. I have no idea why I get this message. I will try and ask on some other boards and post the solution here, if I find it.

But, I just discovered another small problem. I have the AeroBlack theme installed and it works fine. However, there is a small bug with the "active topics" on each subforum, where it is missing the nice outer frame on all other boxes. Have I done something wrong, or is it a proper bug. Is it at all related to the Portal installation?

The bug can be seen here: http://www.hroarr.com/forum/viewforum.php?f=76

Thanks for all the great work you do, btw!
User avatar

Mike
Former Team Member
Posts: 1862
Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:

Re: Broken image in "who is online"

Post by Mike »

Thats a generell Style question and you better ask the autor of this style for his intentions of making this block without frames.
God luck with it... My last request in his board is still unanswered ;)
kein Support per PN / Messenger
no Support via PM / Messenger

Topic author
Roger N
Active Member
Posts: 4
Joined: 29. November 2009 20:29
phpBB.de User: Roger N
phpBB.com User: Roger N

Re: Broken image in "who is online"

Post by Roger N »

I think I got it working now, with some small adjustments to the vieforum_body.html file. I added :

Code: Select all

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
  </tr>
  <tr>
    <td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
    <td>
and

Code: Select all

    <td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
</table>
around the buggy table. Also I changed the color for the theme styles to:

Code: Select all

.nav, .nav:hover {
	margin: 0;
	color: white;
	font-weight: bold;
}
Locked

Return to “board3 Portal 1.0.x - English Support”