| Author |
Message |
Maclain Hangin' Around

Joined: Feb 25, 2006 Posts: 47 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:
TIA guys  |
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: 7327 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. |
|
|
|
 |
Maclain Hangin' Around

Joined: Feb 25, 2006 Posts: 47 Location: England
|
Posted:
Mon Apr 28, 2008 7:43 am |
|
oh nice one, thanks
And here's me being patient |
|
|
|
 |
Maclain Hangin' Around

Joined: Feb 25, 2006 Posts: 47 Location: England
|
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 Hangin' Around

Joined: Feb 25, 2006 Posts: 47 Location: England
|
Posted:
Sun May 11, 2008 2:21 pm |
|
Changed nothing and now all uploads fail.
Is anyone using this mod without any issues? |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7327 Location: Arizona
|
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 Hangin' Around

Joined: Feb 25, 2006 Posts: 47 Location: England
|
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 Site Admin

Joined: Aug 29, 2004 Posts: 7327 Location: Arizona
|
Posted:
Fri May 16, 2008 5:57 am |
|
Maclain, any new news to share on this? |
|
|
|
 |
Maclain Hangin' Around

Joined: Feb 25, 2006 Posts: 47 Location: England
|
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 Hangin' Around

Joined: Feb 25, 2006 Posts: 47 Location: England
|
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
| Quote: | Upload Directory
Enter the relative path from your phpBB2 installation to the Attachments upload directory. For example, enter 'files' if your phpBB2 Installation is located at and the Attachment Upload Directory is located at |
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 Hangin' Around

Joined: Feb 25, 2006 Posts: 47 Location: England
|
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 Hangin' Around

Joined: Feb 25, 2006 Posts: 47 Location: England
|
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 Site Admin

Joined: Aug 29, 2004 Posts: 7327 Location: Arizona
|
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 Moderator

Joined: Apr 30, 2004 Posts: 2793
|
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 |
|
|
|
 |
|
|
|
|