The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
OakGallery 2.0 Released ! [Great image gallery] Details »» | |||||||||||||||||||||||||||
OakGallery 2.0 Released ! [Great image gallery]
Developer Last Online: Aug 2006
?ke is finally done with version 2.0 of the OakGallery.
OakGallery home: http://www.ake.nu/gallery/ Some live galleries: - http://blixten.ake.nu/gallery/ (Ver 2.0) - http://pictures.potatoesmc.com/ (Ver 2.0) - http://websociety.wm.net/~wmanbem/fi...k/fotogalleri/ (Ver 2.0) Please post a link to your installed gallery. Info: - Integrated with your existing forum software - Easy to integrate with other methods of user authentication - IP-based authentication included for users without forum software - Does not need 'register_globals' to be switched on - It's FREE of charge ;-) - Organize images into categories and subcategories - Lets users rate and comment on the images - Sort the images by date, rating, views, etc. - Languages available: English and Swedish. Easy to translate to your own language! - Most features are configurable in some way - The design is very configurable - Define your own data fields - Built with speed and security in mind - Automatic generation of thumbnails and display images - Can add your logo to uploaded images automatically - Uses ImageMagick for high quality thumbnail resizing - Ban IP's from commenting - Show random images from the gallery on any page on your site! (This is done simply by including random.php in your own PHP page) ...and more! Requriments: Database Server - MySQL or MS SQL Server (experimental support for ODBC) - Administration tool for the database server (e.g. phpMyAdmin) - Support for MySQL has been tested thouroughly. - Support for MS SQL has been tested and seems to work fine. - Support for ODBC is currently untested. - PhpMyAdmin to import database structure http://www.phpmyadmin.net/ - ImageMagick installed on server http://imagemagick.sourceforge.net/ - The variable include_path = "." in php.ini - PHP 4 (PHP 3 untested, but should work) - Tested with PHP 4.2.2 - Forum Software - Tested with phpBB 2.0.4 - Tested with vBulletin 2.2.x - With vBulletin 2.3.x, and error message is produced by vBulletin, but still works. - Forum software is not really needed (but highly recommended), you can use ip-based authentication too. Web Server -OakGallery currently requires a web server that allows you to run shell commands from php-scripts (for ImageMagick). Installation: 1. Create a database for the gallery (using e.g. phpMyAdmin) (You can use the same database for OakGallery as for other things, as long as the table names don't collide) 2. Execute the complete database script found in InstallDB/<server-type>-OakGallery.sql 3. UnZip the gallery to a local folder Edit the Upload/config/galleryconfig.php to suit your needs. The configuration options should be self-explanatory. To find where ImageMagick's convert and composite are located. Try running this from your shell (unix): which convert or whereis convert 4. Upload all files in the 'Upload' subdirectory to your webserver. 5. Make the directories 'thumbnails' and 'images' writeable by the webserver. E.g: chown nobody thumbnails chmod 770 thumbnails (In this example, the webserver is run as user nobody.) 7. Also, you need to make the PHP temporary upload directory writable by the webserver. (Contact your system administrator if you need help with step 6-7) Now, try loading the gallery page in your webbrowser and start creating categories for your pictures! 8. Dont you get it working ? Please post your problem here ... include the following: - Path to the gallery - Path to the forum - Path to phpinfo.php - Path?s in the galleryconfig.php Then it will be much easier to help you out. Modification: If you want to modify OakGallery to better suit your needs, the following rules must be obeyed: - The 'PayPal-donate' link and text must be CLEARLY visible. Preferrably near the top of the page. - The original copyright message must be CLEARLY visible near the top of ALL pages. - Add a message saying 'Modified by xxxx' or similar near the copyright message. - Have fun! (and yes, that is a rule!)). Show Your Support
|
Comments |
#12
|
|||
|
|||
i forgot tell you , i work in local server and this is my config data :
$cfgGalleryDirWeb = 'http://localhost/forum/gallery/'; // absolute web path to gallery files $cfgImageDirWeb = 'http://localhost/forum/gallery/images/'; // absolute web path to image dir $cfgImageDirLocal = 'C:/apache/htdocs/forum/gallery/images/'; //The local path to the image dir $cfgThumbDirWeb = 'http://localhost/forum/gallery/thumbnails/'; // absolute web path to thumbnails dir $cfgThumbDirLocal = 'C:/apache/htdocs/forum/gallery/thumbnails/'; // The local path to the thumbnails dir // Put the forums usernumbers for the OakGallery Admins here (comma separated). // Like this: '1,2,3,4' - NOT like this: '1, 2, 3' !!! $cfgAdminList = '2'; $cfgForumDir = 'C:/apache/htdocs/forum/'; // The local path to the forum dir $cfgGalleryDir = 'C:/apache/htdocs/forum/gallery/'; // The local path to the vGallery dir $cfgConvert = '/usr/bin/X11/convert'; // Local path to ImageMagick's convert $cfgComposite = '/usr/bin/X11/composite'; // Local path to ImageMagick's composite |
#13
|
|||
|
|||
Trident, i dont know how it works in a local server ... sorry ...
I dont think that you should use http:// or c: Try something like this: $cfgGalleryDirWeb = '/forum/gallery/'; // absolute web path to gallery files $cfgImageDirWeb = '/forum/gallery/images/'; // absolute web path to image dir $cfgImageDirLocal = '/apache/htdocs/forum/gallery/images/'; //The local path to the image dir $cfgThumbDirWeb = '/forum/gallery/thumbnails/'; // absolute web path to thumbnails dir $cfgThumbDirLocal = '/apache/htdocs/forum/gallery/thumbnails/'; // The local path to the thumbnails dir // Put the forums usernumbers for the OakGallery Admins here (comma separated). // Like this: '1,2,3,4' - NOT like this: '1, 2, 3' !!! $cfgAdminList = '2'; $cfgForumDir = '/apache/htdocs/forum/'; // The local path to the forum dir $cfgGalleryDir = '/apache/htdocs/forum/gallery/'; // The local path to the vGallery dir $cfgConvert = '/usr/bin/X11/convert'; // Local path to ImageMagick's convert $cfgComposite = '/usr/bin/X11/composite'; // Local path to ImageMagick's composite |
#14
|
||||
|
||||
Doh! It was my fault. I hadn't added my userid.
|
#15
|
|||
|
|||
Zelda-King, good that you solved it !
|
#16
|
||||
|
||||
I have a problem uploading though. It says Error moving file - Please contact system administrator.
|
#17
|
|||
|
|||
The webservers user must have write access to /images and /thumbnails
That should do the trick. |
#18
|
||||
|
||||
It sort of did. I'm seeing a red-x though. Is it possible to delete corrupt images?
|
#19
|
|||
|
|||
Just click the bad thumb the click "Delete"
|
#20
|
||||
|
||||
I should have spotted that. Anyway, when I delete a picture I get;
Warning: unlink() failed (No such file or directory) in /home/virtual/site62/fst/var/www/html/bb/gallery/remove_image.php on line 67 Error deleting file(s) 1 errors. Query or Database Error - Please contact system administrator That's probably me though. I tried deleting from the FTP. EDIT: Nope! Does it with other pics too. |
#21
|
|||
|
|||
Zelda-King, even if the picture is missing the database entry should be deleted. Or did the upload of the picture work but not the Thumb ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|