Author |
Message |
Maclain
Regular


Joined: Feb 25, 2006
Posts: 60
Location: England
|
Posted:
Fri Apr 25, 2008 12:01 pm |
|
OK, nice mod
The only problem i seem to have is getting it to create thumbnails for large images.
Currently it just posts the full size image and makes the page huge!
The main problem i am having is the correct path to imagick convert. The closest I can get is the path to image magick /usr/local/bin. Is this the same??
I'm also a little unsure what the optimal settings would be, currently i have the following:
Minimum thumbnail filesize: 1 bytes this should create a thumb for every image then?
imagick program: /usr/local/bin again not sure on this, hosting with powweb if that helps?
maximum image dimensions 500 x 500
Image link dimensions 0 X 0
make use of GD2 extensions is on.
Still it lets you post huge pics. Any clues??
link: www.bkksys.co.uk
TIA guys  |
_________________ Insert funky message here:
Last edited by Maclain on Fri May 16, 2008 8:13 am; edited 2 times in total |
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Apr 27, 2008 5:53 am |
|
Sorry, but I've never actually used this mod before so I am bumping this thread to see if we can get you some help. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Maclain

|
Posted:
Mon Apr 28, 2008 7:43 am |
|
oh nice one, thanks
And here's me being patient |
|
|
|
 |
Maclain

|
Posted:
Mon Apr 28, 2008 8:25 am |
|
Ok,
I've managed to pull the imagick location from the gallery section of another site on the same hosts.
Imagick location turned out to be /usr/local/bin/
When testing the settings, i now get this error:
The Directory './../modules/Forums/files/thumbs' does not exist or couldn't be found.
obviously i have created the directory /thumbs in the corerct folder, and chmod to 777 and still i get the same error.
Is the ./../ correct? If not how the hell do i change it? lol
Edit:
in Management change: Upload Directory "modules/Forums/files" to just "files"
This lets all the tests pass, but then when posting images in the forums, I get the following errors:
Upload Error: Could not upload Attachment to ./files/p1290011_661.jpg.
Upload Error: Could not upload Attachment to ./files/p1290011_661.jpg.
Altered management - upload directory to modules/Forums/files
and now everything seems to work
Odd. But great!! |
|
|
|
 |
Maclain

|
Posted:
Sun May 11, 2008 2:21 pm |
|
Changed nothing and now all uploads fail.
Is anyone using this mod without any issues? |
|
|
|
 |
montego

|
Posted:
Mon May 12, 2008 5:21 am |
|
If you have indeed not changed anything, then you need to check with your host as to what they might have changed on their end. Having narrowed down the time-frame to when you think this has changed will certainly help them in their analysis. |
|
|
|
 |
Maclain

|
Posted:
Mon May 12, 2008 1:35 pm |
|
Yeah I know, I'm battling with the F|Tp settings on it now to see if I can get it going that way, i'll keep you posted.
Only managing to work for a couple of hours a night on this one at the moment though!
TA! |
|
|
|
 |
montego

|
Posted:
Fri May 16, 2008 5:57 am |
|
Maclain, any new news to share on this? |
|
|
|
 |
Maclain

|
Posted:
Fri May 16, 2008 8:05 am |
|
Not at the moment I haven't had chance to play with it much at the moment.
I'll probably have another look at it this evening / tomorrow evening.
I'll keep this thread updated though. |
|
|
|
 |
Maclain

