Strona 1 z 1

Phpbb_gallery_1_0_3_pl nie wyświetla losowych obrazków na g

: 05 grudnia 2009, 23:34
autor: NoVi
Witam oóż zainstalowalem sobie moda Phpbb_gallery_1_0_3_pl i chcialbym aby wyświetlały się losowo dodane fotki na głównej strony forum, nie galerii.

Dodąłem kod który jest za to odpowiedzialny:

Kod: Zaznacz cały

<!-- INCLUDE gallery/recent_body.html -->
ale jednak nie działa..

Musze coś ustawić?
Chociaż w ACP ustawilem wszystko wydaje mi się prawidłowo.

Re: Phpbb_gallery_1_0_3_pl nie wyświetla losowych obrazków na g

: 05 grudnia 2009, 23:54
autor: Grin

Kod: Zaznacz cały

    /**
    * RRC of phpbb gallery
    * for more information see gallery/index.php:
    * "include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);"
    */
    $gallery_root_path = GALLERY_ROOT_PATH;
    include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
    $ints = array(
       'rows'      => 1,
       'columns'   => 4,
       'comments'   => 0,
       'contests'   => 0,
    );
    recent_gallery_images($ints, 61, 2, false, true, 'album', 0);
dodaj w index.php ;)

Re: Phpbb_gallery_1_0_3_pl nie wyświetla losowych obrazków na g

: 05 grudnia 2009, 23:57
autor: NoVi
dzieki za szybką pomoc :)