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)

Smoothie 06-17-2003 12:06 AM

the phpinclude template in your admin cp.

Russ_T 06-17-2003 12:30 AM

Thanks for your help :D

Russ_T 06-17-2003 01:57 AM

Hmm

I followed the instructions fine and have got everything how it should be but I get "Query failed", is there a way I can turn on more detailed error reporting so I can see WHAT failed please?

http://www.zclub.net/gallery/thumbincluder.php

It doesn't include on my vbHome at the moment although $gallery is definately in there.

Thanks a lot

Smoothie 06-17-2003 02:29 AM

did ya edit the thumbincluder.php file?

Russ_T 06-17-2003 06:31 AM

Quote:

$Url_Path = "http://www.zclub.net/gallery/"; //URL of your photo album, where the index.php is (with / at end)
$data_dir = "http://www.zclub.net/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)
//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= "hehe"; //Username
$password= "hoho"; //Password
$database="haha"; //Photopost database name or forum database name

//Display Setting (Changes to fit your page)
$q_switch = "latest"; // "random" or "most_views" or "latest"
$limit = 1; //number of image to show
$table_width = "100%"; //width of the table generated
$column = 1; //number of columns of the table generated
$photo_cell_align = "center"; //alignment of those cells
Like that but with REAL usernames etc :)

Smoothie 06-17-2003 06:37 AM

the relative path looks wrong;
// path to the data directory where pictures reside RELATIVE

Russ_T 06-17-2003 01:31 PM

I did originally try a relative url but that didn't work so I changed it to that, sorry, I have now changed it to

"/data"

because my thumbincluder is in www.zclub.net/gallery/ and data is www.zclub.net/gallery/data

Still getting a query failure though :(

http://www.zclub.net/gallery/thumbincluder.php

Thanks for your time, much appreciated!

Intex 06-17-2003 01:50 PM

PixelFX - very nice hack. Is there any way you could make this work with Tigga's excellent myvbindex?

I've just purchased Photopost, so this would be a great asset to the homepage.

cinq 06-18-2003 03:43 AM

Cannot get this to work , running vb2.2.9 , pp3.3.1 , vbhome4.2

All i get is compressed articlebits and a huge blank area on the right side of the index page.

PixelFx 06-18-2003 06:51 AM

I didn't test the hack with vb2.2.9, however when I set it up I was using vb 2.3.0 final, photopost 3.3.1 and vbhome 4.2, I don't know if it works with 2.2.9 ..

I'm currently working on trying to intergrate this hack with photopost 4.0, vb 2.3.0, and vbhome 4.2..

I'm also playing around with photopost 4.0 and vb3.0 intergration with my test board...

nothing stable yet, but good learning experience..

----

Russ_T your relitive path would be, something like, /usr/home/accountname/gallery/data,

not your http path....

the best way to find that info out is if you have SSH/telnet access on your server. You would just cd to the data dir, then type pwd to get the full path information...


All times are GMT. The time now is 07:06 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.01307 seconds
  • Memory Usage 1,739KB
  • 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_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