Support Forums | Demo Gallery [1.x] [2.x] | 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  

Latest Albums Block

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
slackbladder

Moderator
Moderator


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

PostPosted: Tue Jul 22, 2003 1:37 pm    Post subject: Latest Albums Block Reply with quote

Hi Dari,

I see the new site nukedgallery is up - nice one! Very Happy

Is there or could there be a LATEST ALBUMS BLOCK?

The block would show the last 5 or 10 albums that had been uploaded and if possible show the HIGHLIGHTED photo.

Any ideas?

Slack
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
AdBot
   Post subject: Latest Albums Block  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Tue Jul 22, 2003 1:58 pm    Post subject: Re: Latest Albums Block Reply with quote

hmm...i think there's already one of those out there, but i'll double check.

<checking>

yep there is, but i don't think it's compatible with newer versions of PHPNuke / Gallery. I'll stick this on the TODO list.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


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

PostPosted: Tue Jul 22, 2003 2:57 pm    Post subject: Reply with quote

actually, are you looking for the last 5 that have been uploaded or the ones that have been updated? (ie, totally new albums, or albums that have just had pictures added to them)
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


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

PostPosted: Tue Jul 22, 2003 4:50 pm    Post subject: Re: Latest Albums Block Reply with quote

Hi Dari,

No just albums that are totally new UPLOADED (not updated)

Cheers
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


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

PostPosted: Tue Jul 22, 2003 7:33 pm    Post subject: Re: Latest Albums Block Reply with quote

ah, this shouldn't be too hard, just a matter of date checking and such. if work is slow tomorrow i could have it done by the end of the day.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


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

PostPosted: Wed Jul 23, 2003 12:58 pm    Post subject: Re: Latest Albums Block Reply with quote

okay, i've got it done, i just need to package it and write up installation instructions. should have it done by tonight.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


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

PostPosted: Fri Jul 25, 2003 12:59 pm    Post subject: Reply with quote

dari wrote: › okay, i've got it done, i just need to package it and write up installation instructions. should have it done by tonight.
Hey!! I've just seen it!!
FANTASTIC - highlighted images as well!! Very Happy
When do we get the MOD?

Nice one Dari
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


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

PostPosted: Fri Jul 25, 2003 1:01 pm    Post subject: Re: Latest Albums Block Reply with quote

actually, i've got this puppy tweaked so that you can tell if whether or not you want it to display the highlighted images (ie, for faster loading, you may just want a list)...lemme zip it up and dump it into the downloads. monitor my signature image, it'll change to read that the newest download is "Newest albums block"
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


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

PostPosted: Fri Jul 25, 2003 1:09 pm    Post subject: Reply with quote

I think I will use this as a center block - no problem there?
Also is it easy to get the album description to be displayed? No right for a side block I guess but would be great for the center.

Cheers
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


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

PostPosted: Fri Jul 25, 2003 1:13 pm    Post subject: Reply with quote

hmm...i have all these things set to be centered in the block (there's just a <center> tag there), and have breaks after each image/title. you may have to tweak the code around to have them line up side by side for a center block (just remove the break tags after each album title and you should be fine). as for the description, you could just add:
Code: ›
$content .= $currentAlbum->fields['description']."<br>";

underneath this line:
Code: ›
$content .= $parentTitle."".$currentAlbum->fields['title']."</a></center><br>";

_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


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

PostPosted: Fri Jul 25, 2003 5:30 pm    Post subject: Reply with quote

Thx man - all done on my site! Very Happy

Check it out:

http://www.esp3.net [esp3.net]
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic

 
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 HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

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