vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   OakGallery 2.0 Released ! [Great image gallery] (https://vborg.vbsupport.ru/showthread.php?t=51255)

Asso 06-27-2003 02:49 PM

Grrrrrrrrrrrrrreat script!!

Really!

allan grossman 07-09-2003 01:27 PM

Installed on clean (well, it was clean once - now it's got all kindsa hacks in it) vB 2.3.0 installation. I installed the tables in the forum database and have no errors.

I run it in a borderless frame with my forum logo and header buttons above it and with a tiny bit of creative frame targeting it's just about a seamless integration.

Outstanding hack. I'm getting ready to pitch photopost and punch the PayPal button.

Oh, yeah - the link.

http://pointbeing.com

punch the "pics" button on any forum page.

edit: The link to the gallery alone is http://pointbeing.com/gallery

allan grossman 07-14-2003 12:34 PM

On another note -

I asked a question in "hack requests" about integrating OakGallery and vBHome Lite so I could put a thumbnail of the last picture uploaded on my front porch. If anybody has any ideas I'd be most appreciative.

Here's the thread -

https://vborg.vbsupport.ru/showthrea...threadid=55275

tia -

nimmo 08-14-2003 05:25 AM

Here are the errors I get when trying to access the gallery.

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/inlinep/public_html/gallery/include/getuser-vbulletin.php on line 13

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

Here are the paths to my directories.

/// Absolute web path to gallery files
$cfgGalleryDirWeb = '/gallery/';

/// Absolute web path to image dir
$cfgImageDirWeb = '/gallery/images/';

/// The local path to the image dir
$cfgImageDirLocal = '/public_html/gallery/images/';

/// Absolute web path to thumbnails dir
$cfgThumbDirWeb = '/gallery/thumbnails/';

/// The local path to the thumbnails dir
$cfgThumbDirLocal = '/public_html/gallery/thumbnails/';

/// The local path to the forum dir
$cfgForumDir = '/public_html/forums/';

/// The local path to the vGallery dir
$cfgGalleryDir = '/public_html/gallery/';

nimmo 08-14-2003 05:48 AM

how do you do that?
Quote:

04-24-03 at 01:42 AM garoboldy said this in Post #160
I just ran the tables in the vbulletin database and it fixed it...

nimmo 08-19-2003 07:05 PM

can anyone help?

Ig@r 08-27-2003 04:05 AM

Hello Bergman,

Thank you for a great hack!
I have only one question. Is it easy to implement so only users from a certain user group would be able to add photos? I don't want users without email confirmation to be able to post pictures.

Thanks again!

Ig@r 08-31-2003 04:04 AM

nevermind, I've done it myself

nimmo 09-13-2003 03:04 PM

pleeeeeaaaaaaaaaassssssssseeeee

Ig@r 09-15-2003 04:07 AM

nimmo, it is easy
You wrote:
Quote:

Here are the paths to my directories.

/// Absolute web path to gallery files
$cfgGalleryDirWeb = '/gallery/';
Change it to real path to your file:
/home/inlinep/public_html/gallery/

Do the same with other variables.
Good luck!

Highlander 09-16-2003 05:02 AM

Hello again,

is there jno way out of using only IMAGE MAGIK? .. is there no posibbilty to use GD support?.. i love Oak Gallery and when i see all the samples it makes me sad about the thing that i aint got root/shell accounts/rights or Image Magik intsalled on the server.

I need something like IoOak Gallery with GD support .. why is there no support for standarts like GD? .. everyone who has a PHP webserver also has GD 1.6 or 1.8 .. why is this programmed only for root server? We the simple peaople..who dont got 50$ or more for a own Server .. cant use somthing great like Oak Gallery..cause we got only shared Webspace .. so again we have to search for expensive scripts like photopost .. bzut i dont give up.. i will search again for something similar.

please.. dont tell.. "code it by yourself" i would if i get the abilities to do so!

Please some programmer: Convert support for GD :) .. and i will cklick the paypal button as many times as my mouse can do it ....

admin@spieleplanet.com

IRC: Phatnet #spiele

TLucent 09-21-2003 09:35 PM

I would like to use random.php. But have not figured out how. Here is my site:

www.crawlclick.com

I would like to have one picture pop up under "Photo Gallery" on the left. This section is HTML coded not PHP. I edited random.php so only one picture will show.

www.crawlclick.com/gallery/random.php

I just can't figure out how to implement it into either php or html.

Any help/tips would be appreciated.

CHOW!

Oak 10-29-2003 09:13 PM

Hi!

I'm sorry that I haven't replied to many of the questions here. I just don't have time to browse the forums... :-S

Just wanted to tell you guys that OakGallery 2.03 now has support for libGD and libGD2.0 ! .. This means you don't have to use ImageMagick binaries anymore!

The functionality is somewhat limited though, as it cannot overlay logo, text and things like that - But thumbnails are still resized and saved to file like with ImageMagick.

E-mail me if you have any questions!

http://www.ake.nu/gallery/

gmarik 10-29-2003 11:12 PM

If only it would have some design.
Maybe we could make it together better - I'm a designer, at all...

Gt-358 11-04-2003 02:55 PM

Does Oak work with vB 3.0.0 Beta 7?

Reason I ask, is everytime I set it to vbulletin in the config file. I get this error

Warning: chdir(): No such file or directory (errno 2) in /home/gt358/public_html/gallery/include/getuser-vbulletin.php on line 15

If I change to IP type, it seems to work (just don't know how to admin it in IP mode and would like it to use the vb3 usernames).


Code:

// IMPORTANT PATH SETTINGS
        //
       
        /// Absolute web path to gallery files
        $cfgGalleryDirWeb = '/gallery/';
               
        /// Absolute web path to image dir
        $cfgImageDirWeb = '/gallery/images/';       
       
        /// The local path to the image dir
        $cfgImageDirLocal = '/var/www/html/gallery/images/';
       
        /// Absolute web path to thumbnails dir
        $cfgThumbDirWeb = '/gallery/thumbnails/';       
       
        /// The local path to the thumbnails dir
        $cfgThumbDirLocal = '/var/www/html/gallery/thumbnails/';
       
        /// The file-mode to set on the files after upload
        $cfgImageFileMode = 0644;
       
        /// 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';
       
        /// The local path to the forum dir
        $cfgForumDir = '/home/gt358/public_html/forum/';
       
        /// The local path to the vGallery dir
        $cfgGalleryDir = '/home/gt358/public_html/gallery/';


Dean C 11-04-2003 04:54 PM

Quote:

Originally Posted by Gt-358
Does Oak work with vB 3.0.0 Beta 7?

Reason I ask, is everytime I set it to vbulletin in the config file. I get this error

Warning: chdir(): No such file or directory (errno 2) in /home/gt358/public_html/gallery/include/getuser-vbulletin.php on line 15

If I change to IP type, it seems to work (just don't know how to admin it in IP mode and would like it to use the vb3 usernames).


Code:

// IMPORTANT PATH SETTINGS
        //
       
        /// Absolute web path to gallery files
        $cfgGalleryDirWeb = '/gallery/';
               
        /// Absolute web path to image dir
        $cfgImageDirWeb = '/gallery/images/';       
       
        /// The local path to the image dir
        $cfgImageDirLocal = '/var/www/html/gallery/images/';
       
        /// Absolute web path to thumbnails dir
        $cfgThumbDirWeb = '/gallery/thumbnails/';       
       
        /// The local path to the thumbnails dir
        $cfgThumbDirLocal = '/var/www/html/gallery/thumbnails/';
       
        /// The file-mode to set on the files after upload
        $cfgImageFileMode = 0644;
       
        /// 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';
       
        /// The local path to the forum dir
        $cfgForumDir = '/home/gt358/public_html/forum/';
       
        /// The local path to the vGallery dir
        $cfgGalleryDir = '/home/gt358/public_html/gallery/';


No this hack is for vb2. No hacks here at vBulletin.org work with vb3 as practially all the code has been changed. Also hacking discussion is not currently allowed here until the RC1 is released (refer to announcements forum for more info) :)

Gt-358 11-04-2003 04:57 PM

Quote:

Originally Posted by Mist
No this hack is for vb2. No hacks here at vBulletin.org work with vb3 as practially all the code has been changed. Also hacking discussion is not currently allowed here until the RC1 is released (refer to announcements forum for more info) :)

doh, ok thanks.

Can someone explain how to use oak in IP mode then? :)

