Contribute  :  Support  :  Downloads  :  Forum  :  Links  :  Polls  :  Calendar  :  Directory  :  Advanced Search  
Geeklog The Ultimate Weblog System
Welcome to Geeklog
Friday, May 16 2008 @ 02:27 AM EDT
   

Gallery Random Photo Block v1.2

AnnouncementsThis Geeklog PHP function uses the Gallery Random Block code contibuted by Bhara t Mediratta - Gallery Developer It uses all gallery API calls and does not have a problem with empty albums or r estricted albums.

Please see the INSTALL.txt for notes on changes.

This block has been tested with Geeklog-1.3.8-sr1 and Gallery 1.4-pl1 (installed via the new gallery integration).

Thanks go to Blaine for letting me run with this.

It can be downloaded at LANside.

Story Options

Gallery Random Photo Block v1.2 | 10 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Gallery Random Photo Block v1.2
Authored by: Anonymous on Wednesday, October 15 2003 @ 11:49 AM EDT
This website is not available? Could you post the upgrade to GL or is the url typed wrong?
Gallery Random Photo Block v1.2
Authored by: Dirk on Wednesday, October 15 2003 @ 02:15 PM EDT

Not sure what's wrong with the site, but the block is also available on squatty.com

bye, Dirk

Windows Users Notes
Authored by: emagin on Wednesday, October 15 2003 @ 05:08 PM EDT
Hey windows users need to put in a hard path here for this to work:

(Why can't this be pulled from config.php?)

$GALLERY_BASEDIR "c:/www/public_html/gallery/"; define(CACHE_FILE, "c:/www/public_html/gallery/block-random.cache");
define(CACHE_EXPIRED, 86400);
require_once
Gallery Remote Change
Authored by: emagin on Wednesday, October 15 2003 @ 05:10 PM EDT
If you are using the Gallery Remote hack described here
http://www.geeklog.net/forum/viewtopic.php?forum=3&showtopic=24738

You need to update
require_once($GALLERY_BASEDIR ."init.php");
TO
require_once($GALLERY_BASEDIR ."init2.php");
Gallery Random Photo Block v1.2
Authored by: Anonymous on Sunday, October 19 2003 @ 11:15 AM EDT
Hi!

The block is probably working but is somebody getting that error in
apache error.log, too?

[Sun Oct 19 17:14:17 2003] [error] PHP Warning: Cannot modify
header information - headers already sent by (output started at /Library/
WebServer/Documents/lib-common.php(914) : eval()'d code:143) in /
Library/WebServer/Documents/gallery/util.php on line 1937

Thaks for a hint!
Gallery Random Photo Block v1.2
Authored by: Anonymous on Tuesday, November 11 2003 @ 01:20 PM EST
Yep, exactly the same problem - does anybody know why?
Gallery Random Photo Block v1.2
Authored by: Anonymous on Monday, November 17 2003 @ 09:15 AM EST
hmm same problem here :(
Gallery Random Photo Block v1.2
Authored by: Rabble on Thursday, December 11 2003 @ 02:01 AM EST
I'm getting this too ... I've had a look around but my brain hurts right now.
Gallery Random Photo Block v1.2
Authored by: Rabble on Thursday, December 11 2003 @ 02:34 AM EST
Got it!

http://www.geeklog.net/forum/viewtopic.php?forum=2&showtopic=27056&highlight=Gallery%20Random%20Photo%20Block
Gallery Random Photo Block v1.2
Authored by: hellocyf on Monday, June 20 2005 @ 04:40 AM EDT
Lanside.net is down for maintenance. Be back soon.