| Author |
Message |
natch
Beginner


Joined: Aug 06, 2003 Posts: 9
|
Posted: Fri Aug 08, 2003 1:34 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
| My newest album block doesn't show the newest album, or the oldest. It shows one of the oldest albums. The block doesn't change when I add a new album either. |
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Fri Aug 08, 2003 9:17 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
hmmm..i haven't seen this issue before. if they (the gallery team) changed how the modification dates are stored, it may be the cause.
i'll look into it. _________________
 |
|
| Back to top |
|
|
natch
Beginner


Joined: Aug 06, 2003 Posts: 9
|
Posted: Sat Aug 09, 2003 1:38 am Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
Another update! Being logged in as Administrator but NOT as a normal user allows the mostviewed block to work fine but the newalbums blocks blows up with
Fatal error: Call to a member function on a non-object in /home/dburke/public_html/journal/blocks/block-newAlbums.php on line 54 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Sat Aug 09, 2003 7:11 am Post subject: |
|
|
ahhhh...
ok, with your newest album block, it shows the newest albums that the user has permissions to view (ie, EVERYBODY for not logged in, or LOGGEDIN for logged in nuke users). so if you have view permissions set on some of the albums, they might not show up until you log in.
i think i know the error with your admin log in....i'll have to add one more check to the code, though it probably won't get done till monday, i've got guests in town this weekend. _________________
 |
|
| Back to top |
|
|
natch
Beginner


Joined: Aug 06, 2003 Posts: 9
|
Posted: Sat Aug 09, 2003 11:22 am Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
> ok, with your newest album block, it shows the newest albums that the user has permissions to view (ie, EVERYBODY for not logged in, or LOGGEDIN for logged in nuke users). so if you have view permissions set on some of the albums, they might not show up until you log in.
Eh, maybe not. The block itself doesn't appear until you're logged in. There's only one photo album that has special permissions, all the rest should be open to "Everyone". Verified by by-passing login and going directly to the directory at
http://www.natch.net/journal/modules/gallery/ |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Sat Aug 09, 2003 1:06 pm Post subject: |
|
|
| You need to set the permission on the BLOCK to ALL VISITORS then. |
|
| Back to top |
|
|
natch
Beginner


Joined: Aug 06, 2003 Posts: 9
|
Posted: Sun Aug 10, 2003 3:06 am Post subject: |
|
|
| It seems that the new block-mostviewed can cause links to comment pages to be broken. I sent a detailed description to dari via PM. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6271 Location: Washington Township, NJ, USA
|
Posted: Sun Aug 10, 2003 9:02 am Post subject: |
|
|
there was a fix posted by slackbladder addressing this, i think...do a search for "sid" on the forums. _________________
 |
|
| Back to top |
|
|
natch
Beginner


Joined: Aug 06, 2003 Posts: 9
|
Posted: Sun Aug 10, 2003 2:48 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
| Thanks, solution was here [nukedgallery.net] for anyone else with that problem. |
|
| Back to top |
|
|
natch
Beginner


Joined: Aug 06, 2003 Posts: 9
|
Posted: Wed Aug 13, 2003 9:37 pm Post subject: Re: Gallery 1.3.4-pl1 and blocks |
|
|
Just an update for anyone following this thread with the SID problem, you need to edit /blocks/block-Old_Articles.php and make the change
$sid = "$row[sid]"; |
|
| Back to top |
|
|
|
|
|
|
|