Page 1 of 1

Portal not showing right for guest

Posted: 17. August 2009 22:15
by xWhistler
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://vereornos.com

What have you done before the problem was there?
nothing

What have you already tryed to solve the problem?
a clean install...

Description and Message
At first I thought it was a style issue, but after changing back to the default style the problem was still there. If I am logged into the portal everything displays correctly, but if I log out and visit as a guest; all my right blocks fall off and are displayed under my left and center blocks at bottom of the page. You should be able to see what I am talking about by just visiting the site: www.vereornos.com

Re: Portal not showing right for guest

Posted: 30. August 2009 20:46
by Ice

Re: Portal not showing right for guest

Posted: 2. September 2009 19:00
by neo4u
can you please explain what is to be done with these? as i tried applying the edits but things were still a bit all over the place. :roll:

Re: Portal not showing right for guest

Posted: 2. September 2009 19:07
by neo4u
please ignore my previos post I got it fixed thank you very much.... ;)

Re: Portal not showing right for guest

Posted: 14. September 2009 18:00
by tamertakuya
I'm having the same problem as Neo4u. I did the edits that Ice gave but it's not showing right yet. You can check my page here: http://ideasnovedosas.com/phpBB3/portal.php

Any help would be appreciated. ;)

Re: Portal not showing right for guest

Posted: 15. September 2009 19:51
by Mike
Sorry, its german, but you should get it ;)
viewtopic.php?p=18177#p18177

Re: Portal not showing right for guest

Posted: 16. September 2009 02:24
by tamertakuya
Hi Mike, thanks for your help but unfortunately the portal is still not showing ok. I made the changes you proposed in the other topic but it's not working...

Any other ideas? :(

Re: Portal not showing right for guest

Posted: 19. September 2009 17:55
by tamertakuya
Bump, anyone? =(

Re: Portal not showing right for guest

Posted: 21. September 2009 01:16
by Mike
tamertakuya wrote:I made the changes you proposed in the other topic but it's not working...
No you didnt ;)
As i can see, you're using the old file: http://ideasnovedosas.com/phpBB3/styles ... mpact.html

open template/portal/block/news_compact.html
and replace its content with the following:

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>
If its done refresh all template caches ;)

Re: Portal not showing right for guest

Posted: 23. September 2009 22:51
by tamertakuya
:D hihihi, I'm sorry, you were right. That code fixed the problem.

Thanks Mike! ;)

Re: Portal not showing right for guest

Posted: 28. February 2011 13:10
by jumborex
xWhistler wrote:[At first I thought it was a style issue, but after changing back to the default style the problem was still there. If I am logged into the portal everything displays correctly, but if I log out and visit as a guest; all my right blocks fall off and are displayed under my left and center blocks at bottom of the page.
I use this topic because I have a very similar problem, with the last version 1.0.6. This is the link of my portal on trial: http://lnx.cantodellasfinge.net/phpBB3_ ... portal.php
The difference is that I use three different styles, very similar, but one is based on yellow color, one on blue, one on red. Styles are the same.
The default style is the red one.
Strange enough, if a guest checks the portal always sees the yellow version. When registerd, the red version appears, as expected.
Someone has some clue?
Thanks.