The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Photopost to vb/Home Intergration v1.7 Details »» | |||||||||||||||||||||||||
////////////////////////////////////////////////////////
// Photopost 4.6.6 to vbhome/forum Intergration (vb2.0 & vbadvanced 1.01 vb3 Intergation // Created by PixelFX & Respective Developers // Version 2.0 in design //////////////////////////////========================== NEW UPDATE COMING: I've got this system working with vb3.o and v2.0 New Credits: Updated Hack: PixelFX New Thumbnail Includer: Midnightz And Thanks to everyone below. Update Coming Soon! INTRODUCTION: After searching the web and a few sites, I wanted a way to show single / latest gallery images on my vbhome/vbulletin forum. This hack, was setup in hopes to help others get a similar result to get gallery images from photopost to show up on your vbhome/vbulletin front page. The concepts for this hack came is from a combo of locations, as well as adding some of my own custom hacks and templates. NOTE 4 vbindex: This hack should work with both vbhome & vbindex, the only difference for vbindex is you would make changes to the vbindex index.php not the vbhome index.php, also you would setup templates for use in the vbindex templates rather vbhome. Make sence? I'll rate a seperate txt for that soon. CREDITS: - Grunt for phpinclude, - Matt Chroust for thumbincluder.php, - Craigr for helping at vbhome, with support - TECK for vbhome 4.2 - Enthusiast, Inc. for PhotoPost 4.1.0, RC1 & community - Jelsoft Enterprises Limited for vbulletin 2.3.2 - vBulletin.org for support learning how to hack vb - PixelFX for vb/home templates & some custom php vb hacking below. - midnightz for updated thumbnail includer (see end of thread) HACK ADDONS: Forum home addon - Mickie D Follow Link below for addon download https://vborg.vbsupport.ru/showpost....&postcount=123 Catigory Exclude Addon - PixelFX Credits in zip file, http://files.pixelfx.ca/catigory_exclude_addon1.0.zip LICENCE INFO: To get all required files you need licenced copy of vbulletin v2.2.x / 2.3.2 & photopost pro 4.1.0+ / I'm working on version for vb3.0 gamma/RC1 as well, which is in testing FILES NEED: vBulletin 2.3.3+ (installed) Tested on 2.2.x as well PhotoPost 4.51+ (Choose to intergrate with vbulletin when you install photopost.) vBHome 4.2+ (clean install) thumbincluder.php tweaked, and link to database. thumbincluder.txt modified by pixelfx for catigory addon - coming soon. thumbincluder.txt version 2, by midnightz I take no credit for the thumbnailincluder.php which is needed for this hack to run. Although I have made edits to it, for my next version of this script LOCATION OF THUMBNAIL-INCLUDER: (requires membership account and licence for photopost) http://www.photopost.com/members/for...threadid=26550 for the thumbnailincluder11.txt rename to what ever ya want file.php be sure you set varables to your liking. Then upload, To your gallery's root directory. I've found you can use multiple files and it works fine See addon coming soon for that. Example: http://www.url.com/gallery/thumbnailincluder.php SUPPORT: I will only support this hack on this thread currently. aka here, if you would like to create addons please PM me https://vborg.vbsupport.ru/showthrea...threadid=53539 BEFORE YOU DO ANYTHING BACK UP YOUR FORUM DATABASE & GALLERY, FILES ETC. USE AT YOUR OWN RISK. I've tested this on my two vb sites, and it works awesome. However I can't predict what it will do on sites that are heavely hacked. LAST UPDATED: December 7th,2003 (note that update news info can befound at end of thread) Note: This should work if you edit the forum/index.php but only if you want images to show up in your forums rather than your vbhome. This is something I need to test more, so will post alternate update shortly for that. NOTE: this version is for vbhome 4.2 to php 4.1.0 intergration, again addon will be posted soon. NOTE: Text File Download at buttom of file, MAIN DEMO: NA - Coming soon.. for version 2.0 COMING SOON: Addon - News & Specific Image Catigory on it's own page. Example of addon: - Supports Random Images - Supports Recent Images - Supports Most Popular Images This works with main hack, and or sub pages (coming soon!) TESTED ON: vbulletin v2.3.2 Final, Photopost 4.1.0 RC2 , and vbhome v4.2 (clean install) PLEASE CLICK INSTALL: If you use this hack, thanks News Update: [12.04.2004] I'm still working on a vb 3.0.3/pp4.8.5 version of this. Its also got a unique gallery/news system with the update. It's taken a while for me to get it out as I've been swamped with contracts, but I hope to release update soon. Show Your Support
|
Comments |
#52
|
|||
|
|||
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. |
#53
|
|||
|
|||
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" |
#54
|
|||
|
|||
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)
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 |
#55
|
|||
|
|||
PixelFX - I can confirm those don't work on my windows system.
|
#56
|
|||
|
|||
wonder what is missing, anyone else have ideas?
|
#57
|
|||
|
|||
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?
|
#58
|
|||
|
|||
Anybody?
|
#59
|
|||
|
|||
Quote:
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 |
#60
|
|||
|
|||
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.
|
#61
|
|||
|
|||
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
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|