Did you guys go to the forum permissions and enabled image uploads? By default they won't be allowed for users. Go to Administration -> Forums -> Edit (Next to one of the forums you want users to upload to) -> And Enable Image Upload for groups that need it.

fu: Try accessing <uri of your forum>/include/phpThumb/demo/phpThumb.demo.demo.php
At the top of the page there will be a note that will tell you if GD lib installed on your server and what version it is. Ideally, you want to see something like this: "Note: this server is working on GD 'bundled (2.0.28 compatible)', so images should be of optimal quality." If you get a different message, you may need to contact your web host and see if they can help you there.

Glad to hear that smile

You're not supposed to be able to upload images from the "quick post", simply because I don't consider that a part of the "quick" operation. If may people really want it, I will make a separate set of instructions for the next version on how you can add an upload box to the quick post, but it will not be a part of the main install.

bozer wrote:

Ok I reuploaded files, and got that fixed. Forums are now up...

However, when I go to post a new topic, I get this:

http://www.fraggerock.com/forum/post.php?fid=2

An error was encountered
Error: Unable to fetch forum info.

Did you run install_mod.php successfully?

What version of PunBB are you using? All the lines matched up when I was doing the edits, so I can only assume that it's something close to 1.2.7... 1.2.5? Just open up install_mod.php, and change the line that states: $punbb_versions = array('1.2.6', '1.2.7'); to include the version of the board you are using.

As far as that error goes, I don't think it relates to this mod. Have you done any other edits to your site?

Line 35 is this: require PUN_ROOT.'lang/'.$pun_user['language'].'/index.php';
What that error states is that $pun_user['language'] is not defined. Don't know why this would be, so some other edits would be my only guess.

Yep, sent you a reply 30 minutes ago. Let me know if you didn't get it.

Fair enough, like I said, if I have time later on to modify it and learn css along the way, I'll do so. Until then, I have rows and columns of images.

Rod wrote:

Because with tables, the only choice you have is to insert rows * cols

I don't see a problem with that... Your monitor is made up of rows and columns, but you don't seem to be complaining there wink

Sorry, back in the day, when I had to walk 10 miles to school in 2 feet of snow uphill both ways, we used to use tables tongue

I'm personally not a fan of css - like the idea of separating formatting from the data, but the implementation seems unnecessarily chaotic. If I have time later on, I'll consider changing it to something else. For now, I don't see anything wrong with using tables.

Regarding number 2, not sure what you mean there.

Definite no for number 3 - it's supposed to be quick, and file uploads don't fit into that category wink If you want to modify it for your board, feel free to do so.

Hello again, as StevenBullen pointed out, there was a problem with 1.0.1 release that I missed, and a new version is out to fix it. See this thread for details: http://www.punres.org/viewtopic.php?id=685

Rod: it's certainly possible for me to do that, but there is a problem with such approach - when dealing with large photos, or photos of variable size, it becomes very difficult to fit it with the content and still have the whole thing look good. I'll have to think about this one and the best way to implement it. I'm thinking if I have some kind of a pop-up on mouseover event using layers, or something to that sort, it might work, but I'll have to play around with it to figure out the best way. Also there's the issue of loading the images - some poor soul on 56K places his cursor over an image while viewing a thread, and there goes his bandwidth. We'll see... If I find a good way to implement this, I will.

bozer: I'd be happy to do the install for free once I get home from work. Just e-mail me the following files:
admin_forums.php
viewtopic.php
post.php
edit.php
delete.php
include/functions.php
lang/English/common.php

I'll send the modified versions back to you, but you'll still have to run the install_mod.php script, and upload the other files. wink

Hi guys, new version was just released. See punres.org topic for all the details smile

Rod wrote:

I'll post a hack here to call pic inside a layer (dhtml) : better and more beautiful smile

I have no idea what you mean there, but I'm looking forward to it smile

Right now I'm actually working on making the whole thing look a little better, don't like the way it is right now, but since my css abilities are rather crappy it's taking me longer then I would prefer it to roll

##
##
##        Mod title:  Image Upload
##
##      Mod version:  1.2.1
##   Works on PunBB:  1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10
##     Release date:  2005-11-3
##           Author:  Max Khitrov <max@mxsoft.org>
##
##      Description:  This mod allows forum users to upload images with their
##                    posts. Some of the highlights include: full permission
##                    management, automatic thumbnail generation, a per-post
##                    gallery, and no virtually no database involvement.
##
##   Affected files:  admin_forums.php
##                    viewtopic.php
##                    post.php
##                    edit.php
##                    delete.php
##                    profile.php
##                    header.php
##                    moderate.php
##                    include/functions.php
##                    lang/English/common.php
##
##       Affects DB:  Yes
##
##            Notes:  1) As always, if you find problems with this mod,
##                       please post on mxsoft.org forums or e-mail them to me
##                       so I could get them fixed as soon as possible.
##                    2) A number of people have asked me already, so just to
##                       prevent further confusion: After you install this mod,
##                       the admins are the ONLY ones who can post images.
##                       To let others upload as well, go to permissions for
##                       individual forums and set them there. Until you do
##                       that, the upload form will not show for your visitors.
##                    3) If upgrading from a previous version, see the
##                       upgrade.txt file. It's becoming a bit of a problem
##                       maintaining this in order for all the other version,
##                       so from now on, this file will only contain
##                       instructions for upgrading from the last version.
##                       If you happen to skip one, you'll have to either figure
##                       it out on your own, or go through all previous updates.
##                    4) See changelog.txt for a list of all changes.
##                    5) After you install this mod, be sure to configure it
##                       from the Administration Panel before use!
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Download Here

Punres.org Topic: http://www.punres.org/viewtopic.php?pid=3338

If you have any questions/comments/problems, please either e-mail them to me (if it's important) or post on http://www.mxsoft.org. I'll try to come by these forums once in a while as well, but might not do so on daily basis.

Enjoy! smile