Page 1 of 1

Friends Block

Posted: 24. January 2010 19:18
by Huor
Deine Portal Version: 1.0.5
Typ Deines phpBB Forums: Standard phpBB3
MODs installiert: Nein
Dein Wissensstand: Fortgeschritten

Was hast Du gemacht, bevor das Problem aufgetreten ist?
Updated to version 1.0.5

Was hast Du bereits versucht um das Problem zu lösen?
looked at the template code

Fehlerbeschreibung und Nachricht
In the new version there is a minor glitch in the friends block.
Online users are displayed twice due to a typo in the html code:

this code:

Code: Select all

			<strong style="color:green">{L_FRIENDS_ONLINE}</strong><br />
			<!-- BEGIN b3p_friends_online -->
                <span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;">{b3p_friends_online.USERNAME_FULL}</span><br style="clear:both" />    
            <!-- BEGINELSE -->
                <span style="float:left; padding-left:5px; padding-top:2px;">{L_NO_FRIENDS_ONLINE}</span>
                <br style="clear:both" />
            <!-- END b3p_friends_online -->
				<br style="clear:both" />
			<strong style="color:red">{L_FRIENDS_OFFLINE}</strong><br />
			<!-- BEGIN b3p_friends_online -->
                <span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;">{b3p_friends_online.USERNAME_FULL}</span><br style="clear:both" />
            <!-- BEGINELSE -->
                <span style="float:left; padding-left:5px; padding-top:2px;">{L_NO_FRIENDS_OFFLINE}</span>
            <!-- END b3p_friends_online -->
should be changed to:

Code: Select all

			<strong style="color:green">{L_FRIENDS_ONLINE}</strong><br />
			<!-- BEGIN b3p_friends_online -->
				<span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;">{b3p_friends_online.USERNAME_FULL}</span><br style="clear:both" />	
			<!-- BEGINELSE -->
				<span style="float:left; padding-left:5px; padding-top:2px;">{L_NO_FRIENDS_ONLINE}</span>
				<br style="clear:both" />
			<!-- END b3p_friends_online -->
				<br style="clear:both" />
			<strong style="color:red">{L_FRIENDS_OFFLINE}</strong><br />
			<!-- BEGIN b3p_friends_offline -->
				<span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;">{b3p_friends_offline.USERNAME_FULL}</span><br style="clear:both" />
			<!-- BEGINELSE -->
				<span style="float:left; padding-left:5px; padding-top:2px;">{L_NO_FRIENDS_OFFLINE}</span>
			<!-- END b3p_friends_offline -->
the b3p_friends_offline is missing instead there is a b3p_friends_online twice!
Can someone please verify this?![/i]

Re: Friends Block

Posted: 24. January 2010 19:39
by Marc
Verified and fixed:
tracker.php?p=13&t=168

Re: Friends Block

Posted: 25. January 2010 05:56
by Cr33per
Thanks for this.. :D

Re: Friends Block

Posted: 7. March 2010 11:47
by MADxHAWK
Bug still exist in current downloadversion

Greetz
MAD

Re: Friends Block

Posted: 7. March 2010 12:34
by Marc
Well not really, only the correct end is missing.