Hello,
I have spent many hours trying to configure Serendipity to do what I want. I am having not too much luck.
I need a web page that has a discussion forum. It must be secure, because I will be allowing users to upload a file to my server. Right now I have Serendipity v.1 beta setup with the discussion forum plugin, and adjusted so guests can upload files. Then I put password protection server side on my web page. I will spare you the details, but there is actually quite a lot of stuff to go through to make it secure, have guests add an entry, be able to upload files, and not have to login twice (if you can understand what I mean). All users need to be able to download a certain file from the sidebar, update it and upload it in their forum entry.
Question 1: How do I make Serendipity replace the same file that is uploaded, so it can be downloaded as the latest version from an html nugget link in the sidebar?
Question2: How do I make Serendipity increase the file size of an uploaded file in my discussion forum to about a max of 15mb?
I could use any help. I know the setup seems confusing, but it is the only way I can figure.
Thanks in advance, DB
Discussion Forum Tweek
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Discussion Forum Tweek
Hi!
Sadly I did not develop the forum plugin and know little about it, so I can't specifically help you with that.
HTH,
Garvin
Sadly I did not develop the forum plugin and know little about it, so I can't specifically help you with that.
I think you will need to patch the forum plugin there, and create a new sidebar nugget PHP plugin to read the uploaded file listings from the table dma_forum_uploads.Question 1: How do I make Serendipity replace the same file that is uploaded, so it can be downloaded as the latest version from an html nugget link in the sidebar?
For that you need to adjust your PHP.ini "upload_max_filesize" and "post_max_size" variables to 15MB, and restart the webserver to set those settings.Question2: How do I make Serendipity increase the file size of an uploaded file in my discussion forum to about a max of 15mb?
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Discussion Forum Tweek
Hi!
Sadly I did not develop the forum plugin and know little about it, so I can't specifically help you with that.
HTH,
Garvin
Sadly I did not develop the forum plugin and know little about it, so I can't specifically help you with that.
I think you will need to patch the forum plugin there, and create a new sidebar nugget PHP plugin to read the uploaded file listings from the table dma_forum_uploads.Question 1: How do I make Serendipity replace the same file that is uploaded, so it can be downloaded as the latest version from an html nugget link in the sidebar?
For that you need to adjust your PHP.ini "upload_max_filesize" and "post_max_size" variables to 15MB, and restart the webserver to set those settings.Question2: How do I make Serendipity increase the file size of an uploaded file in my discussion forum to about a max of 15mb?
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/