![]() |
Quote:
|
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: |
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: |
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. |
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. :)
|
Wow! Finally an alternative to Photopost! Gotta give it a try! :)
|
Mabye a PM notification on a new comment? Or am i asking 4 too much :)
|
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 ! :) |
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. :) |
Quote:
include_path = "." |
Quote:
|
Another feature that might be considered would be for each member to have his own album that can be linked to his postbit perhaps ?
|
Quote:
Hai!!! Doomo Arigatoo Gozaimasu!!!! :p |
Your welcome guys.
Quote:
As for why the error in 2.3.0, I am scanning the diffs in the files between 229 and 230. When I'm sure what the problem is, and find a fix, I'll let you all know. If someone doesn't beat me to it |
I now have ImageMagick on the server. I still have the thumbnail problem though. Here's my configuration;
Code:
$cfgGalleryDirWeb = '/bb/gallery/'; // absolute web path to gallery files |
Is there another way to configure this hack to use something besides ImageMagick? my host does not have this component and will not install. :(
|
auz1111, not for the moment ... GD will maybe work in the next version.
winky, ok. Yes, please let us know if you solve the 2.3.0 problem. :) Zelda-King, what is the path to phpinfo.php ? Does the webserver have write access in Thumbnails directory now ? |
- I can't find phpinfo.php but I know I have PHP. Where 'should' it be?
- Yes, my CHMOD settings for thumbnails and images were 'finally' changed to 777. Seeing as the setting for thumbnails is the same to that of images and the images thing works OK, that isn't the problem now. Two things in the requirements I'm unsure of; Quote:
Quote:
For the record I'm using vBulletin 2.3.0. Current gallery status: Check here; http://www.gamercrossfire.net/bb/gallery/index.php Maybe you can eliminate a few problems? |
Zelda, your gallery seems to work except for the thumbnails. Either there is some problem (wrong path?) with "convert" or there is som security problem with thumbnails directory. Your Php.ini is probably ok because you have no errors on your gallery.
Hopefully Åke has some good ideas about your problem. |
Well, the folder directory thing is correct. Then again so was /home/var/www/html/bb for the forum directory but that didn't work. I had to use /home/virtual/site62/fst/var/www/html/bb even though there is no visible /virtual/site62/fst/ path there. It goes from 'home' to 'var'.. Adding the /virtual/site62/fst/ doesn't work in this usr folder though (for composite/convert).
|
Zelda, have you verified the local path to convert with you server admin ?
|
GREAT SCRIPT!
but help! I've got a strange DB error with vbb 2.28: Quote:
My db settings are correct (triple checked) and here are my path settings: Quote:
The only thing I'm not sure I've done correctly is step 7 and the imagemagic path. BUT everything looks like it's working.. i can upload pics and it will thumbnail them. I read through the posts talking about a db error in 2.30, but I run with vbb 2.28: Here is my gallery URL: http://northwestnissans.com/gallery/ |
Quote:
|
w0000000t great!!!!!
|
Where might one find "php.ini" to make the necessary change to kill a few errors? I'm having the same troubles as a few others and I'd like to fix it correctly instead of editing the full path into the includes files as recommended by Oak and Bergman.
I've searched high and low and I'm not finding the file. Any suggestions? Also - Oak - I'd like to chat with you privately about some modifications if I might. I'm on msn at thecharmedgirl@hotmail.com or I can pm you. My site is strictly private so I'm unable to post the url in here. |
Quote:
One thing I have noticed with my host... I do not have path problems untill I go 3 deep into subdirectories. It must be a virtual server quirk of some sort. :bunny: |
Quote:
Gotcha. Thanks! |
ok, just tried installing this and it didnt work for some reason...here is what my index.php displays..
Warning: main(sql-mysql.php) [function.main]: failed to create stream: No such file or directory in /home/evoluti/public_html/gallery/include/sql.php on line 5 Warning: main() [function.main]: Failed opening 'sql-mysql.php' for inclusion (include_path='') in /home/evoluti/public_html/gallery/include/sql.php on line 5 Warning: main(getuser-vbulletin.php) [function.main]: failed to create stream: No such file or directory in /home/evoluti/public_html/gallery/include/getuser.php on line 6 Warning: main() [function.main]: Failed opening 'getuser-vbulletin.php' for inclusion (include_path='') in /home/evoluti/public_html/gallery/include/getuser.php on line 6 Warning: main(thumb.php) [function.main]: failed to create stream: No such file or directory in /home/evoluti/public_html/gallery/include/showthumbs.php on line 5 Warning: main() [function.main]: Failed opening 'thumb.php' for inclusion (include_path='') in /home/evoluti/public_html/gallery/include/showthumbs.php on line 5 Fatal error: Call to undefined function: sqlconnect() in /home/evoluti/public_html/gallery/index.php on line 10 |
garoboldy - you're having the same problems as I am. If it's not run locally, the only way (I can think of) to fix most of the errors is to hardcode all files that contain "include('" in them to the full path. But I'm still getting a sql error that I can't get quite fixed.
|
Am I the only one getting the "Invalid SQL UPDATE session" error??
|
I don't know if this has been discussed but I would like to ask the following:
1. With this hack, won't storage be a major consideration with users posting pictures in the galleries? 2. What about bandwidth, has anyone noticed any spikes using photo galleries like this where you're running out of bandwidth? I'm trying to consider implementing a photo gallery for my forum, but bandwidth, storage, among other things was talked about as being a problem. :( |
Hi all this is my gallery http://www.polskieforum.com/forum2/g...1&sort=dateand i have the thumnail problem how exacly do i fix it. I dont get it. What do i have to change, something in galleryconfig or another file
Thx Great hack cant wait to use it |
yes, erm.. hmmm.. ermm.. yah.. "nice belly".. was there any need ? :laugh:
|
You mean we cant run the gallery on out site if we dont physically have the server in front of us??? I am hosted with hostrocket and everything went fine except all the crazy errors...
any ideas??? |
Quote:
TTT :dead: |
This php script will automaticly pick a random image from OakGallery 2.0 thumbnails section and display it on your forum homepage or any other non VB site. I use it, easy to install, just edit path to your OakGallery 2.0 Thumbnails folder and upload. It attracts more people to chceck out the gallery - worked wonders for me. Try this out, looks real nice on the home page.
Install time 1 MIN :) ***Instructions*** 1) Edit the path to the thumbnails folder in randomimage.php 2) Save and upload randomimage.php and chomod it to 775 3) Open forumhome template in your Admin CP and place the call out code anywhere desired by your likes. PHP Code:
Few things you might not like. Since the thumbnails folder contains also the Medium sized pictures this might be a bandwidth issue for some people. That is not a problem for me because i have enough bandwidth (for now) but i did not see any sygnificant raising in bandwidth usage since the script ONLY shows a new picture on reload or opening the forum in new browser window. Constant returning to forum home in the browser does NOT refresh the picture which seems to take care the bandwidth problem. This is not the best solution for a random image script, but it works for me and i didint want to wait for the next OakGallery2.0 Update. This is a great hack and just trying to help. Make sure you have your height and width in the call out script or your going to have some problems with tables. Hope someone will use this... Here is the randomimage.php and ill add a screenshot below. |
Sample pic of random image is circled in RED
|
This hack has HOTM potential if a search engine will be added, PM on new comment, and nick as links to the comentee picture :)
|
yes :) a search engine. Also maybe allow users to have a "light box"? so they can keep track of their favorite images? Also image description?
Heh heh, I'm thinking about 4images xD |
argghhh I wish I could get this to work!! I'm so happy to find an affordable alternative to photopost. As soon as I get this working 100% I'll be donating through the paypal link.
Kuska: awesome addon, thank you! also those suggestions would be awesome... also, posting restrictions so people can't spam the gallery. |
All times are GMT. The time now is 04:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|