I doing a custom module to show a message alert to certain users, but I have due with how manage and access to users tables.
I have made a tpl inside in my module and I want to check if the user logged has a value in his profile. Could someone help me with that?
I have some thing like this:
$userid = $current_user->user_id;
some text to show certain user manage with one IF
I would like to display the $user_karma variable in the header of every page but it doesn't appear to be generated outside the profile pages. Is there a way to achieve this?
Note: I've seen the following forum thread but the solution does not appear to work: http://bit.ly/WZcJpR
Many thanks in advance for any help.
Would anyone know why I can create a user using an external IP but cannot log with that said user afterwards?
If I create a user locally, I can log in locally, but not from an external connection.
I'm basing my company off of pligg. It's a awesome software, and I'm willing to learn its code-how it works.
My question. I need to create to Custom Users (selectable on registration)
Specal User Group 1- lets call it Rainbow
Special User Group 2-lets call it Glasses.
On register, people will be asked which account they wish to choose.
Rainbow will be able to create groups, post stories, and post in groups.
Glasses will NOT be able to create groups or post stories, but can vote and post comments.
How can I create these special usergroups? They should be selectable in Admin>Users.