Tony

iceman-x 11-11-2003 05:10 PM

Quote:

Originally Posted by Ig@r
Hello Bergman,

Thank you for a great hack!
I have only one question. Is it easy to implement so only users from a certain user group would be able to add photos? I don't want users without email confirmation to be able to post pictures.

Thanks again!


Quote:

Originally Posted by Ig@r
nevermind, I've done it myself

Hey, nice script.

How did you do it Ig@r.

ScottW23 12-03-2003 01:58 AM

Quote:

mmhhh
photopost 4 free
Yeah, and a BMW 7-series is the same thing as a Ford Focus.

Mr L 12-03-2003 02:11 PM

Quote:

Originally Posted by ScottW23
Yeah, and a BMW 7-series is the same thing as a Ford Focus.

I could not agree more. For an old forum that I ran I brought PhotoPost and had all kinds of problems with it. I believe that I am technically aware however the product that I downloaded, I had to install patch after patch to get it intregreated with vBulletin and then it still didn't look good. At the time (over a year ago), I expected the product I downloaded to be fully working, but it was not fit for use which was a real shame. Eventually I got it working and it was reasonable then, but it was a long and painful road.

So, this does make OakGallery the BMW 7-series of Gallery software. Something that is free and equally has support of a great community and is meant to be part of vBulletin by the add on that it is.

