Page 1 of 1

Nur bei Gästen: Rechte Blöcke unter den mittleren

Posted: 9. May 2009 11:01
by Der Stefan
Deine Portal Version: 1.0.0RC3
Typ Deines phpBB Forums: Standard phpBB3
MODs installiert: Nein
Dein Wissensstand: Grundwissen
Link zu Deinem Forum: http://www.kljb-holzheim.de/forum

PHP Version: 3.0.4
MySQL Version: MySQL 5.0.67

Was hast Du gemacht, bevor das Problem aufgetreten ist?
Diverse Einstellungen, aber eigentlich nichts was mit der portal_body zu tun haben könnte

Was hast Du bereits versucht um das Problem zu lösen?
Hier im Forum gesucht, die portal_body gecheckt, kann nichts finden was den Fehler verursacht

Fehlerbeschreibung und Nachricht
Hi zusammen,
ich hab da noch ein kleines Problem: Beim Gastzugang im Portal sind die rechten Blöcke nicht rechts, sondern in der Mitte unter den mittleren (einfach kurz aufs Portal gehen und ihr seht was ich meine). Sobald ich mich einlogge sind sie aber da wo sie hingehören, sprich alles passt.
Das Problem hab ich auch nur bei subsilver2, prosilver funktioniert ohne Probleme.

Hier mal meine portal_body.html aus dem subsilver2, vielleicht sieht jemand von euch was nicht passt:

Code: Select all

<!-- DEFINE $S_IN_PORTAL = 1 -->
<!-- INCLUDE overall_header.html -->
<!-- INCLUDE portal/_block_config.html -->

<!--version $Id: portal_body.html 487 2009-03-23 17:45:47Z kevin74 $ //-->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<!-- [+] left block area -->
	<td width="{PORTAL_LEFT_COLUMN}px" valign="top" style="padding-right:6px;">
	
		<!-- IF S_DISPLAY_MAINMENU -->
			<!-- INCLUDE portal/block/main_menu.html -->
		<!-- ENDIF -->

		<!-- IF S_STYLE_OPTIONS and S_DISPLAY_CHANGE_STYLE -->
				<!-- INCLUDE portal/block/change_style.html -->
		<!-- ENDIF -->	

		<!-- INCLUDE portal/block/additional_blocks_left.html -->			

		<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
			<!-- INCLUDE portal/block/birthday_list.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_CLOCK -->
			<!-- INCLUDE portal/block/clock.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_PORTALSEARCH and S_DISPLAY_SEARCH -->
			<!-- INCLUDE portal/block/search.html -->
		<!-- ENDIF -->
		
		<!-- IF S_DISPLAY_RANDOM_MEMBER -->
			<!-- INCLUDE portal/block/random_member.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_ATTACHMENTS -->
			<!-- INCLUDE portal/block/attachments.html -->
		<!-- ENDIF -->

		<!-- IF S_CUSTOM_SMALL -->
			<!-- INCLUDE portal/block/custom_small.html -->
		<!-- ENDIF -->		

		<!-- IF S_DISPLAY_TOP_POSTERS -->
			<!-- INCLUDE portal/block/top_poster.html -->
		<!-- ENDIF -->		

		<!-- IF S_DISPLAY_LATEST_MEMBERS -->
			<!-- INCLUDE portal/block/latest_members.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_LINK_US -->
			<!-- INCLUDE portal/block/link_us.html -->
		<!-- ENDIF -->

	</td>
<!-- [-] left block area -->
	<td style="width:4px;" valign="top"></td>

