Log in | Register | Lost password

  • Start :: 
  • Photoshare :: 
  • Other :: 
  • Block doesn't show even if viewing is allowed for unregistered
Bottom
Block doesn't show even if viewing is allowed for unregistered
  • Posted: 14.03.2004, 21:51
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi J?rn,

    Guess I found a little bug in the latest 4.0.0

    (PN.726, PHP4.3.4, MySQL3.23.58, Linux2.4.22, GD2.0.15, fresh install)

    Let's say I want to show 2 albums in two different blocks but I don't want the albums to show up in the list of albums.
    I would then check "Do not show album in list of all albums" in the two albums in question right?

    If the two albums in fact are the only one's created none of the albums will be shown in the two created blocks when unregistered users visit the site.
    If I uncheck "Do not show album in list of all albums" in one of the albums suddenly both blocks are shown and one album is visible in the list of albums (ofcourse).

    Shouldn't it be possible to show the albums in blocks without allowing them to show up in the list??

    Additional question:
    Is it (or will it be) possible to have the blocks update with a preset frequency (less than PN's half hour, like every 10sec.) instead of when the page updates??
    I guess some js or php script could do the trick... any idears?


    [Edited on 15/3/2004 by kimenemark]
  • Posted: 15.03.2004, 10:01
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0

    Quote

    Let's say I want to show 2 albums in two different blocks but I don't want the albums to show up in the list of albums.
    I would then check "Do not show album in list of all albums" in the two albums in question right?


    Right.

    Quote

    Shouldn't it be possible to show the albums in blocks without allowing them to show up in the list??


    Sounds reasonable, please add it as a RFE on SourceForge.

    Quote

    Is it (or will it be) possible to have the blocks update with a preset frequency (less than PN's half hour, like every 10sec.) instead of when the page updates??


    It is not possible - and to be honest, I probably won't get around it. But add it as an RFE anyway please.

    You can do something close to it although. With Photoshare 4.0.0 you can set "iid=random" on the "showimage" URL. Then you can make a standard PN HTML block with what-ever JavaScript you want. See the "readme" in photoshare/docs for more info.

Template courtesy of Designs By Darren.