For those of you still using Mambo 4.5.2 (like me), this hack works for you too. You just have to change one little snippet of code to match your Mambo site.
1. Before you run your database query using:
[code:1]ALTER TABLE `jos_comprofiler_fields` ADD `search` TINYINT( 1 ) DEFAULT '0' NOT NULL AFTER `registration` ;[/code:1]
Change jos_comprofiler_fields to mos_comprofiler_fields
2. Edit the comprofiler.html.php hack file
Find: (should be on line 643)
[code:1]$query_search = "SELECT * FROM `jos_comprofiler_fields` WHERE name LIKE '%cb_%' AND search = 1 AND published = 1";[/code:1]
Replace the jos_comprofiler_fields with mos_comprofiler_fields
Now follow the directions that are posted in the previous posts.
i am getting the following error messages....can you please help.
Fatal error: Call to undefined function: showtabs() in D:\inetpub\thegreeksite\administrator\components\com_comprofiler\admin.comprofiler.php on line 754
and
Fatal error: Call to undefined function: showplugins() in D:\inetpub\thegreeksite\administrator\components\com_comprofiler\admin.comprofiler.php on line 1860
these are all cb functions and have nothing todo with the hack.
I would suggest you upload the original files and see if it works again. If that works see what version of the cb you are working with with hack I have supplied. May be there is a version difference.
Just wanted to say hello, I am new to Joomla and CB and really enjoy them both.
I went to try this hack and it doesn't seem to work for me. I ran the SQL query and overwrote the files but when I go to the userList item and search for a word of a custom field, no results appear. Am I missing something to implement it? Any advice would be greatly appreciated. Thanks in advance.