It is currently Sat Jul 04, 2009 6:15 pm (All times are UTC )

 




Post new topic Reply to topic  [ 4 posts ] 
Author Message
Posted: Tue Sep 13, 2005 5:35 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Aug 28, 2005 1:19 pm
Posts: 476
Location: Noel, MO
If you want all of your users to be registered into a specific group automatically, go to your components/com_smf_registration/smf_registration.php file.

beneath the function saveRegistration( $option )
you will see this code:

Quote:
mosMakeHtmlSafe($row);

$row->id = 0;
$row->usertype = '';
$row->gid = $acl->get_group_id('Registered','ARO');

if ($mosConfig_useractivation=="1") {
$row->activation = md5( mosMakePassword() );
$row->block = "1";


change the Registered to whatever group you wish your users to be registered as. A good example would be if you want to allow all of your registered users to submit content, such as Authors. Simply change Registered to Author and it is so! :D

Hope it helps!

_________________
As soon as you make something idiot proof, Nature makes better idiots!!!

If you want to know what "coulda", "shoulda", and "woulda" gone wrong, send it my way! I have a natural ability of mucking things up!


Last edited by kenmcd on Sat Oct 29, 2005 12:14 pm, edited 1 time in total.

Top
   
 
Posted: Thu Nov 10, 2005 10:34 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Aug 24, 2005 3:35 pm
Posts: 264
Location: Cape Town, South Africa
Hi Cronlin,
Great tip!! Dont spose you have an idea of how this could be applied to the JoomlaHacks SMF bridge? I initially thought it was the same, but then remembered that it was the other bridge that i had used before that had the SMF Registration component.

I really need to have the user level changed to author on registration, but not sure how to achieve this :'(

Any thoughts / ideas / suggestions, would be much appreciated!!

Regards,
Chris

_________________
http://www.joomlajunkie.com - Bringing Color to the Joomla! Community.
http://www.webmonkeys.co.za - Joomla Design and Development Services.


Top
   
 
Posted: Sun Nov 13, 2005 12:52 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Aug 28, 2005 1:19 pm
Posts: 476
Location: Noel, MO
mambostoked wrote:
Hi Cronlin,
Great tip!! Dont spose you have an idea of how this could be applied to the JoomlaHacks SMF bridge? I initially thought it was the same, but then remembered that it was the other bridge that i had used before that had the SMF Registration component.

I really need to have the user level changed to author on registration, but not sure how to achieve this :'(

Any thoughts / ideas / suggestions, would be much appreciated!!

Regards,
Chris


well, i believe it would be the same basic concept. Just find the registration component and then find where it will say users - registered and change the registered to whatever you prefer...

_________________
As soon as you make something idiot proof, Nature makes better idiots!!!

If you want to know what "coulda", "shoulda", and "woulda" gone wrong, send it my way! I have a natural ability of mucking things up!


Top
   
 
Posted: Fri Jul 14, 2006 2:24 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Aug 22, 2005 5:43 pm
Posts: 758
Location: Minneapolis, MN
In Orstio's bridge, I think there is an easier way to do this now (as of 1.1.14 and above).  Go in to the "Groups" tab of the SMF bridge configuration, and change all of the groups that say "Registered" to "Author".  Looking at the code, I think it sets your Mambo users level based on those settings (specifically, the Newbie one).

_________________
http://www.technoadvice.com


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group