Home

Primary links

  • top o the deck
  • Drupal for Beginners
  • about
  • links
  • give me some sugar

Drupal stuff

  • EDAM
  • STARDOM
  • Question Bank
  • Drupal musings
  • Drupal tips
Home Easy Drupal Admin Manual (EDAM)

Key stuff on this site

Easy Drupal Admin Manual (EDAM)

SEO, Traffic and Revenue: Drupalace's Online Manual (STARDOM)

Drupal for Beginners

Subscribe to posts by RSS or email

Subscribe to Drupal Ace by RSS feed RSS feed 

Subscribe to Drupal Ace by Email

Donate towards my web hosting bill! Get a great host!

Share and save

Share/Save

Random piece of content

!How to hide a node title?

Manuals on this site

  • Easy Drupal Admin Manual (EDAM)
    • Welcome to Your Site
    • First Steps: Please Read!
      • Understanding These Instructions
      • Important Terminology!
      • Best Practices for Site Admins
    • Super Quick Guide (for the experienced and the brave)
    • Logging In
    • Your Administrator Tools
    • Setting Site Basics
      • Setting Site Information
      • Configuring Your Theme
    • Creating Content
      • Node Types
      • Create a Page Node
      • Create a Story Node
      • Create a Blog Entry Node
      • Making Images and Other Files Available
      • Using Text and Image Editors
    • Organizing Your Content
      • Terms, Vocabularies, and Taxonomy: "Tagging" Your Content
        • Taxonomy Suggestions
      • Menus, Links, and Paths: Navigating the Site
        • Content Paths and URLs
        • Creating Links
        • Working with Menus: Administration Form (Drupal 6)
        • Working with Menus: Administration Form (Drupal 5)
        • Creating Menu Items on the Fly
        • Placing Menus on Your Pages
      • Placing Content on pages
        • Creating a page from a Single Node
        • Creating a page from a List of Nodes
        • Setting the Front Page
      • Working with Blocks
    • Maintenance Stuff
      • Maintenance and Construction Notices
    • Other Fun Things
      • Changing Color of Garland Theme
      • Free Aliases!
  • SEO, Traffic and Revenue: Drupalace's Online Manual (STARDOM)
    • Set a Clear Goal
    • Make a Good Site
      • Put out the Welcome Mat
      • Make Great Content
      • Build a Great Brand
      • Make Navigation Easy
      • Tune Site Performance
    • Drive Traffic
      • Promote your Site
      • Get Found with SEO
    • Build a Community
      • Build an Offsite Community
    • Monitor and Improve
    • One-Page Checklist
    • Drupal and the Blogging Starter Checklist
      • Drupal and the Blogging Starter Checklist, Part 1
      • Drupal and the Blogging Starter Checklist, Part 2
      • Drupal and the Blogging Starter Checklist, Part 3
      • Drupal and the Blogging Starter Checklist, Part 4
      • Drupal and the Blogging Starter Checklist, Part 5
      • Drupal and the Blogging Starter Checklist, Part 6
      • Drupal and the Blogging Starter Checklist, Part 7

Recent comments

  • It worked

    adding $GLOBALS['tempUser'] = $user; worked but I find it worth noting that I had to delete...

  • very good document...

    very good documentation for beginners!!!!!! thanks!!

  • del penitential 62

    strike out abject
    eliminate penitent 5

  • Chat

    Thank you a lot about very beneficial to my work was very useful thank you

  • Drupal Resources f...

    I would start learning from the "Diving In" section above. That links to the good beginners'...

more

SEO & Traffic!

STARDOM

Other Fun Things

  • resource
  • admin
  • Drupal

Tips, tricks, and techniques.

Share/Save
  • Changing Color of Garland Theme
  • Free Aliases!
‹ Maintenance and Construction Notices up Changing Color of Garland Theme ›
  • Printer-friendly version
  • Quote
Unknown Drupaloid's picture

xcvc

Submitted by Unknown Drupaloid (not verified) on Tue, 2009-07-21 16:58.

xcvc

  • reply
  • quote
Unknown Drupaloid's picture

Search behaving funny when profile access turned off

Submitted by Unknown Drupaloid (not verified) on Thu, 2009-07-16 09:43.

I have turned off the access for Profile pages as that is not needed. BUT this makes searching of contents by the user IMPOSSIBLE. I am also using the core SEARCH module as it seems to be the least resource intensive and suitable for shared hosts. Now how to tell SEARCH to list the contents created by a poster or show the list of contents in which his name appears (as author) . With profile access turned off SEARCH strangely gives Access denied messages and fails to show a list like I said above.

  • reply
  • quote
Drupalace's picture

Searching content by user

Submitted by Drupalace on Fri, 2009-07-24 14:13.

Sorry for the delay, but I wanted to check into this before replying.

I don't know whether I'll be able to help here. I currently have one site in my control with multiple users. Access for profile pages was already turned off for all but the top administrators. (I assume you're talking about the "access user profiles" permissions at admin/user/permissions.)

Enabling the above permissions and running a search for a user name as an anon user, the search returns pages in which that user's name appears, but not user profile pages. (I can, of course, access user profile pages directly via the appropriate paths, with the above permissions enabled.) 

Those are the same results when I run the search as an admin user (no surprise, as I've now enabled equal permissions for both). Either way, they're the same results I would expect without any "access user profiles" permissions enabled.

In your case, what result do you get when you DO have access permissions for user profiles enabled? Does search for a user name return a list of content in which the user's name appears, plus the user profile page? Or are you somehow getting a listing of content submitted by that user? I don't get anything like that, so I wonder what you are getting.

In any case, if you are getting the search results you want when you keep access for profile pages enabled, is there a reason why you don't keep access enabled?

Also, is there a way to get the results you want using Views? I'm sure a View can return a list of all content submitted by a user. (Anyone out there have experience building such a View?)

Finally, I think I saw that you posted this question to the drupal.org forums too, but I didn't subscribe to the thread. I'd like to follow it; can you post the thread URL here? 

  • reply
  • quote

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><br><p>
  • You may quote other posts using [quote] tags.
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options


Relevant Content

The Drupal Ace logo has dealt these content suggestions from the deck.

  • Working with Menus: Administration Form (Drupal 6)
  • Working with Menus: Administration Form (Drupal 5)
  • Creating Links
  • Taxonomy Suggestions
  • Menus, Links, and Paths: Navigating the Site
  • Creating a page from a List of Nodes
  • Creating a page from a Single Node

Learn Drupal, hands-on

Get the beginner-friendly ebook that teaches community site building via a live case study.

Drupal 6 Ultimate Community Site Guide

Read the review

Drupal mini tip

Site visitors seeing your ugly error messages on the screen (along with details of your Drupal installation path)? Once your site goes from dev to launch, you probably want to have errors recorded in the log but not splashed across the screen. Head to the handy Error Reporting settings found at admin/settings/error-reporting. 

It's a deal!

Dreamhost dealsDrupal Ace presides over his domain, proudly ensconced in his DreamHost eyrie. Won't you join me?

Promo code deal!

Just enter the code 49ER when you register for an account, and save $49 off the already-low price. No strings!

Read my hosting service review

Powered by Drupal, an open source content management system

Copyright 2007 and forever after. Made with Drupal, of course. On OS X, of course. Served up by DreamHost. DreamHost

RoopleTheme