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  

[TESTING] Selectable Album Random Block
Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Blocks View previous topicPrinter friendly versionView next topic
Author Message
dari

Site Admin
Site Admin


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

PostPosted: Wed Jan 28, 2004 10:57 am    Post subject: [TESTING] Selectable Album Random Block Reply with quote

All the same functions as the RandomBlock V2, but with the addition of the admin being able to select which albums he/she wants shown. You can grab a testing version of a selectable random block here:
http://www.nukedgallery.net/download-file-37.html

When you log into your nuke site as admin, you will be presented with a list of your albums. Check the ones you want included, and click the "Save" button. Once you've logged out as admin, you should see only photos from your chosen albums in the block. See the demo at the demo site [nukedgallery.net]. I selected to only allow photos from the "Christmas 2001" album to be chosen.

Note that when you add new albums, or new photos to existing albums, you will have to go through the admin interface and re-select the album so that the correct number of photos is stored in the cache.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
AdBot
   Post subject: [TESTING] Selectable Album Random Block  

Back to top
gravityarc

Novice
Novice


Joined: Aug 29, 2003
Posts: 21

PostPosted: Fri Jan 30, 2004 1:48 am    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

Hey dari. Stupid question, but how do you select the ablums? Confused I don't get prompted anywhere to select them. I KNOW I'm overlooking something dumb, but I just can't find it.

Thanks.
Back to top
Offline View user's profile Send private message
sillium

Beginner
Beginner


Joined: Jan 27, 2004
Posts: 4

PostPosted: Fri Jan 30, 2004 5:40 am    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

After installing and trying to access "new Block" from Admin menu i get this error
Code: › Warning: fopen(/is/htdocs/XXXX/XXX/modules/Gallery/albums/block-random.cache): failed to open stream: No such file or directory in /is/htdocs/XXX/XXXXX/modules/Gallery/platform/fs_unix.php on line 55


(account nr. has been replaced by XXXX Wink )

regards
alex
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Fri Jan 30, 2004 8:10 am    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

gravityarc wrote: › Hey dari. Stupid question, but how do you select the ablums? Confused I don't get prompted anywhere to select them. I KNOW I'm overlooking something dumb, but I just can't find it.

Thanks.


log into your nuke site as admin, the block should now look something like this:

Just click the ones you want Smile
_________________
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: 6234
Location: Washington Township, NJ, USA

PostPosted: Fri Jan 30, 2004 8:12 am    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

sillium wrote: › After installing and trying to access "new Block" from Admin menu i get this error
Code: › Warning: fopen(/is/htdocs/XXXX/XXX/modules/Gallery/albums/block-random.cache): failed to open stream: No such file or directory in /is/htdocs/XXX/XXXXX/modules/Gallery/platform/fs_unix.php on line 55


(account nr. has been replaced by XXXX Wink )

regards
alex


you didn't specify your albums directory properly (it should NOT be inside your gallery installation directory). also, this block is not intended for use on PostNuke (re your other post on Newest Albums block).
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
inSaNE_iRIsH

Wizard
Wizard


Joined: Jun 19, 2003
Posts: 101

PostPosted: Tue Feb 24, 2004 12:35 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

gravityarc wrote: › Hey dari. Stupid question, but how do you select the ablums? Confused I don't get prompted anywhere to select them. I KNOW I'm overlooking something dumb, but I just can't find it.

Thanks.


i'm with him, i didnt get prompted either...thought it might have been becasue one (out of 2 total) of the albums was empty, so i uploaded a pic to it and still nothing
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Feb 24, 2004 12:37 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

look two posts up..it should appear in the block when you're logged into your site as the GOD admin.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
gravityarc

Novice
Novice


Joined: Aug 29, 2003
Posts: 21

PostPosted: Tue Feb 24, 2004 1:13 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

Dari- I'm not seeing the option to select the albums either. Does it need to be the ACTUAL God account or just any admin?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Feb 24, 2004 1:16 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

the check is this:
PHP: › <?php if(is_admin($admin)) ?>

and it may just eval to true if it's the GOD admin...is there another non-god admin check?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
inSaNE_iRIsH

Wizard
Wizard


Joined: Jun 19, 2003
Posts: 101

PostPosted: Tue Feb 24, 2004 1:23 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

i am logged in as the God Admin, and i still dont get it...i dont see that code in any of the files i downloaded...which is it supposed to be in?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Feb 24, 2004 1:37 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

shit i must've been smoking crack the day i uploaded it....here it is:
http://www.nukedgallery.net/download-file-37.html
_________________
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 Feb 24, 2004 2:10 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

I don't see this either:



when I'm logged in as admin. Also I had to remove the floatval statement to fix errors.
_________________
"The only difference between me and a madman is that I'm not mad."
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: 6234
Location: Washington Township, NJ, USA

PostPosted: Tue Feb 24, 2004 2:12 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

grab that latest file...it should be fixed...if not, i must be totally losing it.
_________________
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 Feb 24, 2004 2:19 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

Laughing Sry man I think you must be - I just grabbed and installed the files from the link above!
_________________
"The only difference between me and a madman is that I'm not mad."
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
slackbladder

Moderator
Moderator


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

PostPosted: Tue Feb 24, 2004 2:21 pm    Post subject: Re: [TESTING] Selectable Album Random Block Reply with quote

Are you sure thats the right link? I don't see any of the TEXT (The following albums are ....) from the block in the code?
_________________
"The only difference between me and a madman is that I'm not mad."
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 Issues » Blocks View previous topicPrinter friendly versionView next topic
Goto page 1, 2, 3, 4, 5, 6, 7  Next

 
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 HostingDomain NamesDedicated ServersDedicated Web HostingDomain Name RegistrationWeb hosting AustraliaSEO Web DesignWeb Design New YorkSearch Engine OptimizationSearch Engine Optimisation

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