mlevenson 12-11-2003 05:13 AM

Ok so I go tthis installed and I have been testing it out, so far so good except I'm getting error's on file size. It seems that when I upload a file of 603546 it fails due to the configured limit of 524288.

I have modified the galleryconfig.php $cfgMaxFormFileSize = 30720000 but there is a comment on it that it can be ignored. I even hard coded in this value in the upload.php file and I still get an error.

HELP!

Oak 12-11-2003 08:30 AM

Quote:

Originally Posted by mlevenson
Ok so I go tthis installed and I have been testing it out, so far so good except I'm getting error's on file size. It seems that when I upload a file of 603546 it fails due to the configured limit of 524288.

I have modified the galleryconfig.php $cfgMaxFormFileSize = 30720000 but there is a comment on it that it can be ignored. I even hard coded in this value in the upload.php file and I still get an error.

HELP!

You need to change the setting in your php.ini. The problem has nothing to do with the HTML being sent to the client, but is a limit set in php itself.

I think the directives you need to change are:

upload_max_filesize = 8M
post_max_size = 8M

8M can replaced with something else, like 1M or 2M ..

Regards,
?ke

mlevenson 12-11-2003 02:07 PM

Quote:

Originally Posted by Oak
You need to change the setting in your php.ini. The problem has nothing to do with the HTML being sent to the client, but is a limit set in php itself.

I think the directives you need to change are:

upload_max_filesize = 8M
post_max_size = 8M

8M can replaced with something else, like 1M or 2M ..

Regards,
?ke

Ok they both are at 8M they where set to upload_max_filesize = 2M post_max_size = 8M prior so it shouldn't have been any big deal. I copied the exact error that I'm getting in the log file.

[Thu Dec 11 08:03:29 2003] [error] [client 209.221.185.226] Requested content-length of 610908 is larger than the configured limit of 524288, referer: http://www.r1wolfpack.com/gallery/upload.php

If I change the file and make it 65K it works just fine.

mlevenson 12-12-2003 05:59 AM

Quote:

Originally Posted by mlevenson
Ok they both are at 8M they where set to upload_max_filesize = 2M post_max_size = 8M prior so it shouldn't have been any big deal. I copied the exact error that I'm getting in the log file.

[Thu Dec 11 08:03:29 2003] [error] [client 209.221.185.226] Requested content-length of 610908 is larger than the configured limit of 524288, referer: http://www.r1wolfpack.com/gallery/upload.php

If I change the file and make it 65K it works just fine.

