Forums

cb registration plugin not working

cjmicro 11 Sep, 2009
We updated community builder to the new version 1.2.1 and now the cb_reg plugin does not seem to be working. I can't swear it happened because of that, but was wondering if there is any known issue. It does not seem to write to the DB with all the fields. It adds the user, but not all the fields. I have checked and double checked the fields and they seem to be correct in the plugin configuration.

The site is in Joomla 1.0, and Community Builder is 1.2.1 Chronoform version is 2.3.9

Could it be the order of plugins? or the order of the blocks?

Joomla Registration:
Authorize .net: 2
CB Registration: 1
Profile Page:

Order of Autogenerated block:3
Order of OnSubmit block:2
Order of Plugins block: 1



If you have any ideas it would be greatly appreciated.

Thank you,
Cheryl
cjmicro 11 Sep, 2009
PS the info does get transferred to the email. It does seem to post to the table, but does not show up in com_profiler table OR in the user's profile.

Cheryl
GreyHead 11 Sep, 2009
Hi Cheryl,

Sorry, I don't know much abtou CB at all and even less about the new release. There was a conversation here recently abotu dividers for array values being save in CB (apparently ChronoForms uses ',' and CB uses '|*| ') - could this be the problem?

Bob
cjmicro 11 Sep, 2009

There was a conversation here recently abotu dividers for array values being save in CB (apparently ChronoForms uses ',' and CB uses '|*| ') - could this be the problem?



I have no idea and wouldn't even know where or how to check that. 😢

Cheryl
cjmicro 11 Sep, 2009
The plugin has a line

$database->setQuery( "SELECT * FROM #__comprofiler_fields WHERE published='1' AND `table`='#__comprofiler' AND name <>'NA'" );



My database is jos_comprofiler_fields and jos_comprofiler does that make any difference? (although that was the same before)

Cheryl
GreyHead 11 Sep, 2009
Hi Cheryl,

No #__ gets replaced by the database table prefix for your site - the default is jos_

Bob
wayne_tnng 04 Dec, 2009
Hi,
I am having exactly the same problem. I updated to the new version of Chronoforms (ChronoForms_V3.1_RC5.5) from version 3.0. Our sever updated from php4 to php5, and for some reason my forms did not work anymore. With the new version my forms are working, but the cb_registration process is not working anymore.
Please can someone help with this problem.
wayne_tnng 17 Dec, 2009
Ok. After reading threw all of the online help I could get, all the manuals and a week of waiting for any reply from this forum and struggling to get community builder and chronoforms working together correctly as a registration process, I finally found a solution that worked for me.
Hope this can help anyone that is frustrated with not getting any correct answers.
This is what you need:

- PHP5
- Joomla 1.5.9/10 (only tested on these versions, but I'm sure it will work on later version)
- Templates tested (JA_Rutile, JA_Olyra)
- CHRONOFORMS version 3.0 stable
- Community Builder version 1.2 stable (not 1.2.1)
- Then do the following if you use image verification:
- Download the zip for the chronocontact.php file and place it here (components/com_chronocontact/)
- And lastly use the cf_cb_registration.php file from the download and place it here (components/com_chronocontact/plugins/)

:wink:
GreyHead 17 Dec, 2009
Hi Wayne,

Thanks for this. I was on holiday when you first posted and must have missed it in my catch-up scan.

As I've posted many time here, neither Max or I are CB users so we rather depend on other ChronoForms users to fix the problems that arise with CB updates.

Bob

Note for other readers: Not tested but this fix probably won't work with the current ChronoForms release as there have been significant changes in the ChronoForms plugin code since v3.0 stable.
wayne_tnng 17 Dec, 2009
Hi Bob,
No problem - hope you enjoyed your holiday.
Just got very frustrated when something that was working 100% all of a sudden did not work after the server update to php5.
I hope my effort can help someone.
I will try my best to get the new versions of Chronoforms and Community builder working.
Will post reply once I get the fix.
Thank you for the component. Greetings from South Africa.
peers 22 Dec, 2009
has anyone managed to get this working with cb 1.2.1 and chronoforms rc5.5?
wayne_tnng 04 Jan, 2010
Hi Peers. Sorry, no solution from me yet...was on holiday. Will have a look once I get bit of time.
Neuhaus 06 Jan, 2010
The plugin is not working for me either.

I looked at community builder table structure it is:
id
user_id
firstname
...

user_id the ID of the user in general joomla users table. So I guess community builder does not store username and password etc. in its own table (I think it did in earlier versions).

A way for a solution could be a combined plugin performing a joomla registration first, reading the new ID from the general Joomla-Usertable and then creating the CB-table entry with the ID as value for user_id, followed by the other fields. Maybe Joomla registration runs first and a changed community builder after that copying the ID to user-id.

I know not how to do this, but maybe a beginning...

$user =& JFactory::getUser();
$userId = $user->get( 'id' );
echo '<input type="hidden" name="user_id" value="' . $userId . '" />';

Ideas?
ihtus 06 Jul, 2010
hey
any solution for the new CB 1.2.2 ?
jonclassmedia 07 Oct, 2010
Hello,

I am trying to configure CF to create a registration form for CB. The form is created and when submitted does/ should do the following:

1. Send email verification to new registrant - Works
2. Save data to a specified independent table in database - Works
3. Verify email and go to confirmation page when verification link in email is clicked - Works
4. Sync data with the CB comprofiler database - This does not work.

The plugin is enabled and I noticed that when configuring the CB plugin in CF only the fields marked positive or (1) for registration in CB are visible. Do all of the fields need to have content?

Please help if possible, I've been tinkering with this for months now on a live site to no avail.

Your help is sincerely appreciated.
This topic is locked and no more replies can be posted.