I had problems installing Bio - it wouldn't run the install, which meant it wouldn't create the table, which meant it threw errors until I created the table manually after which I ran update again and it threw new errors about the table already existing...

An even bigger problem is it is going mad in my Views filters/criteria - it's prepending Bio to _ALL_ my existing views fields/parameters/criters eg:

<option value="bio.title">Biography: Node: Title</option><option value="bio.nid">Biography: Node: ID</option><option value="bio.created">Biography: Node: Created Time</option><option value="bio.changed">Biography: Node: Updated Time</option><option value="bio.link">Biography: Node: Link to node</option><option value="bio.body">Biography: Node: Body</option><option value="bio.view">Biography: Node: View link</option><option value="bio.edit">Biography: Node: Edit link</option><option value="bio.delete">Biography: Node: Delete link</option><option value="bio_node_comment_statistics.last_comment_timestamp">Biography: Comment: Last Comment Time</option><option value="bio_node_comment_statistics.last_comment_name">Biography: Comment: Last Comment Author</option><option value="bio_node_comment_statistics.comment_count">Biography: Comment: Count</option><option value="bio_node_comment_statistics.last_changed">Biography: Comment: Last Changed Time</option><option value="bio_profile_adsense_client_id.value">Biography: Profile: Google Adsense Client ID</option><option value="bio_profile_favouriteauthors.value">Biography: Profile: Favourite Authors</option><option value="bio_profile_hobbies.value">Biography: Profile: Hobbies/Interest</option><option value="bio_profile_adsense_id.value">Biography: Profile: Adsense Id</option><option value="bio_profile_country.value">Biography: Profile: Country</option><option value="bio_profile_gender.value">Biography: Profile: Gender</option><option value="bio_profile_display_name.value">Biography: Profile: Contact Name</option><option value="bio_profile_birthday.value">Biography: Profile: Birthday</option><option value="bio_node_counter.totalcount">Biography: Node: Total Hits</option><option value="bio_node_counter.daycount">Biography: Node: Recent Hits</option><option value="bio_node_counter.timestamp">Biography: Node: Last Hit Time</option><option value="bio_term_node.name">Biography: Taxonomy: All Terms</option><option value="bio_term_data.name">Biography: Taxonomy: Term</option><option value="bio_term_data.description">Biography: Taxonomy: Term Description</option><option value="bio_file_revisions.fid">Biography: File: Id</option><option value="bio_files.all_files">Biography: File: All files</option><option value="bio_files.filename">Biography: File: Name</option><option value="bio_files.filepath">Biography: File: Path</option><option value="bio_files.filesize">Biography: File: Size</option><option value="bio_files.filemime">Biography: File: Mime type</option><option value="bio_ads.adstatus">Biography: Ad: Status</option><option value="bio_ads.adtype">Biography: Ad: Type</option><option value="bio_ads.redirect">Biography: Ad: Redirect URL</option><option value="bio_ads.activated">Biography: Ad: Activated</option><option value="bio_ads.expired">Biography: Ad: Expired</option><option value="bio_ads.quantity">Biography: Ad: Quantity</option><option value="bio_ad_owners.uid">Biography: Ad: Owner</option><option value="bio_ad_clicks.uid">Biography: Ad: Click User Id</option><option value="bio_ad_clicks.hostname">Biography: Ad: Click IP Address</option><option value="bio_ad_clicks.url">Biography: Ad: Click URL</option><option value="bio_ad_clicks.timestamp">Biography: Ad: Click Timestamp</option><option value="bio_ad_image.url">Biography: Image Ad: Click-through URL</option><option value="bio_ad_image.aid">Biography: Image Ad: Image</option><option value="bio_ad_text.url">Biography: Text Ad: Click-through URL</option><option value="bio_ad_text.aid">Biography: Text Ad: Advertisement</option><option value="bio_aggregation_item.original_author">Biography: Aggregation: original author</option><option value="bio_aggregation_item.url">Biography: Aggregation: URL</option><option value="bio_aggregation_feed_parent_node.title">Biography: Aggregation: Parent Feed Title</option> .... etc

Comments

jerdavis’s picture

Has anyone else seen this issue? Did you try running update.php?

dww’s picture

Yes, I've seen it prepending "Profile: " to all my view fields, filters, and sorts (my Bio node type is called "Profile" -- sorry for the potential confusion with core profiles, but that's not what I'm talking about)...

I'm using bio 5.x-1.2, views 5.x-1.6, and CCK 5.x-1.x-dev (sorry -- but given that this is almost certainly a bug in bio and its interaction with views, I don't see that the CCK version will matter). ;)

csc4’s picture

Yes, I did run update.php - that's when I got the install errors, then I ran update again and then I had the views problem.

costinius’s picture

This is what the README.txt says:

The bio module now boasts integration with the views module. This integration takes two forms:

2. Duplicating existing views tables, fields, filters, and sorts: Bio "steals" the views definitions of every other module and makes them its own. For example, the node module exposes the "Node: Title" field and filters. Bio steals these and creates the "Bio: Node: Title". Using these fields you can create a view that returns a list of blog nodes with the author's bio node title. Don't worry, it sounds complicated at first, but you'll get the hang of it in no time.

I personally don't get where it can help me, but maybe it will help others.

csc4’s picture

Thanks @constinius - never saw that.

I guess that's the answer then - by design.

I don't get how it's at all helpful - and it turns using views into a nightmare so I think I'll have to reluctantly give bio a miss.

jscheel’s picture

Status: Active » Postponed (maintainer needs more info)

The views integration allows you to use the bio as a central point for pulling other information, kind of like usernode (in a way). It does come across as a mess, but it can be helpful. There probably needs to be some more organization to it though :P

@csc4, I'm not sure why you got an error when you installed bio. Can you give anymore information on the exact process by which you got to the error? I'll go ahead and mark this as "active, needs more info".

nrasmus’s picture

I've run into this too. I have to say--wouldn't a "bio" content type filter in views accomplish the same thing without adding a bazillion fields to the fields/arguments/filters/sorts dropdowns? Or maybe I'm missing something.

allie micka’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

This feature allows you to build a view that contains both node's items and any applicable fields from the author's Bio node. For example, you could add "Profile: Phone Number" to a list of task nodes.

If you have worked with relationships in Drupal 6's Views 2, you have experienced a much more elegant version of this behavior. For Drupal 5, these features in Bio are quite handy.