BBS attachments

Posted by: tms13

BBS attachments - 21/11/2001 04:32

I wish that the BBS made valid URLs from attached files.

At present, it uses the filename with the article number. This would be fine if it URLencoded non-URL characters (e.g. space), but it doesn't. That's a discomfort in the posterior.
Posted by: tfabris

Re: BBS attachments - 21/11/2001 10:09

Unfortunately, this is a bug in the wwwthreads software. I have gotten in the habit of making sure all files I upload (to any server for any reason) don't have spaces.

Note that some browsers (such as IE) have no trouble with spaces in file names.
Posted by: tms13

Re: BBS attachments - 21/11/2001 12:25

I guess I should change my wish to, "I wish Paul would kick the wwwthreads people to fix this" (and that they actually do fix it...). As well as the disappearing read-marks bug.
Posted by: tfabris

Re: BBS attachments - 21/11/2001 12:36

You're welcome to kick the wwwthreads people yourself about it.

The disappearing-read-marks bug hasn't been conclusively traced back to the wwwthreads software. It could be in the database code. I looked for it in the wwwthreads support forums and couldn't find it, meaning that it looks like no other wwwthreads users have had it happen.
Posted by: tanstaafl.

Re: BBS attachments - 21/11/2001 18:18

I looked for it in the wwwthreads support forums and couldn't find it, meaning that it looks like no other wwwthreads users have had it happen.

Interestingly enough, I have not had the "read/unread threads bug" show up on my computer in several months now, when it used to be an absolutely reliable daily occurrence in months past.

I was even able to define and categorize the exact problem: The last-read thread in each forum would be listed as being unread the next time I logged onto the bbs. This was 100% repeatable. Now, for whatever reason, the read flag is behaving the way it is supposed to for me.

Go figure.

tanstaafl.
Posted by: borislav

Re: BBS attachments - 21/11/2001 20:45

The disappearing-read-marks bug hasn't been conclusively traced back to the wwwthreads software. It could be in the database code. I looked for it in the wwwthreads support forums and couldn't find it, meaning that it looks like no other wwwthreads users have had it happen.

You need to look harder.

Subject: 5.1.5 "new post" bug
Subject: postlists marks new > no new.

Note that in both cases the bug was happening on their own forums, and they still haven't been able to figure it out.

Borislav
Posted by: tfabris

Re: BBS attachments - 21/11/2001 21:28

Thanks! I'll log in there and throw in my two cents.
Posted by: tfabris

Re: BBS attachments - 21/11/2001 21:39

Crap. I logged in and verified via email, but it still won't let me post to that thread because it says "Only registered users can access this area. Your registration has not yet been approved by our site administrators."

It's cause their forum is using the UBB forum and not the wwwthreads code, I think.
Posted by: tms13

Re: BBS attachments - 22/11/2001 04:07

For me, it usally manifests itself by unmarking everything read in the current session. I've got into the habit of closing and restarting my browser every day or two to minimise the damage when it happens (it occurs most days).
Posted by: BarryB

Re: BBS attachments - 22/11/2001 04:28

According to the http standard, URL's with spaces in them are invalid. You never used to see URL's with spaces in them on the Internet until IE introduced the "feature" of automatically re-writing URL spaces at %20.

Netscape 6.x series and Mozilla both re-write URL's to include the %20 in place of spaces as well.

Isn't this BBS software written using PHP? If so, it should be simple to make it put a %20 in place of all spaces. A few months back I modified the Ultimate Bulliten Board code used on nsxprime.com to fix this very problem-- only took one line of code to fix.
Posted by: tms13

Re: BBS attachments - 22/11/2001 04:36

I wasn't talking just about spaces, of course. See the attachment, which I called test % ? " ' ` & - [ ] < > &copy; &#163; £ # \ ~ .txt and which should have been encoded as %20%26copy%3B%20%26%23163%3B%20%A3%20%23%20%5C%20~%20.txt>http://empeg.comms.net/files/46345-test%20%25%20%3F%20"%20'%20%60%20%26%20-%20%5B%20%5D%20<%20>%20%26copy%3B%20%26%23163%3B%20%A3%20%23%20%5C%20~%20.txt.

Of course, something in the upload truncated the name to http://empeg.comms.net/files/46345-test%20%25%20%3F%20...
Posted by: BarryB

Re: BBS attachments - 22/11/2001 04:41

Why not use the urlencode() function in PHP to fix this? Take a look at:
http://www.php.net/manual/en/function.urlencode.php
Posted by: tfabris

Re: BBS attachments - 22/11/2001 06:08

Whoa, that post totally screwed up my Flat Mode view.
Posted by: borislav

Re: BBS attachments - 26/11/2001 21:52

Crap. I logged in and verified via email, but it still won't let me post to that thread because it says "Only registered users can access this area. Your registration has not yet been approved by our site administrators."

Maybe you can start a new thread and link to the previous ones?

(Excuse the slow reaction time - I can't find the time to read every post these days )

Borislav