<!-- [+] center block area -->
	<td valign="top">

		<!-- IF S_DISPLAY_GENERAL -->
			<!-- INCLUDE portal/block/general_block.html -->
		<!-- ENDIF -->

		<!-- IF U_RESTORE_PERMISSIONS and S_DISPLAY_MAINMENU -->
			<!-- INCLUDE portal/block/general_block.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_WELCOME -->
			<!-- IF S_DISPLAY_WELCOME_GUEST and S_USER_LOGGED_IN -->
			<!-- ELSE -->
				<!-- INCLUDE portal/block/welcome.html -->
			<!-- ENDIF -->
		<!-- ENDIF -->

		<!-- IF S_CUSTOM_CENTER -->
			<!-- INCLUDE portal/block/custom_center.html -->
		<!-- ENDIF -->
		
		<!-- IF S_DISPLAY_RECENT -->
			<!-- INCLUDE portal/block/recent.html -->
		<!-- ENDIF -->			

		<!-- IF S_DISPLAY_ANNOUNCEMENTS -->
			<!-- IF S_ANNOUNCE_COMPACT -->
				<!-- INCLUDE portal/block/announcements_compact.html -->
			<!-- ELSE -->
				<!-- INCLUDE portal/block/announcements.html -->
			<!-- ENDIF -->
		<!-- ENDIF -->
		
		<!-- IF S_DISPLAY_NEWS -->
			<!-- IF S_NEWS_COMPACT -->
				<!-- INCLUDE portal/block/news_compact.html -->
			<!-- ELSE -->
				<!-- INCLUDE portal/block/news.html -->
			<!-- ENDIF -->
		<!-- ENDIF -->

		<!-- INCLUDE portal/block/additional_blocks_center.html -->	

		<!-- IF S_DISPLAY_POLL -->
			<!-- INCLUDE portal/block/poll.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_PORTAL_FORUM_INDEX -->
			<!-- INCLUDE forumlist_body.html -->
			<br clear="all" />
			<table class="legend">
				<tr>
					<td width="20" align="center">{FORUM_NEW_IMG}</td>
					<td><span class="gensmall">{L_NEW_POSTS}</span></td>
					<td>&nbsp;&nbsp;</td>
					<td width="20" align="center">{FORUM_IMG}</td>
					<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
					<td>&nbsp;&nbsp;</td>
					<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
					<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
				</tr>
			</table>
			<br clear="all" />
		<!-- ENDIF -->
	
       	<!-- IF S_DISPLAY_ONLINE_PORTAL_LIST and S_DISPLAY_ONLINE_LIST -->
			<!-- INCLUDE portal/block/whois_online.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_PAY_C -->
			<!-- INCLUDE portal/block/donation.html -->
		<!-- ENDIF -->
		
		<!-- IF S_DISPLAY_WORDGRAPH -->
			<!-- INCLUDE portal/block/wordgraph.html -->
		<!-- ENDIF -->
		
		<!-- IF S_DISPLAY_JUMPBOX -->
			<!-- INCLUDE portal/block/jumpbox.html -->
		<!-- ENDIF -->	

		<!-- please keep this credits visible, thank you! -->
		<br />
		<div class="copyright" align="center">{L_PORTAL_COPY}</div>
		<br />
	</td>
                         
<!-- [-] center block area -->
	<td style="width:4px;" valign="top"> </td>



<!-- [+] right block area -->
	<td width="{PORTAL_RIGHT_COLUMN}px" valign="top" style="padding-left:6px;">
		
		<!-- INCLUDE portal/block/additional_blocks_right.html -->

		<!-- IF S_DISPLAY_USERMENU -->
			<!-- IF not S_USER_LOGGED_IN -->
				<!-- INCLUDE portal/block/login_box.html -->
			<!-- ENDIF -->

			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
				<!-- INCLUDE portal/block/user_menu.html -->
			<!-- ENDIF -->
		<!-- ENDIF -->
	
	

		<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_ZEBRA_ENABLED and S_DISPLAY_FRIENDS -->
			<!-- INCLUDE portal/block/online_friends.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_ADVANCED_STAT -->
			<!-- INCLUDE portal/block/statistics.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_MINICAL -->
			<!-- INCLUDE portal/block/mini_calendar.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_LEADERS_EXT -->
			<!-- INCLUDE portal/block/leaders_ext.html -->
		<!-- ELSEIF S_DISPLAY_LEADERS -->
			<!-- INCLUDE portal/block/leaders.html -->
		<!-- ENDIF -->		

        <!-- IF S_DISPLAY_LAST_BOTS and S_LAST_VISITED_BOTS -->
			<!-- INCLUDE portal/block/latest_bots.html -->
		<!-- ENDIF -->		

		<!-- IF S_DISPLAY_LINKS -->
			<!-- INCLUDE portal/block/links.html -->
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_PAY_S -->
			<!-- INCLUDE portal/block/donation_small.html -->
		<!-- ENDIF -->
	</td>
<!-- [-] right block area -->
</tr>
</table>

<!--// board3 Portal by www.board3.de //-->
<!-- INCLUDE overall_footer.html -->
Hat von euch jemand ne Idee was nicht stimmt?
Thx der Stefan[/i]

Re: Nur bei Gästen: Rechte Blöcke unter den mittleren

Posted: 9. May 2009 15:29
by Mike
Das Problem wird durch einen Bug in der news_compact.html verursacht.

Öffne bitte: styles/subsilver2/template/portal/block/news_compact.html und ersetze ihren Inhalt durch den folgenden:

Code: Select all

<!--version $Id: news_compact.html 479 2009-03-15 11:19:27Z kevin74 $ //-->
<div id="pagecontent">
<!-- BEGIN news_row -->
<!-- IF news_row.S_FIRST_ROW -->
{$C_BLOCK_H_L}{L_LATEST_NEWS} <a name="n"></a>{$C_BLOCK_H_R}
		<table class="tablebg" cellspacing="1" width="100%">
        <!-- IF not news_row.S_NO_TOPICS  -->
		<tr class="nav">
			<!-- IF S_TOPIC_ICONS -->
				<td class="cat" align="center" colspan="3">&nbsp;{L_TOPICS}&nbsp;</td>
			<!-- ELSE -->
				<td class="cat" align="center" colspan="2">&nbsp;{L_TOPICS}&nbsp;</td>
			<!-- ENDIF -->
			<!-- IF S_DISPLAY_NEWS_RVS -->
			<td class="cat" align="center">&nbsp;{L_REPLIES}&nbsp;</td>
			<td class="cat" align="center">&nbsp;{L_VIEWS}&nbsp;</td>
			<!-- ENDIF -->
			<td class="cat" align="center">&nbsp;{L_LAST_POST}&nbsp;</td>
		</tr>
		<!-- ENDIF -->
