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  

[RELEASE] Random Photo V2
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
sgn2

Beginner
Beginner


Joined: Aug 08, 2004
Posts: 1

PostPosted: Mon Aug 09, 2004 9:15 pm    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

1.4.4 fix?

Fatal error: Call to undefined function: isalbumname() in
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: [RELEASE] Random Photo V2  

Back to top
jdlejeune

Beginner
Beginner


Joined: Jul 19, 2004
Posts: 1

PostPosted: Tue Aug 10, 2004 11:45 am    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

I'm new to this. I've placed the files in my Blocks folder. I go to blocks in admin and under "add a new block" I type:

Name: Random Photo
Filename: NG-RandomPhotoSelectTest
Position: Right
Activate: yes
Expiration: 0 days
After expiration: deactivate
Who can view..: All Visitors
Visible to Subscribers: Yes

Why can't I see it??
Back to top
Offline View user's profile Send private message
agarcha

Beginner
Beginner


Joined: Oct 15, 2003
Posts: 2

PostPosted: Wed Aug 11, 2004 6:08 am    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

I am getting the same error as sgn2 "Fatal error: Call to undefined function: isalbumname()" something to do with line 101. Help!
Back to top
Offline View user's profile Send private message
dvsj

Beginner
Beginner


Joined: Aug 13, 2004
Posts: 1

PostPosted: Fri Aug 13, 2004 5:11 am    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

I too am getting an error with 1.4.4
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Fri Aug 13, 2004 6:54 am    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

i haven't had the time to go through the blocks and check for code changes that need to be made in light of the 1.4.4 release. Gallery evolves more and more with each release, making it difficult for the "little guys" like me to keep up Wink
Back to top
Offline View user's profile Send private message Visit poster's website
aimana

Beginner
Beginner


Joined: Aug 01, 2003
Posts: 1

PostPosted: Fri Aug 13, 2004 1:20 pm    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

works on my implementation of 1.4.4 and nuke 7.3
Back to top
Offline View user's profile Send private message
GJSchaller

User
User


Joined: Aug 04, 2004
Posts: 37
Location: Valhalla, NY, USA

PostPosted: Mon Aug 16, 2004 4:10 pm    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

I'm getting the same error on line 101 - Gallery 1.4.4, Nuke 7.4
Back to top
Offline View user's profile Send private message Visit poster's website
nickg

Beginner
Beginner


Joined: Aug 26, 2004
Posts: 1

PostPosted: Thu Aug 26, 2004 8:43 am    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

hi - a small bug i've found on NG-RandomPhoto_funcitons.php

when the random photo block is installed in phpnuke and you set it to AUTO (from the block-NG-RandomPhoto.php file) - a link shows on your block where you can acces the gallery directly, you click it and the link opens up inide the block

its becasue of this in NG-RandomPhoto_functions.php

$FROM = "From: <a href=\"$ALBUM_URL\">" . $album->fields['title'] . '</a>';

there is nothing to tell it to open a new window so i added target=\"_top\"

and that fixed it. - so now i go into the photoalbum directly !

$FROM = "From: <a href=\"$ALBUM_URL\" target=\"_top\" >" . $album->fields['title'] . '</a>';
Back to top
Offline View user's profile Send private message
twelves

Beginner
Beginner


Joined: Jul 31, 2003
Posts: 14

PostPosted: Sat Oct 02, 2004 11:10 am    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

Fatal error: Call to undefined function: isalbumname()

Count me in watching this thread also.

Rolling Eyes

nuke 7.5 (Patched)
Final version of PHP
Linux server
Back to top
Offline View user's profile Send private message Visit poster's website
twelves

Beginner
Beginner


Joined: Jul 31, 2003
Posts: 14

PostPosted: Sat Oct 02, 2004 11:16 am    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

Wooops, Did more digging and found this.

I hope I can make a small donation this year. Might have a real job now!



You will either need to change ALL refs to isAlbumName to getAlbumName or downgrade to 1.4.2 until Dari (site admin) has revised the RANDOM BLOCK code (my guess is this won't be done until 1.4.3 is on public release) Wink
Back to top
Offline View user's profile Send private message Visit poster's website
-JiF-Mike

Beginner
Beginner


Joined: Oct 12, 2004
Posts: 1
Location: NH

PostPosted: Tue Oct 12, 2004 11:51 am    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

I replaced isAlbumName with getAlbumName and that fixed it for me. Smile Thanx for the info!
Back to top
Offline View user's profile Send private message Visit poster's website AIM Address
Ricasso

Beginner
Beginner


Joined: Oct 15, 2004
Posts: 1

PostPosted: Sat Oct 16, 2004 6:58 am    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

Is anyone having a problem with the "random" function of the block? I have my block set to scroll three images vertically but they are sometimes not as random as I would like... i.e. sometimes the same thumbnail shows twice. Is there a something that I need to tweak in the random function?

My block is in the lower right-hand corner: http://www.seekers-hq.com/portal [seekers-hq.com]


And I just want to say thanks for all the hard work you've done keeping up with the Gallery releases.
Back to top
Offline View user's profile Send private message
martinn

Beginner
Beginner


Joined: Sep 19, 2004
Posts: 2

PostPosted: Sat Oct 16, 2004 4:25 pm    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

I am getting error:

Fatal error: main(): Failed opening required '/wartwoa/public_html/modules/gallery/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 61

i am using v 1.4.4
nuke 7.4

is this why, or can i fix??
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Sat Oct 16, 2004 5:02 pm    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

martinn,
you need to specify the ABSOLUTE path in your block config:
/home/wartwoa/public_html/modules/gallery/

Ricasso,
The randomness is a function of how many pictures are in each album. So, if you have three albums, one with 100 images, one with 10, and another with 5, the album with 100 images will be chosen more than the other two. and, when the others are chosen, they may show duplicates. you can delete the block-random.cache file and see if that helps.
Back to top
Offline View user's profile Send private message Visit poster's website
martinn

Beginner
Beginner


Joined: Sep 19, 2004
Posts: 2

PostPosted: Sun Oct 17, 2004 4:28 pm    Post subject: Re: [RELEASE] Random Photo V2 Reply with quote

ok changed to absolute path
changed all references to isAlbumName to getAlbumName
now i get a scrolling image in the block but under all these error messages:

Warning: fopen(/wartwoa/public_html/albums/block-random.cache): failed to open stream: No such file or directory in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 221

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fwrite(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 223

Warning: fclose(): supplied argument is not a valid stream resource in /home/wartwoa/public_html/blocks/NG-RandomPhoto_functions.php on line 225


anything else i can try???

gallery 1.4.4
Nuke 7.4
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 Integration » Blocks View previous topicPrinter friendly versionView next topic
Goto page Previous  1, 2, 3, 4, 5, 6  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: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannBluetooth HeadsetOnline internetSEOchina factoryDressesRestaurant Locatorandroid tablet

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