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
  #182  
Old 05-17-2003, 03:03 AM
Guidster Guidster is offline
 
Join Date: Dec 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can throw my site in as a production site:

www.allthingsmoto.com/gallery
Reply With Quote
  #183  
Old 05-17-2003, 06:52 AM
Highlander Highlander is offline
 
Join Date: Apr 2002
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

many people dont have image maigc..and many of them could not install it cause they dont gt an own server .. so the standart for thumbnails and picture galleries is GD 1.0 or higher.also the most of them dont got GD2.0 ..the most providers..dont let the webmaster control the php.ini or installing new software like upgardes or imagemagik..
..so it would be nice..if there would be support for GD1.0 GD2.0 or image magik..so the users who installed this software can choose what they have istalled to show the images correctly.. and also an instant access ti php.ini inst normally for most of us .. there should be another way to include the files..cause editing the php.ini is not allowed to most of us..

are you planning to make updates for users like me?

greets Highlander

www.spieleplanet.com <- installed an alternatiove gallery, wich was written for phpBB ..this gallery supports GD1,2 and Image Magic..and as addin phpBB users can choose the correct user database to make it work like this gallery..
Reply With Quote
  #184  
Old 05-17-2003, 07:13 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Highlander, I can only agree with you - I would use this hack, if it would have GD2 support, but now - it's useless. What is that phpBB hack - can you show it in action?
Reply With Quote
  #185  
Old 05-19-2003, 10:48 AM
Stud_Muffin Stud_Muffin is offline
 
Join Date: Sep 2002
Location: UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you just use a precompiled version of ImageMagick's convert and composite and point to them? This is assuming you don't have full access to install it properly.
Reply With Quote
  #186  
Old 05-19-2003, 11:04 AM
Highlander Highlander is offline
 
Join Date: Apr 2002
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is it:
http://spielplanet2.de/forum/gaming/...ndex.php?cat=2

it uses only phpBB if you got this.. but it support GD1.0 GD2.0 and ImageMagik ..it goit Slideshows, e-Cards an all comfot a expensive tool Like Photo Posts meets..

the only thing i turned the user registering off..cause i got my users of vb in the forums.. so oak galerry is the same..but it only supports imageMagik..and ImageMagik only is preinstalled if you install it.. or you can get root rights.. but 90% of webmasters host their sites on some preinstalled servers without root rights..and known issues of paths to imagemagik..so most of them really did not got GD2.0 just GD1.0 support..cause many Server companies have to pay much money that their users could user things like this..

if oak gallery would dupport all 3 kinds of image compresison like GD1 and 2 and imageMagik..it would be really better than the 120$ expensive PhotoPost

@Muffin .. i cant install imageMagic..cause i dont got root rights..to look below my home diretories. So its unpossible for me to user THIS GREAT hack..if it would support gd it would be better than PhotoPost!..

..i really just thought to install Photopost..but a test and first look showed me it only support imageM;agic too.. so a software 120$ expensive dont works for me....till a better way coems up i have to use this version i insatlled on my site:
http://spielplanet2.de/forum/gaming/...ndex.php?cat=2
Reply With Quote
  #187  
Old 05-19-2003, 09:01 PM
winky6 winky6 is offline
 
Join Date: Nov 2001
Location: Boston
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Highlander,

I don't agree with you.

1st, most of the people who write hacks here at vbulletin.org do so for FREE , and share them with the public without any compensation.

They then spend the rest of their time answering, and re-answering question about installation that was covered in the install instructions.

NOW, if you want to spend some of your free time, why dont you write a hack that has all those beni's that you want in your forums.

Now, if some of you are using a host that doesn't have Imagemagick, I would suggest you switch to higher quality hosting company.

Personally, I use venturesonline.com, and they have GD 2, and Imagemagick.
Reply With Quote
  #188  
Old 05-20-2003, 12:22 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use 4images if u wish , theres a mod in their forums for vB integration too.
Supports GD and imagemagik and netbpm too.

just fyi
Reply With Quote
  #189  
Old 05-23-2003, 07:04 PM
Rodney Rodney is offline
 
Join Date: Apr 2002
Location: Sweden
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-14-03 at 04:45 AM kuska said this in Post #116
This php script will automaticly pick a random image from OakGallery 2.0 thumbnails section and display it on your forum homepage or any other non VB site. I use it, easy to install, just edit path to your OakGallery 2.0 Thumbnails folder and upload. It attracts more people to chceck out the gallery - worked wonders for me. Try this out, looks real nice on the home page.

Install time 1 MIN

***Instructions***

1) Edit the path to the thumbnails folder in randomimage.php

2) Save and upload randomimage.php and chomod it to 775

3) Open forumhome template in your Admin CP and place the call out code anywhere desired by your likes.

PHP Code:
<img src="url/randomimage.php"height="125"width="125"
*** End Install ***

Hi I cant get this to work..... I did exactly as the instructions said...
all I get is this when I call the script : Parse error: parse error, unexpected '<' in /var/www/htdocs/randomimage.php on line 8

( http://cancan.mine.nu/randomimage.php )

randomimage.php
PHP Code:
  $url='http://cancan.mine.nu/gallery/thumnails';
  
//Stop editing, that is all. Call the image with: 
<img src="http://cancan.mine.nu/randomimage.php"height="125"width 
customtemplate 2
PHP Code:
<tr><td bgcolor="$getbgrow"><smallfont>
<
img src="http://cancan.mine.nu/randomimage.php"height="125"width="125">
</
smallfont></td></tr></form></table></td></tr></table><p
plz help..... I'm so bad at php
Reply With Quote
  #190  
Old 05-27-2003, 11:47 AM
cyrus's Avatar
cyrus cyrus is offline
 
Join Date: Oct 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Im getting a few errors :-

Warning: main(sql-mysql.php) [function.main]: failed to create stream: No such file or directory in /home/cyrus/public_html/forum/gallery/include/sql.php on line 5

Warning: main() [function.main]: Failed opening 'sql-mysql.php' for inclusion (include_path='') in /home/cyrus/public_html/forum/gallery/include/sql.php on line 5

Warning: main(getuser-vbulletin.php) [function.main]: failed to create stream: No such file or directory in /home/cyrus/public_html/forum/gallery/include/getuser.php on line 6

Warning: main() [function.main]: Failed opening 'getuser-vbulletin.php' for inclusion (include_path='') in /home/cyrus/public_html/forum/gallery/include/getuser.php on line 6

Warning: main(thumb.php) [function.main]: failed to create stream: No such file or directory in /home/cyrus/public_html/forum/gallery/include/showthumbs.php on line 5

Warning: main() [function.main]: Failed opening 'thumb.php' for inclusion (include_path='') in /home/cyrus/public_html/forum/gallery/include/showthumbs.php on line 5

Fatal error: Call to undefined function: sqlconnect() in /home/cyrus/public_html/forum/gallery/index.php on line 10

Also, I dont know the path to imagemagick, do I need to install it first ??

thanks

--- Everything now ok thanks to version 2.01 and imagemagick. Thanks Oakgallery satff ! ---
Reply With Quote
  #191  
Old 05-28-2003, 03:48 AM
limey's Avatar
limey limey is offline
 
Join Date: Dec 2001
Location: -
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parse error: parse error in /www/forums/gallery/config/galleryconfig.php on line 95

Fatal error: Failed opening required './include/sql-.php' (include_path='.:/usr/lib/php') in /www/forums/gallery/include/sql.php on line 10

And I've tried the fix posted on oakgallery site.
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 11:04 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.05990 seconds
  • Memory Usage 2,329KB
  • 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_php
  • (1)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