Latest Register Log In

+ Advanced Search

Similar Forums

Similar Forums
By
05/25/07 (Edited 01/31/14)

At Admin Panel -> Settings -> Switches, you have an option labeled "similar forums". When activated, this displays (in the 'show topics in forum' template above the subforum list) a list of forums which resemble the one being viewed. The matches are generated by a MySQL fulltext title comparison, and the _forums table will have to be MyISAM or the MySQL version at least 5.6 to use InnoDB (don't worry, WSN defaults to MyISAM).

To display similar forums in other spots you can use this template code in any template area that's within the scope of a forum (this includes forum toplists):
<IF {CATNUMSIMILAR}>
<div id="similar">
{CATNUMSIMILAR} {LANG_DISPLAYLINKS_SIMILARCATS}:<br >
<!-- BEGIN SIMILAR CATEGORIES -->
{CATNAV[0 <,> 0 <,> 1]} <IF {SWITCH_COUNTS} and not {CATACTASLINKBOOL}>({CATNUMLINKSFORMAT})</IF><br >
<!-- END SIMILAR CATEGORIES -->
</div>
</IF>




Description Displaying an automatic list of related forums.
Rating
Views 436 views. Averaging 0 views per day.
Similar Topics