Home arrow Forum Authors and registered members in syncronisation..
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 11:59:33 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.1.x (Moderators: -Wolverine, kai920)
| | | |-+  Authors and registered members in syncronisation..
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Authors and registered members in syncronisation..  (Read 1482 times)
insightrob
QA / Testers
Joomla Pro
*****

Karma: +1/-0
Offline Offline

Posts: 86



View Profile WWW
Authors and registered members in syncronisation..
« on: June 09, 2006, 08:12:24 AM »

On my site I want my registered members to become Authors upon registration so that everyone can submit content from the start.

I edited my components/com_registration/registration.php file to do this, and it should otherwise work. However since I need my registration to be SMF based via the bridge I think this change is being ignored during syncronisation to Joomla.

Here is the change I made to registration.php

Code:
$row->gid = $acl->get_group_id( 'Registered', 'ARO' );

To

Code:
$row->gid = $acl->get_group_id( 'Author', 'ARO' );

Any ideas if this is why its not working?
Logged

-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Authors and registered members in syncronisation..
« Reply #1 on: June 09, 2006, 12:14:03 PM »

Yes, synchronizing from SMF to Joomla is straight SQL and since SMF has no concept of a Author group there is no way to make something out of nothing.  The SQL does not try to insert anything into gid so the default from the DB is what is inserted.  You could modify the DB table to set the default for gid to Author.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
insightrob
QA / Testers
Joomla Pro
*****

Karma: +1/-0
Offline Offline

Posts: 86



View Profile WWW
Re: Authors and registered members in syncronisation..
« Reply #2 on: June 09, 2006, 05:58:30 PM »

I figured as much.

So far I've tried playing with  jos_core_acl_aro_groups, switching the group ID of Registered and Author around. No luck yet! Just fails to syncronise until I change it back.
Logged

-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Authors and registered members in syncronisation..
« Reply #3 on: June 09, 2006, 10:10:14 PM »

go into phpmyadmin
click on jos_users table
click on the structure tab
checkmark Field usertype
then with selected click edit(the pencil)
In the Default text box put 'Author' without the quotes.
then click save

Then try the sync
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
insightrob
QA / Testers
Joomla Pro
*****

Karma: +1/-0
Offline Offline

Posts: 86



View Profile WWW
Re: Authors and registered members in syncronisation..
« Reply #4 on: June 12, 2006, 11:17:52 AM »

No joy mate unfortunately, users still get sync'd as Registered.

I'm thinking of actually finding a way to remove the Author group entirely and just give registered users the same level of access that it had.
Logged

Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login