Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 Next > End >>
Synchronize Users automatic
Date: 2007/05/23 19:07 By: tia Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 7
graphgraph
Hi

Is it possible? Synchronize users automatically?

I use LDAP autentication and the users are create in Joomla and I have to sincronize every time.

Thanks
Click here to see the profile of this user The administrator has disabled public write access.

Re:Synchronize Users automatic
Date: 2007/05/29 09:06 By: mikeclarke Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 8
graphgraph
We have the same problem. Can't belive there's not an easy fix yet. Cron in cpanel just don't work for many of us.

Please help us someone.
Click here to see the profile of this user The administrator has disabled public write access.

Re:Synchronize Users automatic
Date: 2007/05/30 03:46 By: beat Status: Admin  
Karma: 244  
Admin

Posts: 4066
graphgraph
Yes, this can be done with a CB plugin, which would have to be written custom for your application.
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The administrator has disabled public write access.

Re:Synchronize Users automatic
Date: 2007/06/01 22:00 By: tia Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 7
graphgraph
Hi

a friend of mine added a query and everything is okay now.
But, I did it in a test site.

Instructions:
-open index.php and search "frontend login & logout controls"
-after "$mainframe->login();" put the code:

$sql_sync = "INSERT IGNORE INTO #__comprofiler(id,user_id) SELECT id,id FROM #__users";
$database->setQuery($sql_sync);
$database->query();

Tia
Click here to see the profile of this user The administrator has disabled public write access.

Re:Synchronize Users automatic
Date: 2007/06/02 01:06 By: mikeclarke Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 8
graphgraph
I just can't belive that worked! It's not perfect but it works for me. User's have to logout and back in for profile to be active.

Thanks again so much!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Change to sync the Joomla users to CB users
Date: 2008/09/15 11:53 By: lumo Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
Re:Change to sync the Joomla users to CB users

Amazing, this works perfectly,
When the user registers with the standard Joomla com_registration or in my case the com_secureregistration the message received is "Success, you may now login".
When logged in he can access all appropriate areas and in Virtuemart complete a transaction, being asked for his shopper details at checkout.

Perfect, thanks tia
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login