I have installed Drupal 4.6.6 on my computer as a test deployment. The installation went smoothly and I got the system up and running. The only problem is when I tried to create a user account - it appears that I need to run a mail daemon!
Since I would like to set this up in the intranet and our e-mail is through an external ISP, it is possible to create user accounts without a mail daemon (server) running here? I am quite happy to go into MySQL and modify the tables by hand if that's what it takes.
I have been using fckeditor, but I don't really like it so I want to use Nvu to make content for nodes. I tried just copying and pasting the code but it doesn't work. Is there a template or something that I can use or do to make it come out pretty in drupal? Thanks
i'm just starting to teach myself php, and am trying to learn through this project i set myself. i only know a few php functions, and am still confused about how to use objects (as opposed to arrays or strings), so any tips would really help me learn.
i want a page that lists all the users of the site in categories according to a selection they've made on a custom profile field. i'm thinking category1
User1
user2
user3 category2
User4
user5
user6
<?php
error_reporting(E_ALL);
ini_set('display_errors', true);
ini_set('html_errors', false);
///queries:
$result = db_query("SELECT * from {users} as u,{profile_values} as p where u.uid=p.uid ORDER BY u.name ASC");
$categories_query = db_query("SELECT options FROM {profile_fields} WHERE fid = '2'");
$user_category_query = db_query("SELECT value FROM {profile_values} WHERE fid = '2'");
$user_category = db_fetch_array($user_category_query);
////make list of categories and turn it into an array:
$categories = db_fetch_array($categories_query);
$categories = implode('', $categories);
$categories = explode('.', $categories);
////print the name of the category
foreach ($categories as $categories_value) {
print "<strong>$categories_value</strong><br>";
////loop through every user
while ($user_info = db_fetch_object($result)) {
////check to see if this user is in this category
if ($user_category['1'] == $category_value) {
////print out the user's info
if($user_info->uid){
$output .= '<img src="/'.$user_info->picture.'"> ';
$output .= $user_info->mail;
$output .= ' ';
$output .= $user_info->name;
$output .= '<br>';
}
print $output;
} //if $user_category['1'] == $category_value
} //while loop through every user
} //foreach $categories
?>
Hello! I've been playing around with the installation of Drupal 4.6, got it running perfectly on my server thanks to Fantastico, but I have a few stupid questions hopefully someone could answer for me?
- How can I use new themes? I downloaded a new theme from the themes section of this site and extracted the folder as well as uploaded it into the themes directory... But the Admin panel doesn't acknowledge it.