Club Site Forums Starter Kit

If it's not one thing, it's two things...

Skip Repetitive Navigational Links
Page:
1

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Known Bugs - Change Log

5/9/2006 10:03:01 AM
(Fixed in Version 0.2)

Bug: when posting special characters, they are HTML Encoded (to prevent XSS hacking). As a result, when you make a quoted reply to a post, the entities are visible and the ampersands get re-encoded. Ugly.

Fix 1: Plug in a WYSIWYG Editor like FCKEditor instead. Don't HTMLEncode, instead write some code to sanitize the HTML.

Fix 2: modify forum_addpost.aspx, lines 30-36 as follows:

subjectTextBox.Text = HttpUtility.HtmlDecode(msg.subject)
Headlabel.Text = "Reply to &quot" & msg.subject & """
' is it a quoted reply?
If Not String.IsNullOrEmpty(Request("qu")) Then
    Dim quotebody As String = HttpUtility.HtmlDecode(msg.body)
    quotebody = Regex.Replace(quotebody, "<br />", vbCrLf) & vbCrLf
    bodyTextBox.Text = String.Format("{0} wrote: {1}", msg.displayname, HttpUtility.HtmlDecode(quotebody))
End If

This fix will not handle the same problem in forum_editpost.aspx. One way to do that might be to make a custom textbox control that HTMLDecodes its contents by overriding Property Text{Set}.  Another might be to add a dataBound event handler, find the control, and alter the content of it using the same logic as above. (N.B. This is what was done in version 0.2)
~~~~~~~~~~~~~~~
Mister Lunch's Sig
     

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Known Bugs

5/9/2006 11:22:12 AM
(Fixed in Version 0.2)

Bug: missing semi-colon on lines 31 and 46 of forum_addpost.aspx:

Headlabel.Text = "Reply to &quot;" & msg.subject & "&quot;"
--------------------------------^
~~~~~~~~~~~~~~~
Mister Lunch's Sig
     

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Known Bugs

5/9/2006 12:27:21 PM
(Fixed in Version 0.2)

Bug: Aggressive browser cache makes upoading a new Avatar appear to fail when it's actually OK

Fix: In AvatarImageFetch.ashx, remove this line:

Response.Expires = 10
~~~~~~~~~~~~~~~
Mister Lunch's Sig
     

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Known Bugs

5/10/2006 8:40:18 PM
(Fixed in Version 0.3)

Bug: Forums.cs throws nasty ugly errors because Mark didn't test it properly.

Fix: Tell Mark he can't have any more expensive cigars until it is fixed.
~~~~~~~~~~~~~~~
Mister Lunch's Sig
     

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Known Bugs

5/13/2006 12:47:56 PM
(Fixed in Version 0.4)

Bug: SQL Script throws syntax errors when loaded via Query Analyzer on SQL Server 2000

Fix: Get Version 0.4 or later
~~~~~~~~~~~~~~~
Mister Lunch's Sig
     

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Known Bugs

5/14/2006 12:28:08 AM
(Fixed in Version 0.5)

Bug: Adding a new Forum or Section with a blank description field throws an error when you try to access that Forum.

Fix: Well, in general, if you're going to use this sort of declarative data source, you should use default constraints in the database. But aside from that - the fix is in Version 0.5, which checks for null or empty inserts/updates, and supplies a default value if none is there, and also adds a validator for the description field.

** Upgrading from 0.3 or later?  You need only update Forum_Manage.aspx **
~~~~~~~~~~~~~~~
Mister Lunch's Sig
     

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Change Log

6/28/2006 1:44:56 PM

(Released Version 0.7)

• indicators visible when not logged in, on topics and threads, showing if a topic/thread contains messages posted in the last 24 hours
• indicators visible when logged in, on topics and threads, showing if a topic/thread contains messages you have not read yet
• mark all posts read
• expanded user profile on messages showing date joined, number of posts, online/offline
• list of watched threads
• start watching a thread when you post or reply
• start watching a thread
• stop watching a thread
• optional, send email copy of new posts to people watching that thread

~~~~~~~~~~~~~~~
Mister Lunch's Sig
     

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Change Log

7/2/2006 11:32:39 PM
(Released Version 0.7)

• user profile page with bio etc.
• user preferences / edit profile
• user signatures
• thread - show/hide avatars
• thread - show/hide signatures
• thread - messages per page
• thread - sort order
• email notifications on/off
• profile - show/hide email address
~~~~~~~~~~~~~~~
Mister Lunch's Sig
     

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Change Log

7/6/2006 11:24:03 PM
(Fixed in Version 0.7)

Bug: posts in utf-8 were not being saved properly, making MBCS languages inoperable.

Fix: corrected AddMessage and SaveEditMessage sproc @body parameters from text to ntext
~~~~~~~~~~~~~~~
Mister Lunch's Sig
     

Mister Lunch

Mister Lunch
Joined: 5/8/2006
Posts: 174
Offline

Change Log

7/7/2006 11:59:02 AM
(Fixed in Version 0.7)

Bug: Switching sort order in a locked thread incorrectly caused Reply/Quote links to appear.

Fix: bLocked was not being set in a postback. Thanks to Lex for finding this one.
~~~~~~~~~~~~~~~
Mister Lunch's Sig
     
Page:
1
If you find the Forum Starter Kit code useful, please consider making a donation to help support the development effort!