Problem was not with the php.ini I found that the file size was being limited by the php.conf file located in httpd/conf.d directory. There is a line called limitfile size or something like that when I changed that to 6M and restared apache it worked fine.

coolmile 12-17-2003 08:07 PM

Quote:

Originally Posted by Zelda-King
Doh! It was my fault. I hadn't added my userid. :D


i have the same problem. i just installed the latest version 2.03, and i coudln't see the second line on the admin page.

what do you mean by "didn't add userid"? it could help me figure out the problem.

after installed, it shows i logged in as admin.. but no way to add categories.

if type in the url manually to create category, it says i need to be an admin to do that..

WeBBy 12-19-2003 04:34 AM

First, your problem coolmile...

Search for yourself on vB (in control panel), then click on edit or something, and look at the address for userid=x. Whatever that number is, that is your userid #. Then, open your galleryconfig.php. On line 74, you will see "$cfgAdminList = '1';". Change that "1" to your userid# and it should work.

NOW MY PROBLEM...

It would appear that Oak Gallery and the small calendar hack dont get along too good. This is my error when trying to upload:

Warning: Cannot modify header information - headers already sent by (output started at /home3/www/basementsystems/dealerarea/cal.php:121) in /home3/www/basementsystems/dealerarea/gallery/upload_handle.php on line 108

Any idea how to get around this and or what the problem might be?

Thanx

EDIT: IGNORE THIS POST (I really should just delete this post but maybe someone is as stupid as I am and will be helped by it). Removing the end comment "<-- End of vbPortal calendar script" from the cal.php script solved the whole problem. What a dumb ass .. lol :O

ScottW23 01-02-2004 02:21 AM

Quote:

So, this does make OakGallery the BMW 7-series of Gallery software.
LOL sorry no, I don't think OakGallery is the BMW 7-series of Gallery software. It's silly to say that all applications that allow image uploads and user comments are automatically in the same league whatsoever. After 2-3 years of development work, maybe oakgallery will get there - who knows, but it isn't now.

PhotoPost has been developed for several years with thousands of manhours and has improved VASTLY since you installed it over a year ago. Here's an example, PhotoPost is now deeply integrated with vBulletin 3: http://www.photopostdev.com/

Mr L 01-02-2004 03:00 AM

Quote:

Originally Posted by ScottW23
LOL sorry no, I don't think OakGallery is the BMW 7-series of Gallery software. It's silly to say that all applications that allow image uploads and user comments are automatically in the same league whatsoever. After 2-3 years of development work, maybe oakgallery will get there - who knows, but it isn't now.

PhotoPost has been developed for several years with thousands of manhours and has improved VASTLY since you installed it over a year ago. Here's an example, PhotoPost is now deeply integrated with vBulletin 3: http://www.photopostdev.com/

Nice to see that you obviously saw there was issues and it could have been improved. I shall certinally be taking a look when I am not at work later today. :)

phenomenon 03-19-2004 11:02 PM

Any idea if Oak Gallery will be upgraded to vb 3 compatibility?

Keyser S?ze 03-23-2004 12:06 AM

i relize everyone is into vb3 now but i am sticking with vb2 for a long while, and was wondering if this hack is going to be updated for vb 2.3.2

thanks alot

Datenpapst 03-29-2004 10:49 AM

Will there be an updatefor 3.0.0 Gold?

allan grossman 03-29-2004 11:16 AM

I spoke to Ake on this a few weeks ago and at that time he didn't have a vB license any more so he couldn't port it to vB3. Maybe that's resolved now :)

SpeedysWorld 03-29-2004 06:43 PM

Maybe he could give someone else permisson to port it? I really would like to use this hack, it's just what I need and the 4images one has to many errors.

- SpeedysWorld

Bergman2 04-02-2004 04:22 PM

I will speak to Åke to fix it with vb3. He can try it out on my server.

iceman-x 06-08-2004 11:15 AM

What is hapening? Have Åke found ho to fix this problem ?. Ore is there som one else that can, modify this to work under vb 3.

thanks in advance.

mvh ice


All times are GMT. The time now is 04:21 AM.

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.01468 seconds
  • Memory Usage 1,842KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete