Post registration form to another site

16 years 7 months ago #45196 by quiquedcode
Post registration form to another site was created by quiquedcode
Hi guys
I've a difficult (for me) task here

My form is already built, look here please
www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,showcat/catid,42/

Now, somewhere in CB code, I have to submit these fields also to another site, for "duplicating" users also in that site. Note: the site is not joomla based

So, each time an user registers in my site, it must be posted also to the 2nd site

Does any1 know where should I look in the CB code for doing this hack ? maybe other ideas ? Thanks

:whistle:

Please Log in to join the conversation.

16 years 7 months ago #45201 by mikko
Replied by mikko on topic Re:Post registration form to another site
You should probably write this as a CB plugin. See downloads -> plugin api documentation.

-Mikko

Please Log in to join the conversation.

16 years 7 months ago #45202 by quiquedcode
Replied by quiquedcode on topic Re:Post registration form to another site
mikko wrote:

You should probably write this as a CB plugin. See downloads -> plugin api documentation.

-Mikko


You're right, but learning this would take me lot of time...
Instead, I was planning to put some cURL code for doing this quickly, into the submission code somewhere in CB code

The thing is that I must find out where is the registration code, among all the long code :laugh:

Please Log in to join the conversation.

16 years 7 months ago #45818 by quiquedcode
Replied by quiquedcode on topic Re:Post registration form to another site
Hi guys again
Sorry for bumping, but

I'd like to know where is the code that receives the POST data from the CBregister form, and the lines where the success message is shown so (as I know user registered correctly) then I can send the form data to another site using header php function or curl

edit: should I check here ? or is another function the one that saves new users?

components/com_comprofiler/comprofiler.php
line 1011: function saveRegistration

thanks a lot in advance ;)

Post edited by: quiquedcode, at: 2007/09/14 19:17

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.175 seconds

Facebook Twitter LinkedIn