|
Posted:
Fri May 16, 2008 8:46 am |
|
Ok, you made me want to have another look at it.
As things stand at the moment.
As you have already read, I have previously had this working, if only briefly.
HTTP uploads are disabled, using the FTP settings instead.
FTP server: using IP address (logged in to the same IP using filezilla to make sure it's correct - connected no issues)
FTP Path to your upload directory: files (ftp account uses phpbb install folder as it's main directory. /files is contained within, chmod 755 (not that it matters for FTP))
Download Link to FTP Path: files (can be used relative to phpbb installation directory. which it is.)
Passive mode: enabled
username and password double and triple checked.
Test settings: everything seems fine. Although this test presumably just checks to make sure directories exist and it can actually log into the ftp server.
So, reply to a thread and attach an image.
few second wait, then the following error: Quote: | Upload Error: Could not upload Attachment to ./files/p1130072_953.jpg. |
All a bit strange.
So, lets ignore the FTP settings and try the HTTP way.
First of all disable FTP uploads.
Upload directory which states
is set to: files
nothing else needs needs changing. Submit changes, settings saved.
So try uploading a file again. get the following error(s)
Quote: | Upload Error: Could not upload Attachment to ./files/p1010063_165.jpg.
Upload Error: Could not upload Attachment to ./files/p1010063_165.jpg.
|
ok, so to make sure it isn't a permissions problem, chmod Forums/files to 777 and resubmit the post.
same error.
So looking back over my previous posts, I've altered the upload directory to
modules/Forums/files
And way hey, it works.
It's all a little bit strange.
chmod modules/Forums/files 774
So for those with issue's installing this mod, here's the settings that appear to work:
Forum Admin - Attachments - management:
Upload Directory: modules/Forums/files
You will need to create this directory on your server. permissions set to 774
You will also need to create a sub directory called thumbs.
Attachment Posting Icon: modules/Forums/images/icon_clip.gif
Attach topic Icon: modules/Forums/images/icon_clip.gif
Filesize: 10mb
This really doesn't make much difference as it is almost certainly controlled by your server configuration.
enable FTp uploads: no
Extensions - Special Categories.
this section controls the size of images actually shown in the post, and creates thumbnails. It's essential to keep the forum's tidy.
Display images inlined: yes
Create thumbnail: yes
Minimum thumbnail filesize: 50 bytes
This just ensures a thumbnail is created for every image.
make use of GD2 extension: yes
Imagick Program (Complete Path): /usr/local/bin/
This may vary depending on your host.
Maximum Image Dimensions: 0 x 0 (disabled)
Image Link Dimensions: 0 x 0 (disabled)
These do not matter as a thumbnail will be created anyway.
So i hope this helps anyone else looking to use this great mod.
if i;ve got anything wrong, please let me know and I'll edit the post accordingly. |
|
|
|
 |
Maclain

|
Posted:
Sat May 17, 2008 7:24 am |
|
This is seriously strange,
The images I posted yesterday, which were inline images, are now just links to download the image.
Weired.
Also new images are not uploading correctly, and when testing settings I get the following error:
The Directory 'modules/Forums/files' does not exist or couldn't be found.
and under special categories when testing thumbnail settings i get this error:
The Directory './../modules/Forums/files/thumbs' does not exist or couldn't be found.
although when uploading pictures, the link is active and works, images are not shown inline, a thumbnail IS created and placed in ../files/thumbs
All a bit strange.
Any clues? |
|
|
|
 |
Maclain

|
Posted:
Sun May 18, 2008 8:40 am |
|
Hmm, seems no one is having similar issues. Or not using it
Is this mod still being developed? |
|
|
|
 |
montego

|
Posted:
Mon May 19, 2008 5:28 am |
|
The mod was ported by Evaders I think for RN. There were a couple of pathing issues posted awhile back with their resolutions, but other than those, its been quiet. Unfortunately I have never had a need for this mod, so don't know much about it. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Mon May 19, 2008 9:29 pm |
|
In-lining seems to work fine. I use modules/Forums/files myself with the thumbs. You can ignore the error about thumbs being unwritable, it will work. I have no idea what the issue is, I cannot replicate it |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
dad7732
RavenNuke(tm) Development Team

Joined: Mar 18, 2007
Posts: 1242
|
Posted:
Wed Mar 11, 2009 11:31 pm |
|
Mine works just fine except ...
Site A the large image is displayed in the browser in another tab
Site B the large image is downloaded and wants to display in the default local image app. Duplicated all the settings I could fine from site A |
|
|
|
 |
rickleigh
Worker


Joined: Jan 06, 2009
Posts: 183
|
Posted:
Mon Apr 06, 2009 7:49 am |
|
I'm getting the following error in my log after uploading attachment:
Code:PHP Warning: passthru() has been disabled for security reasons in /home/********/public_html/modules/Forums/attach_mod/includes/functions_thumbs.php on line 166
| Any ideas of what is causing this? |
_________________ Thanks,
Rick Leigh |
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Mon Apr 06, 2009 10:20 am |
|
Looks like your host may have disabled use of that php command. |
|
|
|
 |
rickleigh

|
Posted:
Mon Apr 06, 2009 12:11 pm |
|
jakec wrote: | Looks like your host may have disabled use of that php command. |
I have put in a ticket to check on this with my host. If this is the case and they don't allow this, is there a work around for this issue or do I need to just comment this line out to keep it from processing the command? |
|
|
|
 |
rickleigh

|
Posted:
Mon Apr 06, 2009 3:55 pm |
|
Update,
My host was able to activate the PHP command. |
|
|
|
 |
FosgateElite
Regular


Joined: Mar 26, 2006
Posts: 63
|
Posted:
Sat May 09, 2009 3:40 pm |
|
Do any modifications need to be made in the Nuke theme to enable this to work? I've done everything in this thread and more and I still am having issues. |
|
|
|
 |
FosgateElite

|
Posted:
Mon May 11, 2009 7:41 pm |
|
No thumnails is my main problem. Im on the defualt theme. |
|
|
|
 |
rickleigh

|
Posted:
Tue Aug 04, 2009 7:55 am |
|
Ok, I to am having issues with getting the thumbnails to work. Everything else is working fine. We are able to upload images ok and see them in the forums. Its just not making them into a thumb.
My current settings is as follows:
Upload Dir: modules/Forums/files
Attachment Posting Icon: modules/Forums/images/icon_clip.gif
Attachment Topic Icon: modules/Forums/images/icon_clip.gif
Minimum Thumbnail Filesize: 5 bytes
Everything is set to YES
When I hit the test button I to get the message: The Directory './../modules/Forums/files/thumbs' does not exist or couldn't be found.
But, the dir. is there and even has the images in it that the system is making to be thumbs. Its just not showing them on the frontend. its only showing the full size image.
You can see a post with image here: Only registered users can see links on this board! Get registered or login! |
|
|
|
 |
|