Version: , by (Guest)
Developer Last Online: Jan 1970
Version: 2.2.x
Rating:
Released: 06-29-2001
Last Update: Never
Installs: 26
No support by the author.
Instructions in the ZIP file (gallery.txt). Should explain most details of installation. I haven't done an INSTALL from scratch, so you get to beta test that part of the program.
The gallery itself seems quite stable. I added some load limiting/checking options before releasing as well. Let me know how your installs go, features you'd like to see, etc.
Originally posted by VirtueTech Question: Since this gallery of images is being used on the forums which uses the PHP GZIP compression agent....if the admin has it set of course....does the PHP GZIP compress the images as well?
Originally posted by mojotim Still same thing, no pics. By turning off Safe mode, I have gotten my other gallery script working (not connected to MySQL or vB at all) which uses ImageMagick, so I know it works and that the location is correct.
What is up with this line:
Find function acceptupload() (Line 1277):
Find (Line 1347):
$attachmentid=$DB_site->insert_id();
Change to:
$attachmentid=$DB_site->insert_id();
How come it says nothing after that? Mistake? Should we be doing something at line 1277?
Er, that block of code reads as:
Find function acceptupload() (Line 1277):
Find (Line 1347):
$attachmentid=$DB_site->insert_id();
Change to:
$attachmentid=$DB_site->insert_id();
makeThumb($attachmentid, $attachment_name, $path);
The first find function is just to get you in the correct block of code.
For mojotim and others having problems. Just put this in your forums directory, along with gallery.php. Point your web browser at it or give me a URL. Just does a bunch of debug prints of script variables to help me track down where things are going wrong.
eva2000 - I tried using mod_gzip as per its instructions to gzp the images on my site...it didn't work....sometimes the images would load up broken....so there is a way but I'm not sure about PHP's gzip
Originally posted by VirtueTech Does this Image Gallery hack give me the ability to decide what usergroups have the right to view the gallery(s)?
If they can view the forum, they can view the gallery for the forum. I suppose what you're looking for is a way to prevent anonymous users from viewing the gallery. It's a good idea for the future.
Finally found a real problem, and it was a stupid one. I didn't escape my PHP variables in the install file, so they were interpreted as Null values and leaving blank spots in the templates.
Attached is a new galleryinstall.php, put it in your admin directory and run it. It will update the templates.
I'll update the zip file after I eat dinner and mojotim confirms this works.