Joo!BB - Making Community
Joo!BB - Joomla! Bulletin Board
Board Index
>
Programming - Architecture & Code
Automatic User Synchronisation
Welcome, Guest

Message
You have no permission to reply to this topic.
7 Replies

by pino on 05/19/2008 13:19
Post Automatic User Synchronisation

Hi!

I use JooBB! with Joomla 1.52. I have a Problem... My users should register with the Standard Joomla-Register-Form.

Now I must synchronizise the JooBB!-Forum everytime a user register.

Is there a possibility to Autosynchronizise erverytime a User register? Or to include the Rules to the Standard Joomla-Register-From?

Sorry for my bad English...Speaks anyone german here?

Thank you very much! pino


pino | Joined Board: 05/18/2008 23:35 | Last Visit: 05/19/2008 15:19
Joo!BB - Newie
Registered
Offline Member is Offline
View all users posts


by ObiHann on 07/10/2008 18:08
Question Re: Automatic User Synchronisation

I have the exact same problemSad Smile. What is going on?


ObiHann | Joined Board: 07/08/2008 21:12 | Last Visit: 07/10/2008 18:48
Joo!BB - Newie
Registered
Posts: 7
Offline Member is Offline
View all users posts


by Robbie on 07/10/2008 18:59
Post Re: Automatic User Synchronisation

Hi,

I will try to find a quick solution. Maybe there's a possibility to catch the event "register" in Joomla! If not, it will be nice someone have a little bit time to program a registration module?! Smile

Ich werde versuchen eine schnelle Lösung zu finden. Vielleicht bietet Joomla ein entsprechendes Ereignis an. Falls nicht, wäre es schön, wenn sich ein Programmierer findet der ein Registrationsmodul schreibt?! Smile

Regards / Gruß
Robbie

PS: @pino: Your english is good! Dein English ist doch gut!


Robbie | Joined Board: 12/14/2007 10:38 | Last Visit: 05/19/2012 08:29
Joo!BB - Master
Administrator
Posts: 785
Offline Member is Offline
View all users posts

Last Edit on 07/10/2008 19:02


by Chris B on 07/15/2008 18:45
Post Re: Automatic User Synchronisation

I've been trying to get the registration form in joomla to update joobb records but i cant seem to do it Sad Smile

I think this is without doubt the most important issue Joobb faces. Would it not be possible for joobb to actually use joomla's user table for the login info and just have a seperate table for the profile info?


Chris B | Joined Board: 07/05/2008 04:26 | Last Visit: 10/28/2010 23:06
Joo!BB - Hero
Registered
Posts: 197
Offline Member is Offline
View all users posts

Chris Badley


by James on 08/07/2008 20:57
Post Re: Automatic User Synchronisation

I've posted this fix around these forums. Check it out.

"My question is, how can this be done automatically so I don't have to manually do this for every user that registers for my site."

Took me a bit to figure this out.

If you currently have joobb installed and your host/server has phpMyadmin its a really easy fix.

Log into PHPMyAdmin -> Databases -> (yourdatabase) -> Table: jos_joobb_users

Go ahead and choose the second button "Structure".

Under the "role" entry choose the pencil icon for "change".

Under default it is probably set to "0", change that to "1".

0 = none
1 = registered

This will put all your new joomla users in the joobb "registered" role.

This seems to be a bug with the install when creating the jos_joobb_users table because in the config_user_settings_defaults.xml file it looks to be set correct.


James | Joined Board: 07/31/2008 23:54 | Last Visit: 08/18/2008 19:21
Joo!BB - Newie
Registered
Posts: 7
Offline Member is Offline
View all users posts


by James on 08/07/2008 22:45
Post Re: Automatic User Synchronisation

Actually I found it here in the install.joobb.sql.


CREATE TABLE IF NOT EXISTS `#__joobb_users` (
`id` int(11) NOT NULL default '0',
`posts` mediumint(Cool unsigned NOT NULL default '0',
`role` tinyint(1) NOT NULL default '0',
`system_emails` tinyint(1) unsigned NOT NULL default '0',
`pm_enabled` tinyint(1) NOT NULL default '1',
`privmsg_new` int(11) NOT NULL default '0',
`privmsg_unread` int(11) NOT NULL default '0',
`show_email` tinyint(1) NOT NULL default '0',
`show_online_state` tinyint(1) NOT NULL default '1',
`notify_on_reply` tinyint(1) NOT NULL default '1',
`notify_on_pm` tinyint(1) NOT NULL default '0',
`enable_bbcode` tinyint(1) NOT NULL default '1',
`enable_smilies` tinyint(1) NOT NULL default '1',
`avatar_image` varchar(100) NOT NULL default '',
`time_zone` decimal(5,2) NOT NULL default '0.00',
`time_format` varchar(25) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM CHARACTER SET `utf8`;

This should be changed to 1 in future releases.


James | Joined Board: 07/31/2008 23:54 | Last Visit: 08/18/2008 19:21
Joo!BB - Newie
Registered
Posts: 7
Offline Member is Offline
View all users posts


by Chris B on 08/28/2008 12:10
Post Re: Automatic User Synchronisation

NO WAY!! I cant believe it was that simple


Chris B | Joined Board: 07/05/2008 04:26 | Last Visit: 10/28/2010 23:06
Joo!BB - Hero
Registered
Posts: 197
Offline Member is Offline
View all users posts

Chris Badley


by Robbie on 09/05/2008 18:39
Post Re: Automatic User Synchronisation

hi,

in the release 0.7.0 "role" is set to "1" by default.

regards,
robbie


Robbie | Joined Board: 12/14/2007 10:38 | Last Visit: 05/19/2012 08:29
Joo!BB - Master
Administrator
Posts: 785
Offline Member is Offline
View all users posts


7 Replies

Joo!BB - Joomla! Bulletin Board

Copyright © 2007 - 2012 Joo!BB Project - All rights reserved.