Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: CB integration not working after upgrade

CB integration not working after upgrade 16 years 2 weeks ago #2797

  • massmees
  • massmees's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I don\'t really need country, so I skipped it, but this is how I just figured out to use it. The changes need to be made in country.htm in two steps:
  1. Just before the first <option> (for Afghanistan), enter this line
    <option  value=\"<?php if($rowProfile->cb_country != \"\"){echo $rowProfile->cb_country;}else{echo \"United States\";} ?>\" selected=\"selected\"><?php if($rowProfile->cb_country != \"\"){echo $rowProfile->cb_country;}else{echo \"United States\";} ?></option>

    Where cb-country is the name of your CB field for that info. Also, if you are based in another country, you\'ll want to change the \"else\" statements to your country.
  2. Go find the option for United States, and delete
    selected=\"selected\"

Hope this helps

Please Log in or Create an account to join the conversation.

CB integration not working after upgrade 16 years 2 weeks ago #2798

  • tak5haka
  • tak5haka's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Brilliant! It worked!

I can\'t thank you enough :woohoo:

Please Log in or Create an account to join the conversation.

CB integration not working after upgrade 15 years 11 months ago #3148

  • fibie
  • fibie's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 31
  • Thank you received: 0
I am also trying to integrate registration with community builder.

I installed dtregister 2.3.5 and community builder 1.2 RC 4 (I couldn\'t get 1.1 working for me so I upgraded)

I want to auto populate as much as possible so have created lots of fields in CB that I want to integrate to dtregister.

At the moment the only field autopopulating is the users email address.

I am not really a programmer so would welcome any help I can.

So far I haven\'t identified the code that needs to be altered. I guess I want to update dtregister.php with the cb fields instead of the default ones or is it more complicated than that?

I am happy with my custom fields in dtregister. I want to switch the default fields in the event registration form to show some fields from the users cb profile

PLEASE HELP - I\'ll buy you a beer :)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.515 seconds