Asp.net drop-in threaded comments, clean and simple for use on an Intranet.
$100-150 USD
In Progress
Posted about 13 years ago
$100-150 USD
Paid on delivery
Clean and simple ASP.net threaded comment system. Can use ASP.net controls (listview), codebehind, and some CSS. Database is MS Access 2000 or compatible. The output needs to look somewhat similar to the threaded comments in a default install of [login to view URL], but does not have to look identical.
## Deliverables
Details:
I have several listviews that I do different things with. I usually use an
lv_SelectedIndexChanging event or a lv_OnItemCommand command to either pull a value from the selected row or an ID# or "row ID" (example below).
Each of these values relates to one and only one item in the database.
The project will check for these unique row values in a threaded comment database and display a discussion, if it exists.
Project will be for use on an Intranet. Project requirements:
* Asp.net (VB) with MS Access 2000 or compatible DB.
* For use on an Intranet. Only people who have logged in already will have access.
* Coded as "drop in" as possible, so it can easily be added to existing pages.
* Use of ASP.net controls, such as a Listview is fine (I would even prefer that).
* Prefer using codebehind, but whatever works. Use of App_code is OK, but no compiled Dll's, please.
* Need to use viewstate (or session variables) and not pass variables through the URL.
* Names are pulled for logged in users and used in the comments.
* Use CSS to format with.
* Want it to look close to the threaded comments in a default install of BlogEngine.net.
Displayed pictures/thumbnails need an easy way to turn them on or off at a global level.
I've researched this quite a bit but have not had the time to get it working. I'm open to ideas,
but here is the path I was going to take:
1) Comments are inserted into the db so that they sort easy when pulled out:
E.g. If comment 1 had two replies, comments 2 and 3, the sort keys would be:
1 : 0001
2 : 0001.0002
3 : 0001.0003
Then if someone replied to comment 2, it would be..
4 : 0001.0002.0004
2) Comments are pulled out of the db and bound to a listview.
3) CSS is used to indent the the comments to the appropriate level.
In the above example the indent is based on how many "."s are in the comment id when parsed.
4) A box is provided to add a new comment or reply to existing comments.
Example:
Here is how the session variable will be pulled:
Sub lv_SelectedIndexChanging(ByVal sender As Object, ByVal e As ListViewSelectEventArgs)
Dim rowid As Integer
If Not IsDBNull([login to view URL]([login to view URL]).Value) Then
rowid = [login to view URL]([login to view URL]).Value
Session("rowid") = rowid
Else
rowid = 0
Session("rowid") = rowid
End If
If ([login to view URL] >= 0) Then
[login to view URL] = [login to view URL]