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
  #122  
Old 04-14-2003, 06:09 AM
Bergman Bergman is offline
 
Join Date: Aug 2002
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kuska, there is a random.php included in the OakGallery already. But nice hack anyway.

Im going to speak to ?ke about the problems that some of you are experience. I?ll be back !
Reply With Quote
  #123  
Old 04-14-2003, 04:18 PM
winky6 winky6 is offline
 
Join Date: Nov 2001
Location: Boston
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many people are getting the "Session" error from vbulletin ??????

For some strange reason, I am not getting the error running 2.3, and the only thing I can find between the versions is one of the update scripts in the release canidate updated the sessionhash field to a larger field.

So if some people are getting the error in this merge, I would guess the fix is in the vbulletin database field itself....
Reply With Quote
  #124  
Old 04-14-2003, 05:59 PM
EvilCrow EvilCrow is offline
 
Join Date: Aug 2002
Location: Detroit, Michigan. US
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok this may sound stupid but I'm only getting a blank (White) page no errors nothing but a blank page.. Anyone Help?

$cfgGalleryDirWeb = '/gallery/'; // absolute web path to gallery files
$cfgImageDirWeb = '/gallery/images/'; // absolute web path to image dir
$cfgImageDirLocal = '/big/dom/xcrowsworld/www/gallery/images/'; //The local path to the image dir
$cfgThumbDirWeb = '/gallery/thumbnails/'; // absolute web path to thumbnails dir
$cfgThumbDirLocal = '/big/dom/xcrowsworld/www/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';
$cfgForumDir = '/big/dom/xcrowsworld/www/forum/'; // The local path to the forum dir
$cfgGalleryDir = '/big/dom/xcrowsworld/www/gallery/'; // The local path to the vGallery dir
$cfgConvert = '/usr/bin/convert'; // Local path to ImageMagick's convert
$cfgComposite = '/usr/bin/composite'; // Local path to ImageMagick's composite
Reply With Quote
  #125  
Old 04-15-2003, 01:28 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 10:12 AM winky6 said this in Post #122
How many people are getting the "Session" error from vbulletin ??????

For some strange reason, I am not getting the error running 2.3, and the only thing I can find between the versions is one of the update scripts in the release canidate updated the sessionhash field to a larger field.

So if some people are getting the error in this merge, I would guess the fix is in the vbulletin database field itself....

Thank you for helping me!! (I think i'm the only loner still running 2.28 =))

I changed the Session\sessionhash fields "Length/Values*" to 255 from 32 but it didn't fix it.

Tried to go higher then 255 but it said:
Quote:
MySQL said:


Too big column length for column 'sessionhash' (max = 255). Use BLOB instead
Tried changing it to a BLOB, but it said:
Quote:
MySQL said:


The used table type doesn't support BLOB/TEXT columns
I'm curious if anyone has this working correctly in 2.28

Thanks again for helping me out here!!
Reply With Quote
  #126  
Old 04-15-2003, 01:42 AM
kuska kuska is offline
 
Join Date: May 2002
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 08:03 AM Bergman said this in Post #121
Kuska, there is a random.php included in the OakGallery already. But nice hack anyway.

Im going to speak to ?ke about the problems that some of you are experience. I?ll be back !
Doh !
I guess i did that because i didint upgrade yet

And the reason is i dont see instructions for a upgrade : \
Do i need to create a new data base? Just over write the old files? I dont want to loose my old pictures and comments. :rambo:
Reply With Quote
  #127  
Old 04-15-2003, 04:26 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok how do i find out if ImageMagick is installed on my server?
Reply With Quote
  #128  
Old 04-15-2003, 07:58 AM
Oak Oak is offline
 
Join Date: Apr 2003
Location: Stockholm
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 06:12 PM winky6 said this in Post #122
How many people are getting the "Session" error from vbulletin ??????

For some strange reason, I am not getting the error running 2.3, and the only thing I can find between the versions is one of the update scripts in the release canidate updated the sessionhash field to a larger field.

So if some people are getting the error in this merge, I would guess the fix is in the vbulletin database field itself....
This is interesting... It has to be something with the session-handling, since the first time you load a page on a site which gives the error - the error is NOT shown, but the next time you load a page - you DO get the error. Therefore, it has to be the sessions...

Does the update from 2.2.x to 2.3 (not RC1) also change the table field type? Or was it just RC1 which did that? I wonder what extra information is put into the hash value in 2.3.0 - or if it's a MySQL issue..?

I need help with this since I don't have a machine to run tests on with vBulletin.
Reply With Quote
  #129  
Old 04-15-2003, 07:59 AM
Oak Oak is offline
 
Join Date: Apr 2003
Location: Stockholm
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 06:20 AM Da_GoTTi said this in Post #126
ok how do i find out if ImageMagick is installed on my server?
If you have shell-access, run "whereis convert" or "which convert"
Reply With Quote
  #130  
Old 04-15-2003, 08:01 AM
Oak Oak is offline
 
Join Date: Apr 2003
Location: Stockholm
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And about the include-file errors: I'm working on an update which will fix those errors without the need to have include_path="."
Reply With Quote
  #131  
Old 04-15-2003, 02:32 PM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
This is interesting... It has to be something with the session-handling, since the first time you load a page on a site which gives the error - the error is NOT shown, but the next time you load a page - you DO get the error. Therefore, it has to be the sessions...
I get the error every single time i hit a gallery page, even after clearing my cookies and temp files.


Quote:
Does the update from 2.2.x to 2.3 (not RC1) also change the table field type? Or was it just RC1 which did that? I wonder what extra information is put into the hash value in 2.3.0 - or if it's a MySQL issue..?
I don't know, but maybe this will help:

UPGRADING:
From 2.3.0 Release Candidate 1, Release Candidate 2 or Release Candidate 3
Run http://your.site/forums/admin/upgrade23.php again, clicking the link that allows you to continue when the script alerts you that you have already run this script.

From 2.2.9
http://your.site/forums/admin/upgrade23.php

From 2.2.8
http://your.site/forums/admin/upgrade22.php
http://your.site/forums/admin/upgrade23.php


(files are available for the VB member download area)
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 02:49 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.11174 seconds
  • Memory Usage 2,326KB
  • Queries Executed 27 (?)
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
  • (8)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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