Home | Support Forums | Your Account | Gallery [2] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Gallery 1.3.4-pl1 and blocks
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Blocks View previous topicPrinter friendly versionView next topic
Author Message
natch

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 9

PostPosted: Fri Aug 08, 2003 1:34 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

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
Offline View user's profile Send private message
AdBot
   Post subject: Re: Gallery 1.3.4-pl1 and blocks  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Fri Aug 08, 2003 9:17 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

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
Offline View user's profile Send private message Visit poster's website
natch

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 9

PostPosted: Sat Aug 09, 2003 1:38 am    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Sat Aug 09, 2003 7:11 am    Post subject: Reply with quote

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
Offline View user's profile Send private message Visit poster's website
natch

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 9

PostPosted: Sat Aug 09, 2003 11:22 am    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

> 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
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Sat Aug 09, 2003 1:06 pm    Post subject: Reply with quote

You need to set the permission on the BLOCK to ALL VISITORS then.
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
natch

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 9

PostPosted: Sun Aug 10, 2003 3:06 am    Post subject: Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Sun Aug 10, 2003 9:02 am    Post subject: Reply with quote

there was a fix posted by slackbladder addressing this, i think...do a search for "sid" on the forums.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
natch

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 9

PostPosted: Sun Aug 10, 2003 2:48 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

Thanks, solution was here [nukedgallery.net] for anyone else with that problem.
Back to top
Offline View user's profile Send private message
natch

Beginner
Beginner


Joined: Aug 06, 2003
Posts: 9

PostPosted: Wed Aug 13, 2003 9:37 pm    Post subject: Re: Gallery 1.3.4-pl1 and blocks Reply with quote

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
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Blocks View previous topicPrinter friendly versionView next topic
Goto page Previous  1, 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia