ghanja.be
NederlandsEnglish
Contact Us

Ghanja
Welkom, Gast
Alstublieft Inloggen of Registreren.    Wachtwoord verloren?
Re:Custom Usergroups (1 bezoeker) (1) Gast
Ga naar onderkant Reageer Favoriet: 0
TOPIC: Re:Custom Usergroups
#302
steve (Gebruiker)
Fresh Boarder
Berichten: 2
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Custom Usergroups 7 maanden, 2 weken geleden Karma: 0  
Hello,
Great component!
Works well for adding users.

In my situation I'm having to add a user to a new usergroup that needs to be created before the user is added. I would like to add the usergroup to the type that is selected.
For example...
New username is "Example User"
Usertype is "Author"
Child user group "Example User" created with "Author" as the parent.

Any thoughts about how I would go about implementing this?

I also have to create menu items, articles, modules, and etc... when the user is added but I can take care of that later.

The first thing I need to do is create the user and new usergroup properly. I was having trouble figuring out where two fields in the usergroup table where being created from or I'd be able to just do an sql insert. "lft" and "rgt" are the fields and it seemed like the other group entries were updated somehow when a new group is added.

Anyways....I hope you can help!

Thanks!

- Steve
 
 
Laatste Wijziging: 07/10/2011 08:14 Door steve.
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#304
Webmaster (Admin)
Administrator
Berichten: 194
graph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Custom Usergroups 7 maanden, 2 weken geleden Karma: 1  
Hey Steve,
I dont know exactly what those columns (lft and rgt )do for joomla. I never tried this stuff before. So i cant really help you. But it must be possible to do what you explained to me.

Maybe this can help you: http://docs.joomla.org/Custom_user_groups
Kim
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#305
steve (Gebruiker)
Fresh Boarder
Berichten: 2
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Re:Custom Usergroups 7 maanden, 2 weken geleden Karma: 0  
Ok, thanks anyways for the work you've done.

I should be able to figure something out. I was just hoping for some tips since I've been given a 4 day deadline.

I think they have something to do with ordering of the groups but I'm not sure. I'll have to look into it more. I've already got some sql logs to look at.

If I can get everything working the way I want, It'll handle all the automated tasks I need executed for adding a new user, user specific group, menu items, articles, modules, and etc...

It'd be nice if there was a simple J1.6 class I could use for this but oh well...

- Steve
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
Ga naar bovenkant Reageer
Powered by FireBoardbezorg de laatste berichten direct op de desktop
Ghanja Alternatief - Community voor een open wereld!
   
Copyright © 2005 - 2012 Ghanja.be - Sitemap