Products

Price/Order

Support

Partners

Testimonials

Test Results

About us

Contact
 Deleting a post in the forum.
Bottom
 
Total posts: 9
 Author Deleting a post in the forum.
Scott Slater

07.12.2006 19:00:12
Registered user
I've been playing around with the forum on my website and could not find a way for the author of a post (or even the admin) to delete a post.  How is this done?  Also, I could not find a way for the author of a post to go back and edit it.  I know that I have the source for the forum and could eventually find these answers but I thought it would be quicker this way.

Thanks
Scott Slater

07.12.2006 20:02:15
Registered user
I found that the moderator of a section and edit/delete topics but I still can't find a way to delete an individual post in a topic.
Danijel Tkalcec [RTC]

07.12.2006 20:14:59
Registered user
Moderator can edit and delete all posts inside a topic while viewing the Topic Text (posts). Other users can not edit or delete posts.

As a moderator, when in the "Topic View screen", you will see the red "X" right to each post, using which you can delete each post. This doesn't go for the first post, since this post is the "Topic parent". To delete the first post (topic parent), you need to delete the whole topic.

Best Regards,
Danijel Tkalcec
Scott Slater

07.12.2006 20:33:24
Registered user
What sort of mods would be needed to allow the author of a post (who is not a moderator) to be able to edit their own posts and to be able to delete their own posts (assuming that the post to be deleted is the last post in a topic)?

I've been looking at the code trying to familiarize myself with the structure of it but I haven't spent enough time with it yet.
Scott Slater

07.12.2006 21:00:43
Registered user
It looks like you could test to see if the name of the current user matches the name stored with a given reply then you could enable the edit capability.  However, since the name of the user is not guaranteed to be unique this would not work.  The actual username or some kind of userid would have to be stored along with the reply to be able to test against.
Danijel Tkalcec [RTC]

07.12.2006 21:12:06
Registered user
You could extend the topic structure to add a username to each topic, so you would always be able to identify the user. But, on my forum, I wouldn't want to allow all users to edit or delete their posts. IMHO, this is something only a moderator may do.

Best Regards,
Danijel Tkalcec
Scott Slater

07.12.2006 23:57:59
Registered user
Well, on other forums there is at least the ability to edit your own posts.  Not sure about deleting your own posts but as long as no one has made another post after yours you should safely be able to delete it.

I can envision someone replying to something and then realizing that they either should not have posted what they did or posted to the wrong topic, etc and would want to delete it.  Or, made a reply and then later realized that they forgot to including something or mispelled a lot of words and wanted to edit it.
Danijel Tkalcec [RTC]

08.12.2006 11:10:45
Registered user
For me, neither editing nor deleting posts by users is an option. If your post was unintended, simply post a new reply with something like "Please delete my last reply" or "Please delete this topic".

Best Regards,
Danijel Tkalcec
Danijel Tkalcec [RTC]

08.12.2006 11:29:52
Registered user
********************************
  IMPORTANT NOTE !!!
********************************

The purpose of RTC *Demos* (like the Web Forum Demo) is to show you how the RTC SDK *could* be used to implement this or similar applications. None of the Demos (not even the Web Server) were intended to become full-featured products.

A lot more things can be done with the RTC SDK than shown in the Demos and a number of things from the Demos could have been done better, but - as said - these are only examples, which were provided for "learning" purposes, so you can see how the RTC SDK can be used in "real life" applications (like the Web Server, Web Forum or the Messenger).

As a developer, you have the option to make any modifications you require, since full source code for all demos is included in the RTC SDK package. If you should have questions about using the RealThinClient SDK components, don't hesitate to ask. But, support for adding even the simplest features to the existing Demos is NOT included in the commercial license.

Starting next year (2007), additionally to the general components usage support, which is included in every RTC SDK package, we will be offering *extended* developer support - which is what you would require if you wanted to have new features added to your application(s). Extended support will be billed "by the hour", since this kind of support requires our full attention for this specific customer and his specific "issues".

Best Regards,
Danijel Tkalcec