Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
OakGallery 2.0 Released ! [Great image gallery] Details »»
OakGallery 2.0 Released ! [Great image gallery]
Version: 1.00, by Bergman Bergman is offline
Developer Last Online: Aug 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-05-2003 Last Update: Never Installs: 32
 
No support by the author.

?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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 04-08-2003, 07:57 AM
Oak Oak is offline
 
Join Date: Apr 2003
Location: Stockholm
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 07:31 AM kuska said this in Post #85
This is a great hack. Is there a possibility for the next upgrade to have a search included, and Nicknames in comments would be links to the comentee picture???? Or can you write a addon? With a large database of pictures people are getting ++++ed looking for their pictures, and looking for pictures on the people who posted a comment on them.
This function is planned for a future release!
Reply With Quote
  #93  
Old 04-08-2003, 12:49 PM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another feature that might be considered would be for each member to have his own album that can be linked to his postbit perhaps ?
Reply With Quote
  #94  
Old 04-08-2003, 03:25 PM
Moyses's Avatar
Moyses Moyses is offline
 
Join Date: Mar 2002
Location: El Salvador
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:06 AM winky6 said this in Post #82
ricoche & Kurayami,

You need to add the full server path in all the files in the include folder for the included files.

include('sql-' . $cfgDataBaseType . '.php');

should be

include('/your/server/path/forums/gallery/include/sql-' . $cfgDataBaseType . '.php');


I did this to all the files in the include folder that had the include statement & it fixed all my errors.
:banana:

Hai!!!

Doomo Arigatoo Gozaimasu!!!!
Reply With Quote
  #95  
Old 04-08-2003, 09:22 PM
winky6 winky6 is offline
 
Join Date: Nov 2001
Location: Boston
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome guys.

Quote:
Great that you get it working guys ! But you should not need the full path?s in the include?s. Have you checked that you have this line in php.ini on your server ?
This is not an option for some of us. Being at the mercy of our ISP's, they are the ones to make the changes.

As for why the error in 2.3.0, I am scanning the diffs in the files between 229 and 230.
When I'm sure what the problem is, and find a fix, I'll let you all know.
If someone doesn't beat me to it
Reply With Quote
  #96  
Old 04-09-2003, 08:22 AM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I now have ImageMagick on the server. I still have the thumbnail problem though. Here's my configuration;

Code:
$cfgGalleryDirWeb = '/bb/gallery/';	// absolute web path to gallery files
	$cfgImageDirWeb = '/bb/gallery/images/';	// absolute web path to image dir
	$cfgImageDirLocal = '/home/virtual/site62/fst/var/www/html/bb/gallery/images/'; //The local path to the image dir
	$cfgThumbDirWeb = '/bb/gallery/thumbnails/'; 	// absolute web path to thumbnails dir
	$cfgThumbDirLocal = '/home/virtual/site62/fst/var/www/html/bb/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 = '1,2,3'; 
 	$cfgForumDir = '/home/virtual/site62/fst/var/www/html/bb/'; // The local path to the forum dir
	$cfgGalleryDir = '/home/virtual/site62/fst/var/www/html/bb/gallery/'; // The local path to the vGallery dir
	$cfgConvert = '/usr/X11R6/bin/convert'; // Local path to ImageMagick's convert
	$cfgComposite = '/usr/X11R6/bin/composite'; // Local path to ImageMagick's composite
I don't need composite and convert CHMODed to 777 as well, do I? :/
Reply With Quote
  #97  
Old 04-09-2003, 12:38 PM
auz1111's Avatar
auz1111 auz1111 is offline
 
Join Date: Nov 2002
Location: columbia, sc
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there another way to configure this hack to use something besides ImageMagick? my host does not have this component and will not install.
Reply With Quote
  #98  
Old 04-09-2003, 03:12 PM
Bergman Bergman is offline
 
Join Date: Aug 2002
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

auz1111, not for the moment ... GD will maybe work in the next version.

winky, ok. Yes, please let us know if you solve the 2.3.0 problem.

Zelda-King, what is the path to phpinfo.php ? Does the webserver have write access in Thumbnails directory now ?
Reply With Quote
  #99  
Old 04-09-2003, 03:54 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

- I can't find phpinfo.php but I know I have PHP. Where 'should' it be?
- Yes, my CHMOD settings for thumbnails and images were 'finally' changed to 777. Seeing as the setting for thumbnails is the same to that of images and the images thing works OK, that isn't the problem now.

Two things in the requirements I'm unsure of;

Quote:
The variable include_path = "." in php.ini
I don't know where that is in order to check. If php has that by default then that should be OK as I KNOW I have PHP.
Quote:
OakGallery currently requires a web server that allows you to run shell commands from php-scripts (for ImageMagick).
I know nothing about that.

For the record I'm using vBulletin 2.3.0.

Current gallery status: Check here;

http://www.gamercrossfire.net/bb/gallery/index.php

Maybe you can eliminate a few problems?
Reply With Quote
  #100  
Old 04-09-2003, 06:52 PM
Bergman Bergman is offline
 
Join Date: Aug 2002
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zelda, your gallery seems to work except for the thumbnails. Either there is some problem (wrong path?) with "convert" or there is som security problem with thumbnails directory. Your Php.ini is probably ok because you have no errors on your gallery.

Hopefully Åke has some good ideas about your problem.
Reply With Quote
  #101  
Old 04-09-2003, 07:45 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the folder directory thing is correct. Then again so was /home/var/www/html/bb for the forum directory but that didn't work. I had to use /home/virtual/site62/fst/var/www/html/bb even though there is no visible /virtual/site62/fst/ path there. It goes from 'home' to 'var'.. Adding the /virtual/site62/fst/ doesn't work in this usr folder though (for composite/convert).
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05368 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete