Drupal is up and running but how do I ...?

New registered users are getting an old user's account

I have just noticed that new users on my site are being redirected to a particular older user's account when they register.

e.g if I register as George, with a totally different e-mail address, when I login or i try to edit "My account" I am being redirected to a user called eg: Stephen

Also upon registration I get this error message



    * user warning: Duplicate entry '141' for key 1 query: user_save INSERT INTO users (name, mail, pass, init, status, created, uid) VALUES ('londonboy', 'myemailadd@hotmail.co.uk', '201bc94d84433765fb26e7e3c3e6b8f6', 'myemailadd@hotmail.co.uk', 1, 1170490600, 141) in public_html/sitename/includes/database.mysql.inc on line 121.
    * user warning: Duplicate entry '141-1' for key 1 query: user_save INSERT INTO buddylist (received, uid, buddy, timestamp) VALUES (1, 141, 1, 1170490601) in public_html/sitename/includes/database.mysql.inc on line 121.

Also the site will not go into Offline mode: When I try to set the site to offline, i get the following errors message:


* user warning: Table 'databse_drpl6.variable' doesn't exist query: db_lock_table LOCK TABLES variable WRITE in /public_html/sitename/includes/database.mysql.inc on line 121.

New Content List

How do I make a block that shows a list of recent content? I want to be able to limit how many items are listed.

node profile integration

Hi all,
I'm testing the node profile module with d5.0 and it's not clear to me how to integrate it
in the drupal user system. But default I've a "My account" link in the navigation bar that is
locked and the path /user/$id to access the user profile.

The node profile module together with the usernode module offers a nice way of defining
profiles as nodes. I've created my profile CCK type and I've associated with the usernode
menu entry "My profile".

Page Title for profile field not browsable...

Maybe I'm just missing an option here but I'm trying to make a custom field on a user profile browsable.

I've created a "Location" field as a single-line text box, made it "Public field, content shown on profile page but not used on member list pages." and added a page title, "People who live in %value".

When someone views the profiles, they click on the location and it takes them to a page saying "People who live in {location}" but there are no users listed.

The only user who ever gets listed is user 1. That user gets listed on the appropriate page.

changing the names of modules

Can one change the names of modules?

I'm using the modules in particular ways that don't match the words, particularly book and story. I'd like to change the name and description. Other content contributors on the site don't quite know what the best module to choose is, and aren't familiar with the lingo.

I've changed the descriptions of each module, but the changes only appear after you click on the module from the create content page, on that page, the standard name and description remain.

menu item based on groups

Greetings,

I have 6 groups I've setup. Some content in the site is specific to certain groups. I have a menu that shows up on a block only when a user is logged in. What I desire to put in this menu is items based on their group membership. This is a hand-written menu at the moment, since I don't know how to do this programmatically.

I want to do something rather simple (to my thinking), but am array-handling challenged and need some help.

So, I can see my group info by entering this command:

global $user;
print_r($user->og_groups);

Here's the output:

Pages

Subscribe with RSS Subscribe to RSS - Post installation