Drupal

From FUDforum Wiki
Jump to: navigation, search
User authenticated from Forum DB. Note stats, online users and latest forum posts displayed as standard Drupal blocks.

Drupal is a popular content management system. A special module is available for integrating Drupal with your forum.

Important Symbol IMPORTANT: Please do not download and install this module unless you have a fully working FUDforum installation.

Contents

Features

The following (all optional) blocks are provided to integrate your forum with your drupal site:

User login

Allow forum users to login to your Drupal site with their forum userids and passwords. If the user changes his/her forum profile, it will be synced back to the Drupal site next time he/she logs in.

New forum posts

Display a list of the 10 latest forum messages.

Online forum users

Display a list of all on-line forum users.

Forum statistics

Display forum statistics including: number of users, threads, messages, newest member, etc.

Prerequisites

This module assumes that FUDforum was configured to use PATH_INFO style URLs. See setting in FUDForum's Admin Control Panel. If not, you will have to change the URL format in the module code yourself.

Installation

Follow these steps to install the FUDforum module:

  • Copy fudforum.module to your modules directory (create a subdirectory .../modules/fudforum/)
  • Navigate to Administer » modules and enable the fudforum module.
  • Navigate to Administer » settings » fudforum and enter the path to FUDforum's GLOBALS.php file. Ensure that Drupal will be able to read this file.
  • Enable the blocks you want to use from Administer » blocks

Embedding into content pages

To embed the plugin's output into the content area of a page, edit the page and add:

<?php
 $content = module_invoke('fudforum', 'block', 'view', '1');
 print '<h2>' . $content['subject'] . '</h2>';
 print $content['content'];
 ?>

Remember to change the input format to PHP code.

External links

Languages
Personal tools
This is a cached copy of the requested page, and may not be up to date.

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.

(Can't contact the database server: Cannot return last error, no db connection)


You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date.