Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4343388
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:44:47+00:00 2026-05-21T11:44:47+00:00

Working an a Drupal 6 site that I inherited, and I’m having a bit

  • 0

Working an a Drupal 6 site that I inherited, and I’m having a bit of a problem understanding Content Profile-based profiles. The site admin had users they wanted to delete, and did so, but the profiles are still showing up in a field drop-down that references profiles.

I look on the Content tab to try and remove them that way, they’re not listed, but I can query them manually in the database, and they’re there. Other profiles (from existing users) are visible on the Content tab.

I hesitate deleting them from the DB directly, since I don’t know what dependencies those records might have.

Bottom line, I need to have a repeatable way of cleaning up those profiles that have no users associated with them.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T11:44:48+00:00Added an answer on May 21, 2026 at 11:44 am

    Try creating a view with view type set to User. In the Relationships section, add a relationship for Profile. Set the relationship to be required. In the fields section, add the nid and title fields from the related Profile. The view should now be pulling in all users and outputting the nid and title of any related Profiles. That should eliminate Profiles that are not attached to existing users. Finally, edit your Node Reference field to use the view you just created to generate the listed items.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're building a very content rich site in Drupal. It's my first time working
While working on an existing Drupal site I've noticed a strange glitch that causes
I am working on a drupal site that has a form submit ajax call
I am working on a Drupal 6 site that some CSS issues. I have
I am working on a Drupal based site and notice there are a lot
Im working on a drupal site that uses jQtouch (for iphone), and im trying
I'm working on a Drupal mobile site which is powered by the Mobile module.
I'm working on a Drupal 5.x book-selling site and using the Views Fast Search
I am working on setting up a Drupal based website and wanted to replace
I'm working at a company that uses Drupal 6 to host documentation for it's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.