Hello
Please find attached the first attempt to port CB Advanced Search component as CB userlist component.
This plugins requires the following bug fix to be applied before using.
In admin.comprofiler.controller.php,
Change this
[code:1]
case 'pluginmenu':
[/code:1]
to this:
[code:1]
break;
case 'pluginmenu':
global $database,$mosConfig_absolute_path;
$database->setQuery("SELECT element, folder, type FROM #__comprofiler_plugin WHERE id=".(int)mosGetParam($_GET,'cid',-1));
$result=null;
$database->loadObject($result);
if($result!=null){
if(file_exists("$mosConfig_absolute_path/components/com_comprofiler/plugin/$result->type/$result->folder/toolbar.$result->element.php"«»)){
include_once("$mosConfig_absolute_path/components/com_comprofiler/plugin/$result->type/$result->folder/toolbar.$result->element.php"«»);
}
}
break;
[/code:1]
It probably contains a lot of bugs still, but should be somewhat usable.
-Mikko
Attachment plug_cbadvancedsearch.zip not found