I am using the latest version of Gallery and I am using Postnuke. I have the gallery running in the module and I have a link in the main menu.
I have been using Magnish (and still am at the moment) and I love the block that it uses. I would like to set up a block of a similar nature - a random block or a photo of the week - that when clicked would link to the gallery module.
I have seached the forum for something and I have followed the instructions to set up a Featured Photo block but this killed my Gallery and I had to start again.
Does anyone know of a block that will just "Slot" in and won't need loads of manual re-configuring?
ANY help will be much appreciated as I really like this Gallery but without this block I can't see me sticking with it! :cry:
Rich
Posts: 13
Don't know if this will help, but I had this working:
http://gallery.menalto.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=23
And after searching a little , I also found thi sreference:
http://www.portalzine.de/displayarticle788.html
Let me know how it turns out.
Posts: 13
wow... just ran my pn with the original random block script.. and it totally crashed my server nice... LOL
Hmm... don't try this on a production machine
Posts: 794
Moved in from Nuke forum.
Posts: 10
Just download the latest source from Jorg's site. It works fine with gallery 1.4RC2.
http://www.holzapfel-online.de/modules.php?op=modload&name=Downloads&file=index&req=getit&lid=9
Posts: 11
Thank you soooo much! Works fine for me as well with the new relese of gallery!
Posts: 16
Hey I just downloaded this and it worked perfectly on my site also.
Thanks for let us know.
Posts: 2
I've been checking this site daily waiting to see if anyone would update the random block. I'm very happy to see that we have a working version again. Thanks for posting the link! It worked great.
Posts: 3
I've just installed the latest build of the random block on my site. Worked fine compared to the current release with the configuration triggers.
Only problem is that it's only displaying random images from the two albums that were then when I uploaded it.
So it's not displaying images for the album I created via Gallery Remote after I installed the random block.
Any one else seeing this with the latest build?
Posts: 3
Strange, it's now seeing all the albums including the ones I added last night.
I was playing with the database, just looking at the tables no editing. Either my tinkers with the DB triggered a refresh or the adding of new albums triggered it. :P
Posts: 103
Hi,
i don't know how you come to the statement, that the latest block is working.
i'm using postnuke .726 and the latest gallery. i also downloaded the latest source for the random-gallery block and when i create the block in my postnuke environment i get the following error:
any help in this, i searched the forum a long time but didn't find anything
rgds,
ty2d
Posts: 794
Try allowing more memory in your php.ini then restart the web server (apache?).
Posts: 56
I have the same problem: "Fatal error: Allowed memory size of ...."
but only if I use the last version of gallery.
I cant modify my php.ini....are there other solutions in order to make it working?
Thanks
Posts: 13451
Skin, FAQ Gallery:c.16
Posts: 2
I may be wrong in this but I believe there is a cache of 24 hours built into the random script so you have to either wait a day or change the time value in seconds of the cache in the script before new pictures will show up. The line in the code is:
define(CACHE_EXPIRED, 86400);
That aside, I'm just glad to see that somone has updated the random script so that it actually works. I've gone from error messages to hanging my site with trying to use the original script. Now if the working script can just be posted somewhere that's easier to find, like updating the Downloads, Feature Customization page
Posts: 60
I Just tried that block, the album is visible now but this error is in the header:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/manifest/public_html/Phoenix/html/modules/gallery/classes/database/mysql/Database.php on line 37
Any suggestions?
Gerald
Posts: 2
Yes Actually i got this Error Also.. here is the fix if your using postnuke
look for this
and change it to
that seems to have fixed it with my install of Post Nuke 0.7.2.6 hope it Helps let me know if it did
Posts: 6
Thanks so much! I was having this problem too.
FYI if anyone is curious: Joerg's latest random-image block...after this fix, seems to work fine in gallery version 1.4.1 rc4 with postnuke 0.7.2.3-phoenix
Posts: 2
Im Glad it worked im also using the 1.4.1 and it worked with 0.7.2.6
Posts: 1
It works for me too, but if you click on the image it opens in a new window instead of the center.. Is this fixable? I just installed gallery about 30 minutes ago.. Bear with me Thanks
Posts: 4
I'm having similar problem with the script only using images from one album.
I changed the line:
define(CACHE_EXPIRED, 86400);
to
define(CACHE_EXPIRED, 30);
assuming that would change it to 30 seconds, but it still only uses images from one album. I really like the script, except for that problem. I would appreciate some assistance.
<update>
This can't be the only issue (cache time). The "configure" function of the administration block for the random image block only shows two albums choices: "No special album" and the one that does show up, even though I have two total albums, I cannot choose the 2nd album, even manually.
</update>
Posts: 3
OK, here's the next problem:
When using ver. 0.41 gallery "not configured" dialog shows up.
When using ver. 0.54b - after activating, nothing shows up. I mean the entire page is blank - snow white. After deactivating, everything is back.
PostNuke - ver. 0.726.
Any ideas?
Posts: 5
I aggree. I upgraded without deactivating the random block (forgot to) and then ended up killing the site. Took out the block the old fashion way then upgraded the module and reinstalled the randoms and it seems to work fine now. I too think this random image script should be a sticky or eaiser to find.
Posts: 10
Very helpful thread and a cool block for postnuke.
I've not had any of the problems mentioned here, just lucky I guess. I'm running PN 0.726 and Gallery 1.44pl1.
Had one little glitch from a dumb mistake... I forgot to name the block. In the theme I'm using, the silver bar that's normally over the block ran through the middle of the block.
Also, some of my pictures - usually the odd-sized ones aren't scaled right in the random picture. I figure it's a setting I have to play with.
Thanks for a nice block and an unusually helpful thread.
K
Posts: 7
Just added to gallery 1.4.4-pl2 in pn 0.7.5.0 - works great
Thanks for an easy add-in
Posts: 3
Hi.
I added this and I get the following error now when I go to add a new block from the ACP:
My system environment is Gallery 1.5RC, Postnuke 0.7.5.0 Gold plus security patches from February, PHP 4;3;10, Apache 1.3.31.
Posts: 1
I have the same problem with G1.5.3 and pn762 - any sugetions?
Posts: 12
Yeah same here! Works awesome!