Fork me on GitHub

Create a "New line" in phpBBblock  Bottom

  • Hi, in two blocks in homepage, the seabreeze theme creates some "newline" when other themes (and the old postnuke) doesn't creare, in the pictures, you can see the multiblock by pnPHPbb2 thah post the autor of the post in a line anhd the date in another line, this doesnt't happen with the oter themes in zikula and in the old seabreeze theme,

    the same happens in the cmodsweblink block "latest link",

    anyone know how to resolve this bug?

    attach: a picture of my homepage: http://img391.imageshack.us/img391/8347/newlineeo0.jpg http://img391.imageshack.us/img391/8347/newlineeo0.jpg



    edited by: lordevol, Nov 10, 2008 - 01:02 PM
  • I solved at 50%:

    Now the weblinks block is ok, I changed the seabreeze style.css:

    Form:
    #sidebar a {
    color: #000000;
    background-image: URL("../images/icon.gif");
    display: block;
    padding: 3px;
    padding-left: 17px;
    background-repeat: no-repeat;
    background-position: 0 55%;
    text-decoration: none;
    }

    I changed the line: display: block;
    to display: inline-block;

    :)

    Then I found that the pnPHPbb2 block it's not a CSS problem, I have to change the block's PHP file :(
    Anyone know how to modify it not to go to a new line when it display the date after the "from user" line?
  • same issue on my site. www.attackforcez.com Wasn't an issue until after zikula 1.0
  • Anyone?
  • I'm afraid you will have to correct the PHP block in the actual *.php file, quick look learned me

    Code

    <td colspan="2"><span class="pn-normal"><strong>on</strong> November, 30&nbsp;<strong>at</strong> 12

    <tr><td align="left">


    so table column and row aren't proper closed...

    - Igor
  • Here is the code that does the date that you posted above. I can't seem to see the problem but i'm no PHP expert. Could you located it and tell me what to change in below? Thanks

    ROCO*AFZ*


    Code

    $blockinfo['content'] .= " ";
                if ($vars['display_date'])
                {
                    $blockinfo['content'] .= "" . _POST_DATE . "";
                    $blockinfo['content'] .= " ";
                }
                if ($vars['display_time'])
                {
                    $blockinfo['content'] .= "" . _POST_TIME . "";
                }
                $blockinfo['content'] .= "";
            }

This list is based on users active over the last 60 minutes.