Hi,
I have run into a useful module from Aelia (on DP) : the Dynamic streets...
There is a small incompatibility issue with the actual nb+ 1.2.2. core engine: the module needed modified output.php lib.rary, in its first release... it comes bundled with a modified output.php lib file, yet the file is rather old and has no knowledge of the class output_collector...
the module is very simple made:
<?php
require_once("lib/http.php");
function dynstreets_getmoduleinfo(){
$info = array(
"name"=>"Dynamic Streets",
"author"=>"Aelia",
"version"=>"1.0",
"category"=>"Village",
"download"=>"http://dragonprime.net",
"description"=>"This enables city streets.",
"prefs"=>array(
"location"=>"Last place visited|gate",
),
);
return $info;
}
function dynstreets_install(){
module_addhook("header-village");
module_addhook("village");
return true;
}
function dynstreets_uninstall(){
return true;
}
function dynstreets_dohook($hookname, $args){
switch($hookname){
case "header-village":
addnav("Go-To");
break;
case "village":
$place=httpget('place');
addnav("Go-To");
addnav($args['gatenav'],"village.php?place=gate&refresh=1");
addnav($args['fightnav'],"village.php?place=fight&refresh=1");
addnav($args['marketnav'],"village.php?place=market&refresh=1");
addnav($args['tavernnav'],"village.php?place=tavern&refresh=1");
blocknavcat($args['gatenav']);
blocknavcat($args['fightnav']);
blocknavcat($args['marketnav']);
blocknavcat($args['tavernnav']);
blocknav("login.php?op=logout");
addnav("Info");
addnav("Q?`%Quit`0 to the fields","login.php?op=logout&refresh=1",true);
if ($place=="") $place=get_module_pref("location");
switch ($place) {
case "gate":
blocknav("village.php?place=gate&refresh=1");
unblocknavcat($args['gatenav']);
set_module_pref("location",$place);
break;
case "fight":
blocknav("village.php?place=fight&refresh=1");
unblocknavcat($args['fightnav']);
set_module_pref("location",$place);
break;
case "market":
blocknav("village.php?place=market&refresh=1");
unblocknavcat($args['marketnav']);
set_module_pref("location",$place);
break;
case "tavern":
blocknav("village.php?place=tavern&refresh=1");
unblocknavcat($args['tavernnav']);
set_module_pref("location",$place);
break;
}
break;
}
return $args;
}
?>
Simple for Aelia ...

The error, when installed, it is shown here:
Fatal error: Call to undefined function blocknavcat() in /mounted-storage/home113a/sub007/sc41001-XJFO/nb.net/modules/dynstreets.php on line 41
Please, have a glance over it and see if the called functions need to be modified or what else would need updating... i looked into the nav.php library and hoped no core edit is needed to make the module valid...
Thank you very much.
Attached there is the original module and modified output lib and output.dif from Aelia.