This post describe how the plugin can be made to work with 1.0.2.
0) Back up
1) run this query: UPDATE `jos_comprofiler_fields` f,
jos_comprofiler_tabs t SET f.table = concat( "#__comprofiler_listtab_", f.tabid ) WHERE f.tabid = t.tabid AND t.pluginclass = 'listtab';
2) modify comprofiler.php
Find this line located roughly at line number 650
[code:1]
$database->setQuery( "SELECT f.* FROM #__comprofiler_fields f, #__comprofiler_tabs t"
. "\n WHERE f.published=1 and f.tabid = t.tabid AND t.enabled=1 and f.readonly=0" );
[/code:1]
And change it to this
[code:1]
$database->setQuery( "SELECT f.* FROM #__comprofiler_fields f, #__comprofiler_tabs t"
. "\n WHERE f.published=1 and f.tabid = t.tabid AND t.enabled=1 and f.readonly=0 AND f.table like '?__comprofiler'" );
[/code:1]
Then copy the files included in the attached zip over the original files.
NeonDevil: I included your readme here since it is much better than mine. Also put you in the copyrights.
mikko
Attachment listtab-51e58389e2ee753762d6e486e1c33e85.zip not found
Post edited by: mikko, at: 2006/12/06 12:22