51

(8 replies, posted in PunBB 1.2 troubleshooting)

Gribber wrote:

I have some problem with avatars, no problem to upload them, the files exist, does have 600 (rw-------) as persmissins, but this is not good for me smile
because im running php as cgi and apache suexec, there is one special user to exec the phpscript, witch makes uploaded files owned by that user (in this case party/hellweb). The problem starts when the apacheserver tryes to access all uploaded images because it run under a different user (nouser/nogroup, httpd/httpd or something like that), it will not have any permissin to access uploaded pictures.

I guess you set all permission when the files are uploaded? Maybe you should set read access to members in group and nouser/nogroup to (644, rw-r--r--)?


Problems solved.

profile.php

            if ($uploaded_file['type'] == 'image/gif')
            {
                $temp = @move_uploaded_file($uploaded_file['tmp_name'], $options['avatars_dir'].'/'.$id.'.gif');
                @chmod($options['avatars_dir'].'/'.$id.'.gif', 0644);
                @unlink($options['avatars_dir'].'/'.$id.'.jpg');
                @unlink($options['avatars_dir'].'/'.$id.'.png');
            }
            else if ($uploaded_file['type'] == 'image/jpeg' || $uploaded_file['type'] == 'image/pjpeg')
            {
                $temp = @move_uploaded_file($uploaded_file['tmp_name'], $options['avatars_dir'].'/'.$id.'.jpg');
                @chmod($options['avatars_dir'].'/'.$id.'.jpg', 0644);
                @unlink($options['avatars_dir'].'/'.$id.'.gif');
                @unlink($options['avatars_dir'].'/'.$id.'.png');
            }
            else if ($uploaded_file['type'] == 'image/png' || $uploaded_file['type'] == 'image/x-png')
            {
                $temp = @move_uploaded_file($uploaded_file['tmp_name'], $options['avatars_dir'].'/'.$id.'.png');
                @chmod($options['avatars_dir'].'/'.$id.'.png', 0644);
                @unlink($options['avatars_dir'].'/'.$id.'.gif');
                @unlink($options['avatars_dir'].'/'.$id.'.jpg');
            }

52

(21 replies, posted in General discussion)

Lucas wrote:

What about enabling HTML as an option?

Thats what it is now.

53

(6 replies, posted in PunBB 1.2 bug reports)

Hm, yeah, you have probably right smile

54

(6 replies, posted in PunBB 1.2 bug reports)

Hm, just check witch users who have default before update, then update there profiles to smile

Well, maybe not so important anyway smile

But i thing something should be there for recently registered users, or, hm, not sure anymore :-)

55

(6 replies, posted in PunBB 1.2 bug reports)

Nothing because users are allowed to have more post/topics per page and the default? And when admin changes it, there probaly already something there (if default is not blank) and if its blank, set it to choicen default value.

Thats my point of view smile

56

(6 replies, posted in PunBB 1.2 bug reports)

I think posts and topics per page input areas in users profiles should be filled with corresponding default value instead of beeing empty.

57

(2 replies, posted in General discussion)

huh, what? is it eatable?

58

(16 replies, posted in PunBB 1.2 discussion)

Cactuz wrote:
Frank H is doing a great job with his upload script. The administartion part seems to be great smile I can't wait to test it wink

yeah, if it works half as good as it look, it will be awesome smile

59

(4 replies, posted in PunBB 1.2 bug reports)

I agree, but i´m sure how to make it work without it, of course it could be done with some ugly hack like adding some br´s if its a short text, but i think thats not an option smile

60

(16 replies, posted in PunBB 1.2 discussion)

Kennel wrote:
If I make any money from PunBB it will be in the form of a higher salary when/if I get a dayjob as a software developer smile

Or fanatic users who insist to donate something? smile

61

(2 replies, posted in PunBB 1.2 show off)

Yeah, i like them to big_smile

62

(4 replies, posted in PunBB 1.2 bug reports)

I´m not sure this is a bug or a future request smile

When a user post a short message, i think the table look really bad, it´s a large
space under the signature. I think i should be much better (look more nice) if you align posts to top and signatures top the bottom.


Here is a image, it´s in bmp format (1 MB), does´nt have any convertsoftware.
http://hellburner.net/filer/public/bilder/post.bmp

63

(8 replies, posted in PunBB 1.2 troubleshooting)

I have some problem with avatars, no problem to upload them, the files exist, does have 600 (rw-------) as persmissins, but this is not good for me smile
because im running php as cgi and apache suexec, there is one special user to exec the phpscript, witch makes uploaded files owned by that user (in this case party/hellweb). The problem starts when the apacheserver tryes to access all uploaded images because it run under a different user (nouser/nogroup, httpd/httpd or something like that), it will not have any permissin to access uploaded pictures.

I guess you set all permission when the files are uploaded? Maybe you should set read access to members in group and nouser/nogroup to (644, rw-r--r--)?

64

(3 replies, posted in Feature requests)

One the other hand you can klick "Show posts by this user"

65

(3 replies, posted in Feature requests)

Under profile, last post should be a link to last post and not just the time?

66

(4 replies, posted in PunBB 1.2 bug reports)

Ah, thats right smile

By the way, give me a large G in my nick smile

Edit: danke

67

(2 replies, posted in PunBB 1.2 show off)

Got the brilliant idea to run a forum at our partysite last night, dont know why i havnt got this idea before, this site has the highest traffic of them i made (usaly about 200 uniqe visits per day and up to 2000 at the most).

Well, here it is!
http://party.junsele.com/forum/

Just have to intregrate my statscript now, just don´t know how right now.

68

(4 replies, posted in PunBB 1.2 bug reports)

Kennel wrote:

You're right. I'll make a note of it.

I know something else about that first post that you haven't discovered yet :-)


Then tell me smile

69

(4 replies, posted in PunBB 1.2 bug reports)

When you first install the forum, there is one post (testpost), posted by admin, if you check the profile for that user, you see "1" in number of posts, e few lines above, there is a line called "last post" or something like that. You will se "never" there witch is´nt true smile

not a big thing but.. smile

70

(21 replies, posted in General discussion)

No problem, this is a good thing, removes the ability for stupid admins to let their users to make a mess of the forum smile

Look at the date, compare to the old ones, may work smile

But it should still be nice to have a list with files that has been changed.

Edit: or create a script that generates a hash for each file and compare that way smile

Magoo wrote:
Want to check my forum out?  La Familia da una Calmare (site for me and my crazy friends)

Are your crazy friends blind? Huge textsize smile

Mayby the size are related to "Ölhäfv" wink

73

(11 replies, posted in General discussion)

Who have time to play? smile

Looks great! smile

75

(11 replies, posted in Archive)

Vadå? Gator är ju ett underbart program, jag vet inte hur jag skulle kunna klara mig utan det smile