Using CCK taxonomy fields to tag users or Tagging nodes like the profile module does

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
eggthing's picture

I love the way you can use a phrase like "People who live in %" using the regular Drupal profile module and then by clicking the link, get a list of all users who live in %. I'm trying to get the same thing happening with profiles as nodes. I've tried using CCK taxonomy fields in both the Node Profiles and the Bio Modules. It almost works, but only intermittantly. Sometimes I get the message "There are currently no posts in this category ..." other times, some users will show up and others won't - even when they have been tagged with the the term. Changes to the tags after the first publishing seem to be unpredictable and forget free-tagging entirely! It really messes things up! I tried Michelle's tutorial, but the free tagging terms didn't show up at all for me. I'm using Drupal 5.1

None of it seems to make any logical sense. I would stick with the regular profile module except:

1) It seems hard to theme
2) I'd like to be able to use views to allow users to search by taxonomy.

Is there something I'm missing? I'm using clean urls, pathauto and URLify.

or is there a way I can theme the regular Drupal profile module so that the user account page has 2 columns? I guess I can live without views.

Comments

tags in profile

timj@drupal.org.uk's picture

can you really do this? I mean use the tagging idea in relation to information in profiles, and the basic profile module at that?!

thanks

maybe you can use this...

seth97's picture

I am using Michelles excellent tutorial to have profiles as nodes: http://shellmultimedia.com/tutorials/user-profiles

She has done a userlisting with views where you can filter depending on what you have chosen in the drop-downs, for example home country. You can then link from your user profile to the userlisting like this:

<?php
print '<a href ="YOURDOMAIN/userlisting&filter0=<strong>ALL</strong>&filter1=<strong>ALL</strong>&filter2=' . $node->field_country[0]['value'] . '&filter3=<strong>ALL</strong>&filter4=<strong>ALL</strong>">' . $node->field_country[0]['value'] . '</a>';
?>

This will display the users home country as a link in the profile and when you click on it you will be directed to the userlisting. In my case drop down 2 (filter2) in the userlisting is "home country". Meaning that the user has chosen his/her home country from a drop down in the registration process.

/Seth

Profiles as nodes

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week