You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 3 of 11)
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
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');
}
Lucas wrote:
What about enabling HTML as an option?
Thats what it is now.
Hm, yeah, you have probably right
Hm, just check witch users who have default before update, then update there profiles to
Well, maybe not so important anyway
But i thing something should be there for recently registered users, or, hm, not sure anymore :-)
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
I think posts and topics per page input areas in users profiles should be filled with corresponding default value instead of beeing empty.
huh, what? is it eatable?
Cactuz wrote:
Frank H is doing a great job with his upload script. The administartion part seems to be great I can't wait to test it
yeah, if it works half as good as it look, it will be awesome
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
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
Or fanatic users who insist to donate something?
Yeah, i like them to
I´m not sure this is a bug or a future request
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
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
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--)?
One the other hand you can klick "Show posts by this user"
Under profile, last post should be a link to last post and not just the time?
Ah, thats right
By the way, give me a large G in my nick
Edit: danke
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.
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
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
not a big thing but..
No problem, this is a good thing, removes the ability for stupid admins to let their users to make a mess of the forum
Look at the date, compare to the old ones, may work
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
Are your crazy friends blind? Huge textsize
Mayby the size are related to "Ölhäfv"
Who have time to play?
Looks great!
Vadå? Gator är ju ett underbart program, jag vet inte hur jag skulle kunna klara mig utan det
Posts found: 51 to 75 of 260