Login Form






Lost Password?
No account yet? Register
Products
Jun
16
How can i make my Users to be AUTHORS upon registration
PDF
Ever wanted that your users become authors rightafter registering , whithout needing that you make them manually?
There's a neat and simple Corepatch that you can do. 

 
here is how :
 
  *CAUTION* this is  Joomla Corehack! This is tested with Joomla 1.0.0 -1.0.9, but upon update you must redo this procedure. (In future versions this could not work - this is a Corehack golden rule)
 
1. Locate the following file: SERVER_ROOT/components/com_registration/registration.php
2. open it in your favorite editor (mine is definetly notepad2
3.  Search for the string : 'Registered',
4. Replace it with: 'Author',
5. Take a short breath in and save Laughing
6. all new users will be authors!
 
PS: the whole line looks like this:
   Before:     $row->gid = $acl->get_group_id( 'Registered', 'ARO' ); 
   After:        $row->gid = $acl->get_group_id( 'Author', 'ARO' ); 
 
Comments
Add New Search
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
< Prev