vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Photopost to vb/Home Intergration v1.7 (https://vborg.vbsupport.ru/showthread.php?t=53539)

Intex 07-11-2003 04:06 AM

PixelFX - yep I have phpmyadmin setup ona local system - so if you want to do any testing, just PM me.

I'll try some other path variations including the one you've highlighted above and let you know.

Intex 07-11-2003 04:29 AM

OK, I've tried various variations for the path and still get the same 'Query Failed' error. My windows path to the gallery is:

C:\Program Files\Apache Group\Apache\htdocs\gallery

The thumbincluder.php file is located in the root of gallery folder above. My configurations settings are currently set to:

$Url_Path = "http://mysite.com/gallery/"; //URL of your photo album, where the index.php is (with / at end)

$data_dir = "http://mysite.com/gallery/data/" ; //URL of your photo dir where those jpeg stored (with / at end)

$images_dir =$Url_Path."images/"; //URL of your photopost images dir where default missing thumb image is stored (with / at end)

$rel_dir = "C:/Program Files/Apache Group/Apache/htdocs/gallery"; // path to the data directory where pictures reside RELATIVE
// to the location of THIS file (used for checking thumbs)
//Database Setting
//You must change these values in order to run this script
//These value are not visible in the output page source

$host = "localhost"; //Server Name
$user= "removed"; //Username
$password= "removed"; //Password
$database="removed"; //Photopost database name or forum database name

I've tried a variety of paths for the $rel_dir , including:

1. "C:\Program Files\Apache Group\Apache\htdocs\gallery"
2. "C:/Program Files/Apache Group/Apache/htdocs/gallery" (to make sure PHP is ok with the path)
3. "C:\\Program Files\\Apache Group\\Apache\\htdocs\\gallery" (which vB required for installation)
4. "C:\Progra~1/Apache~1/Apache/htdocs/gallery" (short name in case LFN's are causing the problem"

PixelFx 07-12-2003 06:08 AM

Although I'm on linux this is how I have my thumbnail includer setup. Also I have the thumbnail includer setup in my gallery/root.

Code:


$Url_Path = "http://www.shukenja.com/gallery/";        //URL of your photo album, where the index.php is (with / at end)
$data_dir = "http://www.shukenja.com/gallery/data/" ;  //URL of your photo dir where those jpeg stored (with / at end)
$images_dir =$Url_Path."images/";                      //URL of your photopost images dir where default missing thumb image is stored (with / at end)
$rel_dir = "data/";                                    // path to the data directory where pictures reside RELATIVE
                                                      // to the location of THIS file (used for checking thumbs)

rather than use path names I've used full site url etc... for linking the file up.

again it's not windows but you can see how I Have it setup... It works perfectly on my setup but I can't account for all systems, will try to help where I can though.

if anyone else us using a localhost windows box/system for running their forum and use this hack, if you find a solution please feel free to post it here.

Also if you use this hack please click installed on the forum ;)

Intex 07-12-2003 08:40 AM

PixelFX - I can confirm those don't work on my windows system.

PixelFx 07-12-2003 11:14 AM

wonder what is missing, anyone else have ideas?

Intex 07-12-2003 11:59 AM

Is there any way I can do some troubleshoot to find out? Maybe turning on / creating some debugging within the script so we can see what paths its using?

Intex 07-13-2003 09:00 AM

Anybody?

PixelFx 07-13-2003 09:31 PM

Quote:


Russ_T has just replied to a thread you have subscribed to entitled - Photopost, vBulletin & vBHome Intergration v1.5 - Updated - in the Beta Hacks forum of vBulletin.org Forum. You can now reply to the thread by replying to this message. All you need to do is to make sure this code appears in the e-mail subject: [thread-53539-]

Here are the contents of the post:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Heya,

Could you do a mini guide on how to upgrade from the previous version and changes please?

Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Russ_T, if you have version 1.0 installed it should work fine when you upgrade to photopost 4.0.1 .. a lot of the changes in 1.5 are just clean ups of code, etc.

I'm currently working on a txt file, as long as your on linux your forums, vbhome and photoshop should work. Clean install or upgrading to new versions of vbulletin or photopost.

This hack in it's current state should be compatable with vb2.2.x scripts.

when vb3.0 goes gold I'll look at trying to make a version for that :)

Intex 07-14-2003 04:58 PM

PixelFX - did you get anywhere with your windows test box. I can't figure this thing out and I'd really like this feature on the HP.

PixelFx 07-14-2003 06:39 PM

I haven't had much chance to work on it, still would have to setup mysql etc on the system which I've not had time to do yet... been a busy week :)


All times are GMT. The time now is 02:14 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.02032 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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