![]() |
All fixed, great job man!:p
|
<a href="http://www.vbulletin.com/forum/showthread.php?s=&postid=133145#post133145" target="_blank">http://www.vbulletin.com/forum/showt...145#post133145</a>
|
Here is the error I get when uploading a file to my board. The upload works fine, but the convert appears not to...
Also, the program appears to work somewhat, but my thumbs are missing from the page... I'm going to try the latest zip to see if that helps... Thanks! GTW, this is Win2k, so I'll keep plugging away... |
almost
The thumbnails will not work http://www.dlrarmy.com/forums/gallery.php I have imagemagic installed BTW |
<a href="http://www.dlrarmy.com/forums/gallerydebug.php" target="_blank">http://www.dlrarmy.com/forums/gallerydebug.php</a>
|
Quote:
Are you running in safe mode? |
it si the bsic red hat linux install and it works cause I use imagefolio
HOw could I tell if the path is incorrect? |
Quote:
rpm -ql ImageMagick | grep convert The setting I use by default is: /usr/X11R6/bin/convert |
do you have a prompt for telnet?
|
My thumbs arent making their way into the thumbs table but im getting the processing messages.
http://www.iguanaland.com/vbforums/gallerydebug.php Can anyone help? |
/usr/X11R6/bin/convert
Is my path.... It is right in the options.. still looking at broken thumbd. HELP! |
Quote:
|
Please check to see if you're running in safe mode.
An easy way to do this is to create a file called phpinfo.php. It should contain these 3 lines: <?php phpinfo(); ?> Put it in your forums directory and point your web browser at it. If you search for 'safe_mode', you should find 2 lines. safe_mode and safe_mode_exec_dir. If safe_mode is on, then safe_mode_exec_dir HAS to contain your a copy of convert. If you don't have shell access/admin access to your server, I doubt you will be able to make this change. |
|
Safe mode off/off here too and images still not making it into the table.
http://www.glidetech.com/phpinfo.php |
Quote:
You can also try remarking out this line in functions.php: unlink($thumbname); Just put a // at the start of the line. Then make a dumby post, with a BMP/JPG/GIF attachment. If ImageMagick part is working, it'll create a file: /tmppath/th_[randomstuff]. /tmppath is most likely /tmp, but may vary. |
My problem is with it being added to the DB. Looking at it thru phpmyadmin there are no records there.
I guess I will try the thing you mentioned above, although im not sure what difference that will make ~Chris |
OK just tried that. The th_ files are showing up each time i post an image. They are all 0kb though :confused:
|
Another note. Running the gallerymakethumbs.php file also puts a temp file in the tmp directory for each attachment i have (all 0KB) but still nothing in the DB
~Chris |
Quote:
If it's older then 5.3.3-2, let's try simplifying your convert statment. In functions.php, find this line: PHP Code:
PHP Code:
|
That did it bro. Thanks alot ;)
I had installed ImageMagick-4.2.9-3 ~Chris |
Real quick question. Can you add a function to gallery.php that will generate a drop down box with all the users names in it so that you can view the gallery by user ?
It sounds easy but im not sure how to go about it. Thanks ~Chris |
Quote:
|
Yea i can do the template thing. But i was hoping to have another dropdown on the actual gallery page with all the members names :cool:
~Chris |
a guy should be able to do that simular to the way the forums work in the "jump box". each new forum added, shows up in the jumpbox automatically, meaning, that each new member that posted a pic to the gallery, could be automatically entered in the "drop down" simular to the jump box using a "last post by(?)" type of command.
|
Also while im thinking about it...... Do i have to run the makethumbs every time new files are added?
The reason i ask is i can run it now and each time i do i get this: Processing attachment #1: iguana-1.gif. Processing attachment #23: mov00010.mpg. Processing attachment #24: mov00012.mpg. Processing attachment #68: caresheetniad.zip. Processing attachment #103: tarzan2.zip. Processing attachment #104: iguanas.scr. Processing attachment #158: swish-ig.gif. I can see it not processing the zip scr or mpg files but is it having a problem with the images with a dash (-) in the name? Seems like they stay in this list. Thanks ~Chris |
Quote:
As for the gifs, are they animated? If so, thumbnails aren't gonna be generated with your older version of ImageMagick. |
It Worked!
Question how can I change it so that the poulldown only selects forums that are active? I have a few inactive forums I use with the webblog and it shows them.,,.. and I don't want them to |
quick question, do you have to have the latest version of ImageMagick installed or will the code change that was suggested for TechTalk work on the older version. TechTalk?
|
The code change works. Apparently i have an older version
I cannot use this till I can change the dropdown to show only active forums! Chris |
Ok, I know a lot of people got this to work but I need to say a couple things since I had a lot of problems
First, The instructions are kinda slippy. It didnt really point to where things should go. There are line numbers but that doesnt do any good with notepad. It doesnt have everything in order. Should you upload all the files first? which goes next. In order would be nice. I have installed UBB hacks. Vb hacks and custimized some of the hacks. This one I just couldnt figure out. I think the dox needs a bit of a updating. Step by step instructions. I know there a pain in the butt to write but its helpful for other people to do the hack then trying to figure out what you ment. Great hack idea. It looks great on boards I see it on. But docs could use some help. This is only a suggestion. If the dox do get updated can you please reply that you updated them. Then I will take a third steb at it. |
I added a little more to Zamtil's instruction in the hopes to make the install easier for everyone. It's a great hack and works great as well. You just have to know how to install it.
This is how I did it just this morning on a new site. It might help someone out. This should go without saying, but as with any hack Zamtil nor I take any responsibilty if you screw up your site. I have used the hack on 4 seperate boards and have not run into any problems. That being said, be careful and backup anyway. |
mojotim, thanks. I'll be installing this hack shortly so this will come in handy.
|
I just went into my change options in the Admin CP and the options to change for the gallery have been added three separate times.
|
Everytime you run galleryinstall.php it adds the templates and options again. The ones at the top are the new active ones. I tried to peek at your site but it was down for maintenance.
|
Quote:
|
i think you'd have to go through the style to take out the ones in the options. I left'em, screw it...I've got a lot more to worry about than that :p
You can remove the templates easy enough from the control panel. Just leave the top one of each gallery component. |
Quote:
I'm not sure how you got the admin options three times, sounds like you did a couple of refreshes of galleryinstall.php. Should be able to clean those up with your favorite SQL tool. |
<a href="http://your.url.com/admin/setting.php" target="_blank">http://your.url.com/admin/setting.php</a>
It ships with 2.0.1, I assume 2.0.0 as well. It's just a little utility JelSoft wrote/provides for customizing options. The Image Gallery stuff should be down near the bottom, leave one grouping of them, delete the others. |
When I initially ran the make thumbnails file it listed all the files that it made....282...etc. The files are listed in the database, but they are empty. If I try running it again, all I get is this:
Processing attachment #31: buyersguide.txt. Not sure what that is, but I don't think it would hamper making thumbnails for any of the others. |
All times are GMT. The time now is 04:32 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|