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)

Oak 04-07-2003 08:07 PM

Quote:

Today at 09:53 PM Yaxio said this in Post #80
will the prog work with GD instead of ImageMagick?
Sorry, not in this version. It might be done in a future version, but i think you should try getting ImageMagick installed on the server...

winky6 04-08-2003 12:06 AM

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:

ricoche 04-08-2003 12:41 AM

Excellent Winky6! That fixed the problem perfectly. Thank you.

So far in addition to the instructions I had to do the following to get the gallery to work.

1. As Winky6 mentioned above, you have to go into the php files in your include folder and manually modify the include paths. ( Details in post above ).

2. My server paths for ImageMagick's convert and composite are as follows. You might want to try dropping the "X11" if having troubles.

$cfgConvert = '/usr/bin/convert';
$cfgComposite = '/usr/bin/composite';

3. I CHMOD'd my image and thumbnail folders to 777.

4. Used an iframe to integrate this with vbportal. If anyone has any other idea that works please let me know if possible. Thanks.

I'm still testing this, but everything seems to now work. Again thanks to winky6 for the kickstart and I hope my settings above will provide other users with some additional ideas for tweaking if needed.

Thanks again. Nice script so far.

Ricoche :bunny:

Kurayami 04-08-2003 01:40 AM

Ah, thank you very, very much winky6!
You've saved me a great deal of trouble... the gallery's working great now. :)
Just one question, though: Is there anyway to stop the vB database error from appearing...? I really don't want to have to go through the trouble of downgrading to 2.2.9, but I'm loving the script.

kuska 04-08-2003 05:31 AM

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. :)

grace819 04-08-2003 05:32 AM

Wow! Finally an alternative to Photopost! Gotta give it a try! :)

kuska 04-08-2003 05:32 AM

Mabye a PM notification on a new comment? Or am i asking 4 too much :)

Bergman 04-08-2003 06:40 AM

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 ?

include_path = "."

Kurayami, a solution for 2.3.0 should be fixed. :)

Kuska, there is a hack for PM on Comment for ver 1.0. Maybe that work ? Now we have the "Comments on your pictures"-function instead. Any tips of improvements is apreciated ! :)

Bergman 04-08-2003 06:50 AM

Have everyone got it working ? Otherwise please post your problem again ... 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. :)

Oak 04-08-2003 07:56 AM

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:

As Bergman said, this is not the way to go. Fix the include_path in your php.ini instead!

include_path = "."


All times are GMT. The time now is 09:26 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.02300 seconds
  • Memory Usage 1,741KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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