Is there a way to deny access to users that are NOT from a certain domain? the email masking seems to only allow denying people that ARE from a certain domain. I would like to be able to select something like DENY: !=%domain.com
A lot of sites do not allow children to have accounts. I know many of them just lie, LOL, but not all do, and I'd like to be able to restrict membership. Is there a way to hook that into the registration page -- I've made birthday mandataory (but not public) -- could I then filter on it somehow and send those who are too young to an "I'm sorry, you cannot register at this site" page? I'm going to make a static page explaining COPPA restriction. TIA ~ Heidi
Is there a way to configure a Drupal site so that it uses a different GMT offset (i.e. time zone) than the computer it is on? My situation: I administer a Drupal site whose users are located in the Eastern U.S. time zone (GMT-5), but it is hosted on a server in California (GMT-8). That causes problems for both timestamps and things like the Event module, where it is necessary to use California times when posting an event in Virginia! Of course individual users could set their time zones to California, but that is not an ideal workaround.
What all do I need to have if I wanted to make a users only page?
I think I need to do some includes.. or.. something, but as to what I have no clue. All I've figured out is
if ($user->uid) {
?
OMG THX 4 RGSTRN!!1one
?php
} else {
?
html
RGSTR PLZKTHXU
/html
?php
(took out < and >)
but..
the problem is I don't know what I need to put before it so that it includes some of the drupal code to actually tell if it is a logged in user or not. any suggestions?