<!-- ENDIF -->
	<!-- IF news_row.S_NO_TOPICS  -->
	<tr class="row1">
		<td align="center">
			<span class="gensmall"><strong>{L_NO_NEWS}</strong></span>
		</td>
	</tr>
	<!-- ELSE -->
			<tr>
				<td class="row1" width="25" align="center">{news_row.TOPIC_FOLDER_IMG}</td>
					<!-- IF S_TOPIC_ICONS --><td class="row1" width="25" align="center"><!-- IF news_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{news_row.TOPIC_ICON_IMG}" width="{news_row.TOPIC_ICON_IMG_WIDTH}" height="{news_row.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td><!-- ENDIF -->
				<td class="row1">
				<!-- IF news_row.PAGINATION --><span style="float: right; font-size:0.9em;"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {news_row.PAGINATION} ] </span><!-- ENDIF -->
					{news_row.ATTACH_ICON_IMG} <!-- IF news_row.S_POLL --> <strong style="font-size:1.1em;">{L_POLL}: </strong><!-- ENDIF --><a title="{news_row.TITLE}" href="{news_row.U_VIEW_COMMENTS}" class="topictitle">{news_row.TITLE}</a>
					<p class="gensmall">{L_POSTED} {L_POST_BY_AUTHOR} {news_row.POSTER_FULL} &raquo; {news_row.TIME}
					<!-- IF news_row.FORUM_NAME -->
						<br />{L_FORUM}: <a href="{news_row.U_VIEWFORUM}" style="font-weight: bold;">{news_row.FORUM_NAME}</a>
					<!-- ENDIF -->
					<!-- IF not S_DISPLAY_NEWS_RVS --><!-- IF news_row.FORUM_NAME -->&bull; <!-- ENDIF -->{L_REPLIES}: <strong>{news_row.REPLIES}</strong>  &bull; {L_VIEWS}: <strong>{news_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
					</p>
				</td>
				<!-- IF S_DISPLAY_NEWS_RVS -->
				<td class="row1" width="50" align="center"><p class="topicdetails">{news_row.REPLIES}</p></td>
				<td class="row2" width="50" align="center"><p class="topicdetails">{news_row.TOPIC_VIEWS}</p></td>
				<!-- ENDIF -->
				<td class="row1" width="140" align="center">
					<p class="topicdetails" style="white-space: nowrap;"> {news_row.LAST_POST_TIME}</p>
					<p class="topicdetails">{news_row.USERNAME_FULL_LAST}
						<!-- IF not S_IS_BOT --><!-- IF news_row.S_UNREAD_INFO --><a href="{news_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{news_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --><!-- ENDIF -->
					</p>
				</td>
			</tr>
	<!-- ENDIF -->
<!-- IF news_row.S_LAST_ROW -->
	<!-- IF NP_PAGINATION or TOTAL_NEWS -->
	<tr class="row<!-- IF news_row.S_ROW_COUNT is even -->2<!-- ELSE -->1<!-- ENDIF -->">
		<td class="gensmall" valign="middle" align="right" nowrap="nowrap" colspan="<!-- IF S_TOPIC_ICONS and S_DISPLAY_NEWS_RVS -->6<!-- ELSEIF not S_TOPIC_ICONS and S_DISPLAY_NEWS_RVS -->5<!-- ELSEIF S_TOPIC_ICONS and not S_DISPLAY_NEWS_RVS -->4<!-- ELSE -->3<!-- ENDIF -->">{TOTAL_NEWS}
		<!-- IF NP_PAGE_NUMBER --><!-- IF NP_PAGINATION --> &bull; {NP_PAGE_NUMBER} &bull; <span>{NP_PAGINATION}</span><!-- ELSE --> &bull; {NP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --></td>
	</tr>
	<!-- ENDIF -->
</table>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ENDIF -->
<!-- END news_row -->
</div>

Re: Nur bei Gästen: Rechte Blöcke unter den mittleren

Posted: 10. May 2009 21:40
by Der Stefan
Yeah bist mein Held :D

Re: Nur bei Gästen: Rechte Blöcke unter den mittleren

Posted: 21. May 2009 15:08
by 3nV|Tr0
Ich muss dieses Topic leider mal bumpen :)

Ich habe mit der aenderung der Datei auch dieses Problem behoben. Jedoch habe ich ein anderes :)

Image

Hast du da auch ein Fix ? :)

P.s. das ganze ist bei eingelogtem zustand zu sehen. Für Gäste sind die umfragen nicht ersichtlich