Welcome, Guest

Community Builder Replacement Registration
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Community Builder Replacement Registration

Community Builder Replacement Registration 2 years, 1 month ago #10614

Hi

I've started to make a Community Builder Registration replacement. What I've done so far is use the existing pay to register package available on the forum and tried to use the integrator to do the rest.

However, I can't make the integrator update the correct fields. I hope I'm not barking up the wrong tree with my methodology and any help would be massively appreciated.

Can anyone help?

Davey
  • daveyc
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0

Re: Community Builder Replacement Registration 2 years, 1 month ago #10618

Hi,

what do you mean by updating the correct fields? What happens?
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

Re: Community Builder Replacement Registration 2 years, 1 month ago #10619

...please provide us with a screenshot if you are unsure!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

Re: Community Builder Replacement Registration 2 years, 1 month ago #10632

Sorry,

I had a look in the database and have learned more.

bascially I need to find some way to make the field_id and id fields in jos_comprofiler be updated with the same number as the one in jos_user. I'm not sure how to make the Integrator update the 'field_id' and 'id' fields because I'm not how to pull that data from the exisiting pay to register script using Integrator.

At least thats how I think it works.

Does that make sense?
  • daveyc
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0

Re: Community Builder Replacement Registration 2 years, 1 month ago #10663

Hi,

in your integration you can alter the value of a submitted piece of data by using the codebox.

So in your form I would create a hidden input with a dummy value (call it user_id)

Then in your integration you open the codebox for that user_id and enter

$value = JFactory::getUser()->get('id', 0);

Then assign to the corresponding cb field and save.

This should store the user's current id into the cb table.
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

Re: Community Builder Replacement Registration 2 years, 1 month ago #10694

Thanks.

I tried that but when I check the database in mysql the ids are still 0. Everything else updates (address, postcode, phone no), but not the user ids.

Basically, I am trying to replace the Community Builder registration form and when someone is registering they don't have a user->id.

Am I right so far? If so, I just need to figure out how to copy the new user id to jos_comprofiler at form submission, right?
  • daveyc
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Last Edit: 2 years, 1 month ago by daveyc.
  • Page:
  • 1
  • 2
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.41 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany