Forum module within the kit

Last post 05-11-2008 2:48 PM by anas. 3 replies.

Sort Posts:

  • Forum module within the kit

    05-10-2008, 3:58 AM
    • Loading...
    • sunny74
    • Joined on 10-20-2007, 7:47 PM
    • Posts 129

    Dear all,

    I am looking to create a Forum module like this forum.So I looked at this starter kit to get some ideas.

    But I find that the forum is containing only links and doing static message display.In other words it is not what it shud be.

    Can some one who has a good idea about creating forums tell the concept that goes behind creating a fully working one. The messages shud be stored

    in XML files and not database. If you can provide code it will be still better. It will be good if you can provide step-by step instructions. How to integrate the FCK editor into a web page?

     

    Thanks

  • Re: Forum module within the kit

    05-10-2008, 5:37 AM
    • Loading...
    • anas
    • Joined on 09-21-2006, 4:31 AM
    • Palestine - فلسطين
    • Posts 2,410

    sunny74:
    But I find that the forum is containing only links and doing static message display

    That's not true , the starter kit forums is a dynamic one , yes its simple because its used as a starter kit  module,

    but its built on a standard forums schema , and you can find the forum tables in the database .... this can be helpful for you..

     

    Actually , there is many open source forums that can be integrated to  your application with a little effort  ...

    One of them called : Yet Another Forum.NET , its a C# forum . you can download it and look at the source code ...

     
     

    Best Regards,

    Anas Ghanem - انس الغانم | My Blog
  • Re: Forum module within the kit

    05-11-2008, 1:58 AM
    • Loading...
    • sunny74
    • Joined on 10-20-2007, 7:47 PM
    • Posts 129

    "

    That's not true , the starter kit forums is a dynamic one , yes its simple because its used as a starter kit  module,

    but its built on a standard forums schema , and you can find the forum tables in the database "

    Assuming your statement to be true I need to ask you the following:

    1) What is the standard forum schema? How to create it?

    2) How can I store the forum matter in XML files instead of database?

    Thanks.

  • Re: Forum module within the kit

    05-11-2008, 2:48 PM
    • Loading...
    • anas
    • Joined on 09-21-2006, 4:31 AM
    • Palestine - فلسطين
    • Posts 2,410

    sunny74:
    1) What is the standard forum schema? How to create it?

    I mean by standard , is that its the same forums  schema that is used in the most famous forums ,

    like YAF,DNN forums, Rainbow fourms,Community server forums.....

    sunny74:
    How can I store the forum matter in XML files instead of database?

    I think using XML as a data store for the Forums will be a bad idea ..

    because the forums is expected to grow and get large , and since the xml is not good for Large and complex data structure ...

    also using the XML needs more effort because you should handle the Concurrent trnsactions.... XML can be used for a Blog,simples news module,settings files, Advertisments, Site mapss

    but  Not for forums....

    However, if  you still want to use XML as a data store for the forums module , you need to inherits the

    ForumsProvider class which can be found inside "MB.TheBeerHouse.DAL" namespace, and you should provide a custom implementation for its Abstract methods like

            Public MustOverride Function GetForums() As List(Of ForumDetails)
            Public MustOverride Function GetForumByID(ByVal forumID As Integer) As ForumDetails
            Public MustOverride Function DeleteForum(ByVal forumID As Integer) As Boolean

    .......

     

    Best Regards,

    Anas Ghanem - انس الغانم | My Blog
Page 1 of 1 (4 items)