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

Great that you guys "solved" the session problem. Now we have something to go on to solve it the right way.

Koopa, your server admin has to do it.
Reply With Quote
  #143  
Old 04-17-2003, 04:02 PM
Koopa Koopa is offline
 
Join Date: Nov 2001
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The variable include_path = "." in php.ini

Not sure what that means....
Reply With Quote
  #144  
Old 04-17-2003, 10:23 PM
winky6 winky6 is offline
 
Join Date: Nov 2001
Location: Boston
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Great that you guys "solved" the session problem. Now we have something to go on to solve it the right way.


Maybe it's my defensive side, But I think the "Right way" is to have both the gallery and VB on the same database.

By having the script call 2 seperate config files, you are leaving open an area for exploits.

As for the issue in the php.ini file....

Many webhosting providers are 2nd and 3rd party resellers.
So for them to setup their "Virtual servers" properly, they leave some settings "Undefined".

I would suggest that in the next release, or in future ideas, adding in an additional variable, or use an existing one, and make the paths in the include statement to some thing like..

In gallery config -

$cfgGalleryDirLocal = '/home/user/public_html/photos/'

In the include files
include($cfgGalleryDirLocal . '/include/sql-mysql.php');
Reply With Quote
  #145  
Old 04-18-2003, 05:24 AM
solent solent is offline
 
Join Date: May 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 02:29 PM Koopa said this in Post #140
Can I install Imagemagik myself or does my host have to do it?

no you have to ask your host to install it for you. also you have to ask you host to make this change in the php.ini file

The variable include_path = "."
Reply With Quote
  #146  
Old 04-18-2003, 07:29 AM
Bergman Bergman is offline
 
Join Date: Aug 2002
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

winky, good idea fort the path?s and the database. I will speak to ?ke about it.
Reply With Quote
  #147  
Old 04-18-2003, 08:47 AM
labrador labrador is offline
 
Join Date: Jan 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The install worked fine for me (seperate database), but I can't upload images though.

the error after pressing 'submit' is:
Error moving file - Please contact system administrator
After running phpinfo i noticed that it has no php upload path specified.
Could this be the problem?
If so, is it possible to specify a temp folder?

I am also on a virtual hosting account without access to php.ini so i would like to be sure what is wrong before requesting a modification @ my isp.

i have not checked all features yet but this hack looks great sofar.
The only features i have not read anything about is folder redirection per username (only upload in your own folder for easy management, maybe even auto-delete images when removing a user), quotas per user and a way to give permission to use the gallery on a vbb user basis.
Maybe i am to demanding, then consider this a wish-list

Thanks for the hard work & sharing, bergman and associates

[edit] The error is solved now by chmod /images and /thumbnails to 777 instead of 770.
Now i only need ImageMagick on the server...
Request to provider is made, fingers crossed
Reply With Quote
  #148  
Old 04-20-2003, 08:15 AM
Splitfyre Splitfyre is offline
 
Join Date: Dec 2001
Location: Vancouver, BC Canada
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to limit where people can setup galleries (i.e. can I set specific forums to have this functionality?
Reply With Quote
  #149  
Old 04-20-2003, 08:15 AM
Splitfyre Splitfyre is offline
 
Join Date: Dec 2001
Location: Vancouver, BC Canada
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to limit where people can setup galleries (i.e. can I set specific forums to have this functionality?
Reply With Quote
  #150  
Old 04-20-2003, 09:38 AM
Splitfyre Splitfyre is offline
 
Join Date: Dec 2001
Location: Vancouver, BC Canada
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting the following error message:

Database error in vBulletin 2.2.8:

Invalid SQL: DELETE FROM session WHERE sessionhash=''
mysql error:

mysql error number:

Seems weird since everything else works just fine.

1. Is there a way in which I can allow registered users on my
forum to create sub-categories within a particular category?
Reply With Quote
  #151  
Old 04-20-2003, 02:10 PM
winky6 winky6 is offline
 
Join Date: Nov 2001
Location: Boston
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Getting the following error message:
Sometimes I wonder about people.

If you read up about 6 posts, you'll see we already addressed that issue.

Put your gallery tables in the same database as Vbulletin, and the error will go away.
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:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05857 seconds
  • Memory Usage 2,317KB
  • 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
  • (3)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