Does anyone know where Drupal stores, in the Database, the role of a user? It's not in the users table, and I can't seem to find it. I can find where it defines the role, defines the role's permissions, but I can't find where it defines what Role a certain User is. Anyone know? Thanks!
...
I have a mysql database of users that can login to my site and view content. I would like to block a couple of directories from certain users. What is the best way to do this.
Currently when a user logs in a cookie is created with their customer id and the customer is is used to display their content.
How would I block entire directori...
i have a miniblog application, with a class named New(refering to a new post), having a foreign key to an user(who has posted the entry).
above i have a method that displays all the posts from all the users.
I'd like to show to the logged in user, only his posts
How can i do it?
Thanks in advance!
def paginate(request):
paginator = N...
I currently have a website that allows my visitors to login via a simple script i've pasted together and wrote. Currently I only use sessions to keep visitors logged in. Are there any advantages to adding cookies to my website to store user logged in status?
Or is there a better way altogether?
using PHP
...
Hi,
Basically, I'm looking for an easy way (module) to add a private/public option to any kind of content I may published in Drupal (blog entry, image, etc.). So that when I'm logged in, I can see everything. But when an anonymous user visit the site, he will only see the public stuff. It's way to manage a kind of front window/back-stor...
I have MOSS server and users authorization is going trough AD.
I want to programmaticaly get some current user information, like e-mail, phome number.
I made the following steps:
1) create dll with [assembly: AllowPartiallyTrustedCallers]
2) i have the class PhoneBookCL that inherits System.Web.UI.WebControls.WebParts.WebPart
and I try...
Hi,
I'm working on the web app which will be hosted on the client's server.
There are various restrictions/security measures in place and I'm concerned that these can be "hacked" because the client will have a direct access to the ASP.Net user database through the SSMS.
I can think of few ways to stop the user from doing this, but I...
Hi,
I would like to post the stream from my website to facebook user wall by using facebook API..
I have created the facebook application
posted the stream by application admin ..
passed the parameter which required to this function..
$this->facebook->api_client->stream_publish($comments,'From:blinkbee.com',$action_link,$f_user_id,$...
I'm looking for a way of mapping a uid (unique number representing a system user) to a user name using Perl.
Please don't suggest greping /etc/passwd :)
Edit
As a clarification, I wasn't looking for a solution that involved reading /etc/passwd explicitly. I realize that under the hood any solution would end up doing this, but I was se...
I would like to know how we can create different "user Roles" for different users in PHP.
example:
Administrator can create all types of users, add, view, manipulate data, delete managers, viewers, and workers, etc
Managers can only create, workers and viewers, can add and view data,
workers can't create new users, but can only add da...
I'm currently developing a small Database Management System for a local company. How would you go about explaining how the system you have designed to a client? If they are non-technical and have no understanding of programming, how would you go about showing what the system will do and how it will do it? I guess some sort of visual repr...
i want to enable openid user login my site.
which is best framework to do it ?
thanks
...
I have a Web User Control I created for authentication. The web user control is inside the box below. Clicking any button (1 or 2) below works correct as it goes to the correct c# button click event in the code behind file. If I press enter on fields a or b it goes to the correct callback (button1's) if I press enter on field c it still ...
Ok, so I've got an andoid phone with a bunch of icons up the top, looks like app notifications go on the left, system icons go on the right.
Most of the system icons seem reasonably intuitive, service, 3g, wireless etc.
I've recently gotten a new one that looks like a phone being tilted / shaken and have absolutely no idea what it mean...
Hi everyone,
I have a system where I need to login three user types: customers, companies, and vendors from one login form on the home page.
I have created one User table that works according to AuthLogic's example app at http://github.com/binarylogic/authlogic_example. I have added a field called "User Type" that currently contains ei...
Hey there,
I am having an issue with the Kohana 3 Auth module.
Both the Auth and ORM modules are enabled in the bootstrap.php , the sql tables are installed and the DB connection is fine. I have put in application/config/database.php and sessions.php as well as auth.php.
When I try to create new users doing this -
$user = ORM::fac...
i am trying to build a virtual comunity, and i have a profile page, and a personal page. In the profile page, one can see only the posts of one user(the user whos profile is checked), in the personal page one can see his posts, plus all the posts he has subscribed to (just like in Facebook)
it's a little confusing for me how i can link ...
I'd like to list the currently logged on users for my Weblogic domain
Failing that, I'd like to know how many users are logged on.
Ideally by using the admin console, or a script if I must.
...
Can I do this through the Admin console? Or do I need a script? If the latter, some hints about how to approach this would be appreciated.
...
Hello,
focused items == selected items but selected items != focused items.
Have you ever wondered about that?
Do you specially style the backcolor of a focused/selected item ?
I ask this question because a user has an enabled button because some customer items are
selected. The user is wondering now "why the heck can I delete this ...