Retired Documentation:  You are using the documentation for version 1.7.3 which was retired in 2013. Go here for the latest version documentation or check here for your available upgrades to ExpressionEngine 4.

Other Features

Re-Synchronize Forums

At the bottom of the main Forum Management page there is a "Re-synchronize Forums" link. If for some reason the forums get out of order as far as their assignment to a particular category goes, you can use this link to re-synchronized them. This feature is almost never needed, but it is available if necessary.

Using PHP in the Forum Templates

You can enable PHP to be used in the Forum Templates if you wish. This is done under Default Preferences. You can do this if you wish to include other PHP scripts, such as banner ads. As with regular ExpressionEngine Templates, you can choose whether the PHP is executed on "Input" or "Output".

Running the Forums Through Regular Templates

By default, the Forum Module utilizes its own light-weight template display engine, rather than utilizing main templating system in ExpressionEngine. The consequence of this, though, is that you can't use general EE Tags, global variables, conditionals, or similar in the forum templates since they won't be parsed.

In the Default Preferences you set a "triggering" word for the forums, which by default is "forums". When the trigger word is encountered in the URL by ExpressionEngine, your forums will display. Your trigger word cannot be the same as any existing Template Group name.

If you absolutely must, there is a way to run your Forum through the standard EE template engine:

  1. Create a Template as normal in the main Templates tab of the Control Panel. Name it as you want.
  2. Inside that new Template, place this code and only this code:
{exp:forum}

Your forum will then be run inside the regular EE template engine, which means that you can include standard EE Tags in the forum theme Templates. The forum is then accessed through whichever Template you created above, so the Template name is used in place of the "trigger" word mentioned earlier.

The down side of this approach is that it adds more processing overhead, so it's not recommended unless users really need this capability. Since the forum can't be cached, on very busy sites this can create some unwanted server load.

Do not cache the Template you create for the forum. If you do so, your forum will not behave dynamically.

Top of Page