Page 1 of 1

Problem with menu block

Posted: 30. June 2009 23:20
by Delano
Your Portal Version: v1.0.3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://ne-guild.ovh.org/portal.php

What have you done before the problem was there?
I do nothing.. I have this problem again and again, i reinstall all twice and nothing.. In first use all its ok, but about 5 min and have this in screenshot.. I havent change anything in code, right block isnt good at his place..

What have you already tryed to solve the problem?
I reinstall phpbb and portal but dont have results..

Description and Message
Plz help me, maybe any patch is correcting that ? Or where i can change it ?

Re: Problem with menu block

Posted: 1. July 2009 01:54
by Ice
Open the file styles/<your style>/template/portal/block/news_compact.html
Replace EVERYTHING in that file with

Code: Select all

    <!--version $Id: news_compact.html 480 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: Problem with menu block

Posted: 1. July 2009 17:12
by Delano
Don't work ;/

Re: Problem with menu block

Posted: 1. July 2009 17:49
by hmm
Hi Guy.


I had the same problem, but do not know how to solve.

But try for example, does not show the statistics and login.

Re: Problem with menu block

Posted: 1. July 2009 22:20
by Delano
I try this but i need login panel.. I dont know why this block came out from structure..

Re: Problem with menu block

Posted: 2. July 2009 00:15
by hmm
But worked ?

Well.. I think that the problem is that your right column is bigger that left column!
How to resolve? Well.. I dont know beccause I dont tried. Because my left column is bigger that the right column.. LOL

Re: Problem with menu block

Posted: 2. July 2009 16:43
by Delano
No, both colums have the same width.. i check it in administration mode..

Any1 know how to repait that ?

Re: Problem with menu block

Posted: 2. July 2009 18:19
by hmm
The problem is not the with, but yes height.

Re: Problem with menu block

Posted: 2. July 2009 21:40
by Delano
With height ? I've deleted 2-3 blocks and its the same problem..

Plz help me, its very good portal system but this only one bug and this crash all..

Re: Problem with menu block

Posted: 2. July 2009 22:44
by hmm
Well. when installed the portal also had the same problem, and as I said do not know how to solve. Initially thought the problem was the template, but the day to night it was good.

Already tried to increase the width in the configuration of the portal?
Remember that each change to clear the cache.

Re: Problem with menu block

Posted: 3. July 2009 05:38
by Delano
I increase witdh but don't effect.. And clear cache.. No changes.. Maybe in any file i must change something ?

Re: Problem with menu block

Posted: 3. July 2009 22:46
by Delano
No one have resolve for this problem ?

Re: Problem with menu block

Posted: 4. July 2009 14:28
by Ice
Well you haven't updated the style I said above as the source still displays the old code.. did you apply it to styles/Black Pearl/template/portal/block/news_compact.html ?

Re: Problem with menu block

Posted: 4. July 2009 14:38
by Mike
Make the changes as Ice already describe (+ purge you caches)
or
make any posting in your board, since the bug in news_compact.html appears only if you dont have any postings.
or
disable the compact style of your news block in ACP

Now, now you have 3 solutions for you problem, pick one of them and be happy ;)

Re: Problem with menu block

Posted: 4. July 2009 21:23
by Delano
Mike I love you !! I make only 1 post at forum :D And its work :D Mua :*