Forum Module (pro standard)
Example
Open Document Centre in new window (/forumIndex.aspx)
Description
The **n-gen.net Forum Module** is a lightweight, fully integrated discussion platform built directly into the n-gen.net CMS. No external dependencies, no bloated third-party software – just pure ASP.NET Web Forms (C# 4.0) and MySQL. ##
Key Features
- Full discussion functionality: Create topics, reply with threading, edit and soft-delete posts,
- Voting system: Upvote/downvote posts with real-time score updates
- Word Cloud: Automatic keyword extraction from topics and replies; click any word to search the forum
- Role-based help texts: Different help messages for guests, users, trusted users and admins
- Recent activities panel: Configurable number of activities and preview length
- Category pagination: Handles many categories with compact pager
- Email notifications: Users can opt-in to receive emails when someone replies to their posts
- BBCode support: Formatting with `[b]`, `[i]`, `[u]`, `[url]`, `[quote]` and 20+ smileys
- AJAX-powered modals: Edit, delete, create topics without page reloads
- Category management: Create, edit, delete and reorder categories
- Admin control panel: Centralised settings for word cloud, visual options, recent activities and email notifications
- Responsive design: Works on desktop, tablet and mobile devices
- Theme integration: Automatically inherits colours from the site's style manager
- Searchable: Forum-wide search with AND/OR operators and result highlighting
Installation
The installation process consist of three easy actions:
- Download the forum module SQL script from the installer
- Run the script via the n-gen.net CMS installer (`/install/`)
- The forum is now ready – access it at `/forumIndex.aspx`
As of 2025-02-02 the three last actions are all done from the /install/installDocCen.aspx file.
Note: It is important that you follow the steps in sequence. If you do not follow the sequence the installation might fail and you may not be able to access your n-gen.net Content Management System. If that happens you will have to recreate your original Web.config file using the System Installer from "http://YourDomain.net/install/install.aspx".
ad 1.
...
ad 2....
ad 3..
Usage and implementation
...
Remarks
Files
The forum module consists of the following files:
/forumIndex.aspx – Forum overview
/forumIndex.aspx.cs – Code-behind for overview
/forumViewTopic.aspx – Topic view with replies
/forumViewTopic.aspx.cs – Code-behind for topic view
/forumCreateTopic.aspx – Create/edit topic
/forumCreateTopic.aspx.cs – Code-behind for create/edit
/forumUnsubscribe.aspx – Unsubscribe from notifications
/forumUnsubscribe.aspx.cs – Code-behind for unsubscribe
/admForum.aspx – Admin control panel
/admForum.aspx.cs – Code-behind for admin
/App_Code/WordCloud.cs – Word cloud generator
/App_Code/forumBBCode.cs – BBCode converter
/scripts/forum.js – Client-side functionality
/styles/forum.css – Forum styles
Database Tables
forumTopics – Topic container
forumPosts – Replies and comments
forumCategories – Category management
forumPostVotes – Up/down votes
forumSetup – Configuration settings
forumSubscriptions – Email notification subscriptions
forumNotifications – Notification log