<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://groups.drupal.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Profiles as nodes</title>
 <link>http://groups.drupal.org/profiles-as-nodes</link>
 <description>Build a module or moduleset that uses nodes for profiles.</description>
 <language>en</language>
<item>
 <title>Drupal developer | Brandcircle</title>
 <link>http://groups.drupal.org/node/14595</link>
 <description>&lt;p&gt;We are looking for an experienced Drupal developer / Company preferably in an around Chennai to carry out a couple of Drupal development projects. The requirement is urgent.&lt;/p&gt;
&lt;p&gt;.Please contact me at &lt;a href=&quot;mailto:binutz@yahoo.com&quot;&gt;binutz@yahoo.com&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <category domain="http://groups.drupal.org/taxonomy/term/234">ajax</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1240">database</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1765">forum</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1766">phpBB</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1837">portal</category>
 <category domain="http://groups.drupal.org/taxonomy/term/6323">Prodcasting</category>
 <category domain="http://groups.drupal.org/taxonomy/term/169">profile</category>
 <group domain="http://groups.drupal.org/chennai-drupal-community">Chennai Drupal Community</group>
 <group domain="http://groups.drupal.org/drubb">DruBB</group>
 <group domain="http://groups.drupal.org/podcasting">Podcasting</group>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Fri, 05 Sep 2008 07:07:28 +0000</pubDate>
 <dc:creator>binutz</dc:creator>
 <guid isPermaLink="false">14595 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Hide field by expired author role</title>
 <link>http://groups.drupal.org/node/14365</link>
 <description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Hope you are very well.&lt;/p&gt;
&lt;p&gt;What I would like is that say when a Platinum member role expires, it hides their own specific content.&lt;/p&gt;
&lt;p&gt;This works that if you are a Platinum member, you are able to view this field.&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;user_access&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Platinum&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)): &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;div class=&amp;quot;field field-type-text field-field-amount&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;div class=&amp;quot;field-items&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&amp;quot;field-item&amp;quot;&amp;gt;Amount: &lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;field_amount&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;view&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;But I would like that if you were a Platinum member before and it is expired, not to show the fields that you were able to previously add as a Platinum member. So hide the field if you are the author of the Platinum field, but your role has expired.&lt;/p&gt;
&lt;p&gt;Is that possible please?&lt;/p&gt;
&lt;p&gt;Would most appreciate any help, and thank you.&lt;br /&gt;
Lilian&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/14365#comments</comments>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Fri, 29 Aug 2008 09:18:09 +0000</pubDate>
 <dc:creator>Liliplanet</dc:creator>
 <guid isPermaLink="false">14365 at http://groups.drupal.org</guid>
</item>
<item>
 <title>redirecting user to node ...</title>
 <link>http://groups.drupal.org/node/14319</link>
 <description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Just a little confused here and perhaps a question for Michelle :)&lt;/p&gt;
&lt;p&gt;As many links i.e &#039;add ... nodereview, flag, etc&#039; fall automatically in the links of nodes of your content types, why do we redirect the content type &#039;profile&#039; to the usernode? as in node-profile.tpl.php as follows:&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// We don&#039;t ever want to go to the nodeprofile itself. Always redirect to the user page.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;arg&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) == &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;node&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_goto&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;user/$node-&amp;gt;uid&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;301&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;then in node-usernode.tpl.php we:&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// We don&#039;t ever want to go to the usernode itself. Always redirect to the user page.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_goto&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;user/$node-&amp;gt;uid&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;301&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Should we not always be redirecting the usernode to the content type &#039;profile&#039; (nodeprofile)? The problems I&#039;ve been having is we have to manually insert the links on node-profile.tpl.php such as &#039;add to buddylist, review this node, flag this content, etc&#039; which all appear easily on any other node content type (and some it&#039;s not possible at all on the usernode).&lt;/p&gt;
&lt;p&gt;Not only that, but the title of the node can then be a cleaner SEO, and not the username, but what we want specifically.&lt;/p&gt;
&lt;p&gt;Have now reinstalled vanilla sites at least 17 times and think getting the hang of what plays with what, but it&#039;s just a niggling question in the back of my mind.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Perhaps any clarification on this .. what are the benefits of going to the usernode instead of the content type &#039;profile&#039;?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I think it&#039;s a problem that Drupal does not have a profile solution that is compatible with views and as above, we have to use redirects plus creating a double entry for firstly usernode and then the nodeprofile. Surely it could be one basic module (as the previous profile.module) but with views support and then able to add more content types as a nodeprofile.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I&#039;m totally appreciative of the amazing capabilities of Drupal, and speaking out of turn as I do not really develop, but honestly trying not to bloat entries on my website, and would most appreciate any input.&lt;/p&gt;
&lt;p&gt;Look forward to any reply.&lt;br /&gt;
Lilian&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/14319#comments</comments>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Wed, 27 Aug 2008 18:47:35 +0000</pubDate>
 <dc:creator>Liliplanet</dc:creator>
 <guid isPermaLink="false">14319 at http://groups.drupal.org</guid>
</item>
<item>
 <title>How to redirect link to /node/%  to  /user/%  ?</title>
 <link>http://groups.drupal.org/node/14179</link>
 <description>&lt;p&gt;My setup is Drupal 5.10 and the latest versions of:&lt;/p&gt;
&lt;p&gt;usernode, node profile, node family, imagefield, imagecache, Views, CCK&lt;/p&gt;
&lt;p&gt;I am using the above modules to create userprofiles, whose pictures are displayed in a gallery format using imagefield+imagecache+views. My user profiles are taken over using michelle&#039;s template.php snippet, featured in her userprofiles #1 tutorial. Every /user/% looks just like its corresponding /node/%.&lt;/p&gt;
&lt;p&gt;In views I add the field &quot;field_image_field&quot; and &quot;Node: Author Name&quot;. This creates a photo gallery, with the user&#039;s name under each image.&lt;/p&gt;
&lt;p&gt;The &quot;Node: Author Name&quot; links to /user/%. This is good.&lt;/p&gt;
&lt;p&gt;The &quot;field_image_field&quot; is set to &quot;Handler: Show first values only&quot;, and &quot;thumb as link to node&quot;. It links to /node/%. This is not good.&lt;/p&gt;
&lt;p&gt;I want it to link to /user/%. Unfortunately, in views under &quot;option&quot;, there is no way to link &quot;thumb as link to user&quot;.&lt;/p&gt;
&lt;p&gt;How do I link each image_field to the /user/% ?&lt;/p&gt;
&lt;p&gt;Please help.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/14179#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/108">CCK</category>
 <category domain="http://groups.drupal.org/taxonomy/term/886">imagecache</category>
 <category domain="http://groups.drupal.org/taxonomy/term/438">imagefield</category>
 <category domain="http://groups.drupal.org/taxonomy/term/6175">node family</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1458">node profile</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1311">usernode</category>
 <category domain="http://groups.drupal.org/taxonomy/term/100">views</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Fri, 22 Aug 2008 04:14:23 +0000</pubDate>
 <dc:creator>xenode</dc:creator>
 <guid isPermaLink="false">14179 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Permissions for Node Profile</title>
 <link>http://groups.drupal.org/node/13894</link>
 <description>&lt;p&gt;For the site we&#039;re creating we would like users to only be able to edit their Node Profile node, but no need to create one (our import tool creates a profile for them).  However, it looks like this is not possible since it seems you need permission to &quot;Create&quot; the profile in order to edit it.  Has any found a way to get around this?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/13894#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/1458">node profile</category>
 <category domain="http://groups.drupal.org/taxonomy/term/103">permission</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Mon, 11 Aug 2008 15:42:26 +0000</pubDate>
 <dc:creator>mcsnolte</dc:creator>
 <guid isPermaLink="false">13894 at http://groups.drupal.org</guid>
</item>
<item>
 <title>How do you set up user profiles?</title>
 <link>http://groups.drupal.org/node/12965</link>
 <description>&lt;p&gt;With the vast amount of profile as nodes implementations, how do you set up your own profiles on your sites?&lt;/p&gt;
&lt;p&gt;What I am really looking for are what modules are deprecated and rarely used to the more flexible and complete user profile solution.&lt;/p&gt;
&lt;p&gt;Does anyone who is serious about creating complex and dynamic profile(s) ever use profile.module and if so, why?&lt;/p&gt;
&lt;p&gt;Do you use any custom coding, and if yes then for what?&lt;/p&gt;
&lt;p&gt;I am really looking forward to creating a profile solution for one of my sites and I want to maintain a clean back end and flexibility.&lt;/p&gt;
&lt;p&gt;So here is a good time to show off your profiles and tell people how you made them?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/12965#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/572">how to</category>
 <category domain="http://groups.drupal.org/taxonomy/term/5654">profile as nodes</category>
 <category domain="http://groups.drupal.org/taxonomy/term/427">profiles</category>
 <category domain="http://groups.drupal.org/taxonomy/term/4881">user profiles</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Mon, 07 Jul 2008 06:42:28 +0000</pubDate>
 <dc:creator>specmav</dc:creator>
 <guid isPermaLink="false">12965 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Format and line breaks in multi-line text</title>
 <link>http://groups.drupal.org/node/11690</link>
 <description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I can imagine this is pretty easy, but have done an extensive search and :) cannot find a solution please ..&lt;/p&gt;
&lt;p&gt;Inserting a multi-line text in node-profile.tpl.php with field_introduction and field_detailed_profile just prints as text without line breaks or automatic links.&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;br&amp;gt;&amp;lt;div&amp;gt;&amp;lt;center&amp;gt;&amp;lt;b&amp;gt;&amp;lt;h2&amp;gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;field_introduction&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;value&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;lt;/h2&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;br&amp;gt;&amp;lt;div&amp;gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;field_detailed_profile&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;value&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Please how can I have the text format correctly with automatic links?&lt;/p&gt;
&lt;p&gt;Would most appreciate any help and thank you.&lt;br /&gt;
Lilian&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/11690#comments</comments>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Fri, 23 May 2008 10:01:43 +0000</pubDate>
 <dc:creator>Liliplanet</dc:creator>
 <guid isPermaLink="false">11690 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Profiles as nodes and GMAP</title>
 <link>http://groups.drupal.org/node/11684</link>
 <description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I&#039;m looking to switch my user profiles to nodes because it gives me more flexibility with gmap.&lt;/p&gt;
&lt;p&gt;Unless my user profiles are nodes, I can&#039;t use views to select them (or subsets of them) to display on a google map.&lt;/p&gt;
&lt;p&gt;Has anyone had any experience of creating user location maps with nodeprofile/userprofile and gmap?&lt;/p&gt;
&lt;p&gt;I&#039;ve hesitated until now to change profiles to nodes. I&#039;m not so worried about performance (low traffic site) but I don&#039;t want clashes with all my other installed modules!&lt;/p&gt;
&lt;p&gt;crossing my fingers...&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/11684#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/2">gmap</category>
 <category domain="http://groups.drupal.org/taxonomy/term/262">Google Maps</category>
 <category domain="http://groups.drupal.org/taxonomy/term/635">nodeprofile</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Fri, 23 May 2008 08:51:48 +0000</pubDate>
 <dc:creator>peashooter</dc:creator>
 <guid isPermaLink="false">11684 at http://groups.drupal.org</guid>
</item>
<item>
 <title>MySite + CCK + Panels + Users + Profiles + Account Mgmt + AdvProfile + lots more = one BRAVE new user* world</title>
 <link>http://groups.drupal.org/node/11388</link>
 <description>&lt;p&gt;There are a ton of great &amp;amp; ongoing discussions about different ways to try to bridge the gap between some of the existing methods of organizing and presenting user data. The ones that I&#039;m most aware of - and please do forgive me if I&#039;ve missed something big here - are the ongoing attempts to bring Bio and Nodeprofile together, the discussion about integrating MySite and Panels, not to mention Advprofile, which is in itself an attempt to unify a number of disparate modules. Michelle and I have been talking for a while about Advprofile in particular, but the other day, the ball really got rolling and we covered a lot of ground. I need to finish the release of Panels2, so this isn&#039;t something that I&#039;m going to be working on RIGHT away, but Michelle agreed that we should post up the transcript of our conversation so that we&#039;ve got as long &amp;amp; far a running head start as possible before we get moving.&lt;/p&gt;
&lt;p&gt;The discussion started with Michelle&#039;s pastebinning of her &#039;Advanced Profile Kit - Grand Vision,&#039; which was as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Takes over the user view tab&lt;/li&gt;
&lt;li&gt;Admin chooses what content can be on profile pages.&lt;/li&gt;
&lt;li&gt;User has panels-lite interface&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Allows choosing from admin approved layouts&lt;/li&gt;
&lt;li&gt;Allows adding content into panels&lt;/li&gt;
&lt;li&gt;Content is restricted to what the admin has marked as allowed&lt;/li&gt;
&lt;li&gt;For each panel, user can choose whether it is visible to all, buddies only*, or just themselves&lt;/li&gt;
&lt;li&gt;CCK fields/fieldgroups content has an edit button that allows user to change the underlying content&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;What about other whole panels (displays?)? Does it make sense for the user to be able to add more? Do any SN sites allow more than one &quot;page&quot; for a user profile?&lt;/li&gt;
&lt;li&gt;User should be able to upload their profile picture here instead of the account tab&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;And we were off and running from there. The numbers in my initial responses refer to the numbers in the above list.&lt;/p&gt;
&lt;h3&gt;===============&lt;br /&gt;
TRANSCRIPT FOLLOWS:&lt;/h3&gt;
&lt;p&gt;&lt;em&gt;May 03 21:15:33&lt;/em&gt; &lt;strong&gt;sdboyer-laptop&lt;/strong&gt; -  1, 2, 3.2, 3.3, 3.4, &amp;amp; 4 have all been implemented on some level somewhere before, and are known to be quite feasible &lt;em&gt;&lt;strong&gt;- Ed. note: 3.4 is complete and has been &lt;a href=&quot;http://drupal.org/node/256471#comment-854641&quot;&gt;committed for beta4&lt;/a&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;May 03 21:16:41&lt;/em&gt; &lt;strong&gt;sdboyer-laptop&lt;/strong&gt; -  a panels-lite interface isn&#039;t something that&#039;s been really worked out in a consistent way yet&lt;br /&gt;
&lt;em&gt;May 03 21:17:15&lt;/em&gt; &lt;strong&gt;sdboyer-laptop&lt;/strong&gt; -  there are some existing tools that do pieces of it, but more work on our end really ought to be done to tie those elements together and make creating a reduced panels interface easily doable&lt;br /&gt;
&lt;em&gt;May 03 21:17:43&lt;/em&gt; &lt;strong&gt;sdboyer-laptop&lt;/strong&gt; -  3.1 is actually one of the first pieces of panels code i ever wrote, and i did a crappy job of it, but i&#039;m rewriting it for beta4&lt;br /&gt;
&lt;em&gt;May 03 21:17:46&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -  Whoah, sorry, I was in another window. Catchingup&lt;br /&gt;
&lt;em&gt;May 03 21:18:13&lt;/em&gt; &lt;strong&gt;sdboyer-laptop&lt;/strong&gt; -  there&#039;ll be an api for it that works just like the other main api editing components - panels_edit(), panels_edit_layout(), panels_edit_layout_settings(), and the new one will be panels_edit_available_layouts() or something like that &lt;em&gt;&lt;strong&gt;- Ed. note: completed and &lt;a href=&quot;http://drupal.org/node/228089#comment-839195&quot;&gt;committed for beta4&lt;/a&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;May 03 21:18:30&lt;/em&gt; &lt;strong&gt;sdboyer-laptop&lt;/strong&gt; -  as with calls to the panels_context_create*() and content_type functions, it&#039;ll return an array of allowed layouts as per what&#039;s been allowed somewhere else in the panels admin interface&lt;br /&gt;
&lt;em&gt;May 03 21:20:54&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Sounds like my &quot;grand vision&quot; has a lot of potential to happen&lt;br /&gt;
&lt;em&gt;May 03 21:20:59&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     oh absolutely&lt;br /&gt;
&lt;em&gt;May 03 21:21:28&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     3.3 is implemented right now, but the interface for it sucks and it&#039;s inflexible, improving it is on my list&lt;br /&gt;
&lt;em&gt;May 03 21:21:39&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    As for how it is now, it&#039;s basicaly a panel page that overrides user/% and a bunch of minipanels / view panes&lt;br /&gt;
&lt;em&gt;May 03 21:22:13&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Bascially what I&#039;m going for is the user looks at their profile page and can customize it right there on that page&lt;br /&gt;
&lt;em&gt;May 03 21:22:27&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Rather than going to other tabs to fill in bits of it&lt;br /&gt;
&lt;em&gt;May 03 21:22:35&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    And having a static layout imposed on them&lt;br /&gt;
&lt;em&gt;May 03 21:24:58&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     sorry, four things goin on&lt;br /&gt;
&lt;em&gt;May 03 21:25:22&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yeah, that is a trick that&#039;d take some creative implementation of the UI&lt;br /&gt;
&lt;em&gt;May 03 21:25:32&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     and would be new territory for the panels API&lt;br /&gt;
&lt;em&gt;May 03 21:25:39&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     however&lt;br /&gt;
&lt;em&gt;May 03 21:25:53&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i do think that it&#039;s also the way that the panels-lite interface should be implemented&lt;br /&gt;
&lt;em&gt;May 03 21:26:08&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     lemme see, what else did i miss on the list&lt;br /&gt;
&lt;em&gt;May 03 21:26:21&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Same here :) (4 things...)&lt;br /&gt;
&lt;em&gt;May 03 21:26:23&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     3.5 is a little outside my expertise right now, i&#039;ve just been awed-at-a-distance by the cck integration&lt;br /&gt;
&lt;em&gt;May 03 21:26:41&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i&#039;ve never seen 5 done, but i absolutely can&#039;t imagine it being any problem whatsoever&lt;br /&gt;
&lt;em&gt;May 03 21:26:57&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     now, as for 4&lt;br /&gt;
&lt;em&gt;May 03 21:27:09&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    3.4 would be nice, but I can see that being a future phase&lt;br /&gt;
&lt;em&gt;May 03 21:27:11&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     my personal thinking on that is this -&lt;br /&gt;
&lt;em&gt;May 03 21:27:29&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     actually, it&#039;s probably less remote&lt;br /&gt;
&lt;em&gt;May 03 21:27:39&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     b/c it&#039;s pretty much the model of og_panels/blueprints&lt;br /&gt;
&lt;em&gt;May 03 21:27:47&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     other SN sites don&#039;t do it, true&lt;br /&gt;
&lt;em&gt;May 03 21:27:50&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     or at least, not much&lt;br /&gt;
&lt;em&gt;May 03 21:27:55&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     personally though, i think that&#039;s a mistake&lt;br /&gt;
&lt;em&gt;May 03 21:28:10&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     b/c it really does tend to lead to this &#039;mash everything onto a single page&#039; nastiness&lt;br /&gt;
&lt;em&gt;May 03 21:28:17&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I&#039;m trying to think how that would look... You wouldn&#039;t want a top level tab for each panel page, I think...&lt;br /&gt;
&lt;em&gt;May 03 21:28:24&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Maybe subtabs on the main tab?&lt;br /&gt;
&lt;em&gt;May 03 21:28:36&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Using &quot;panel page&quot; loosely here&lt;br /&gt;
&lt;em&gt;May 03 21:28:42&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     sure sure&lt;br /&gt;
&lt;em&gt;May 03 21:28:47&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i think it&#039;d depend on who&#039;s looking at it&lt;br /&gt;
&lt;em&gt;May 03 21:29:11&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Hmm... true. Non admins and non user in question woudln&#039;t see so much&lt;br /&gt;
&lt;em&gt;May 03 21:29:15&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     oh...man did i just get a crazy freakin awesome thought&lt;br /&gt;
&lt;em&gt;May 03 21:29:25&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     hold that, finish this first :)&lt;br /&gt;
&lt;em&gt;May 03 21:29:26&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Espeically if you dropped the track/contact tabs&lt;br /&gt;
&lt;em&gt;May 03 21:29:27&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Yeah?&lt;br /&gt;
&lt;em&gt;May 03 21:29:42&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yeah, i think it&#039;s gonna be a question of how the other tabs get dealt with&lt;br /&gt;
&lt;em&gt;May 03 21:30:08&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    So you&#039;d go to blah.com/user and you&#039;d see several profile tabs at the top level and nothing else unless you&#039;re that user or an admin...? That&#039;s not so bad maybe&lt;br /&gt;
&lt;em&gt;May 03 21:30:16&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     clearly it makes sense to have some separation between the pure panels/profile/blueprints/fun tabs and the other ones&lt;br /&gt;
&lt;em&gt;May 03 21:30:30&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     but yeah, i think that&#039;s part of the question&lt;br /&gt;
&lt;em&gt;May 03 21:30:34&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Or you have one tab named &quot;profile&quot; and subtabs under&lt;br /&gt;
&lt;em&gt;May 03 21:30:41&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Not sure which is better&lt;br /&gt;
&lt;em&gt;May 03 21:30:50&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     to me, this comes back to one of those central questions i know we&#039;ve talked about before&lt;br /&gt;
&lt;em&gt;May 03 21:31:18&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     which is the difference between what might show up at the user/1 page itself, as it&#039;s currently defined, versus what shows up at this profile-as-node thing instead&lt;br /&gt;
&lt;em&gt;May 03 21:31:22&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     are those the same thing?&lt;br /&gt;
&lt;em&gt;May 03 21:31:32&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     or are they different, kinda like account vs. profile?&lt;br /&gt;
&lt;em&gt;May 03 21:31:39&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Well, in advprofile&#039;s case, the actual node redirects to /user&lt;br /&gt;
&lt;em&gt;May 03 21:31:45&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    And then the node is just part of what&#039;s shown&lt;br /&gt;
&lt;em&gt;May 03 21:31:49&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     right&lt;br /&gt;
&lt;em&gt;May 03 21:31:56&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    For advprofile, the node is jsut a holder for the data&lt;br /&gt;
&lt;em&gt;May 03 21:32:13&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     and i mostly just used the url as a means of pointing out that, by default, that&#039;s NOT a node&lt;br /&gt;
&lt;em&gt;May 03 21:32:16&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Actually, the holder is irrelevent. You could use it with core profile if you wanted&lt;br /&gt;
&lt;em&gt;May 03 21:32:23&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yep yep&lt;br /&gt;
&lt;em&gt;May 03 21:32:26&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     painful though that might be :P&lt;br /&gt;
&lt;em&gt;May 03 21:32:30&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Heh, yeah&lt;br /&gt;
&lt;em&gt;May 03 21:32:40&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     my fundamental issue here is the more kinda abstract theoretical one&lt;br /&gt;
&lt;em&gt;May 03 21:32:46&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Basically, I want advprofile tied to the /user page and not care what exactly is in it&lt;br /&gt;
&lt;em&gt;May 03 21:33:16&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     do we separate accounts from profiles, when do we do it - if we do by default, do we allow reintegration? if we don&#039;t by default, do we allow integration?&lt;br /&gt;
&lt;em&gt;May 03 21:33:49&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Ok, you just lost me&lt;br /&gt;
&lt;em&gt;May 03 21:34:19&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     hrm, ok, lemme try to paint the three distinct cases that i see&lt;br /&gt;
&lt;em&gt;May 03 21:34:28&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Ok&lt;br /&gt;
&lt;em&gt;May 03 21:35:39&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     case 1 - user/1 contains more or less the same sort of stuff that we see in it now. it&#039;s primarily geared towards the user him/herself for the purposes of account management&lt;br /&gt;
&lt;em&gt;May 03 21:36:07&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     at the same time, profile/1 is one of this nifty-fangled panelized profiles we&#039;re so keen on&lt;br /&gt;
&lt;em&gt;May 03 21:36:32&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I&#039;m not too worried about the URL as long as theme_username points to the profile, not the for the user thing&lt;br /&gt;
&lt;em&gt;May 03 21:36:45&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Basically, anyone wanting to look at the user should see the profile&lt;br /&gt;
&lt;em&gt;May 03 21:36:52&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     again, just using the urls as a means of concretely differentiating between what&#039;s a node and what isn&#039;t&lt;br /&gt;
&lt;em&gt;May 03 21:37:00&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     not that that&#039;s the best way of doing it, heh&lt;br /&gt;
&lt;em&gt;May 03 21:38:07&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Well, in my &quot;vision&quot;, we&#039;re going beyond profiles as nodes... The node simply becomes a container to hold some of the profile data. The rest is gathered from other sources and brought together into a profile as page&lt;br /&gt;
&lt;em&gt;May 03 21:38:07&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     case 2 - no big-expanded profile at all, all we&#039;ve got is pretty much the user/1 page that ships with drupal now&lt;br /&gt;
&lt;em&gt;May 03 21:38:42&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i&#039;m with ya on that, but i&#039;m stuck back where i am because i see a data organization &amp;amp; consistency problem that i think needs to be resolved before a grander vision can be effectively realized&lt;br /&gt;
&lt;em&gt;May 03 21:38:43&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     all imo&lt;br /&gt;
&lt;em&gt;May 03 21:39:05&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     but you&#039;re right, i should stop calling em nodes, nodes isn&#039;t the point&lt;br /&gt;
&lt;em&gt;May 03 21:39:27&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I&#039;m pretty open on this. I&#039;ve got ideas, of course, but I&#039;m up for collaboration, too, so any input you have is welcome&lt;br /&gt;
&lt;em&gt;May 03 21:39:45&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     so yeah, case 2 is essentially similar to what we see on d.o right now&lt;br /&gt;
&lt;em&gt;May 03 21:40:00&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Yeah, case 2 is pretty icky, I think&lt;br /&gt;
&lt;em&gt;May 03 21:40:15&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     indeed, BUT...well, i&#039;ll come back to that&lt;br /&gt;
&lt;em&gt;May 03 21:40:16&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Just dumping stuff on a page like that is no good&lt;br /&gt;
&lt;em&gt;May 03 21:41:44&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     case 3 is more along the lines of what we&#039;re talking about - something that integrates the awesomeness of panelized profiles with all the stuff that used to appear and be used in the old case 2-style system&lt;br /&gt;
&lt;em&gt;May 03 21:41:48&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     and the necessary result that we&#039;ve got users able to control and lay out some, but not all, of what appears on their profile pages&lt;br /&gt;
&lt;em&gt;May 03 21:42:12&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     from a programmatic angle, i don&#039;t think these really need to look all that different&lt;br /&gt;
&lt;em&gt;May 03 21:42:39&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    That&#039;s always been a difficulty... by taking over the page, you lose what modules dump on it. Personally, though, I don&#039;t think modules dumping things on the user view tab is a good idea&lt;br /&gt;
&lt;em&gt;May 03 21:43:07&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i&#039;m talking much more about the end-product - my thinking is that any given drupal site is going to want something that falls into one of the three categories, and so the system that eventually wins here is going to be the one that can easily accomodate each of these three outcomes&lt;br /&gt;
&lt;em&gt;May 03 21:43:24&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     right, and it&#039;s often done pretty badly, but&lt;br /&gt;
&lt;em&gt;May 03 21:43:33&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     it&#039;s also not a functionality i think we can really justify eliminating&lt;br /&gt;
&lt;em&gt;May 03 21:43:52&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Well, if we just make a user profile &quot;thing&quot; which is basically a panels page but maybe something custom to this if needs be, then the site admin is free to give it whatever URL they like&lt;br /&gt;
&lt;em&gt;May 03 21:44:21&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I would set it to user/% by default but they coudl change it to profle/% or anything&lt;br /&gt;
&lt;em&gt;May 03 21:44:28&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yep&lt;br /&gt;
&lt;em&gt;May 03 21:44:42&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yeah, my hope with all this&lt;br /&gt;
&lt;em&gt;May 03 21:44:49&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     and this more or less constitutes the second part of my comments on that list&lt;br /&gt;
&lt;em&gt;May 03 21:45:31&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     is that we&#039;d see advprofile grow into something that accomodates all three of these cases, which i think you can also sort of divide along &#039;private&#039;, &#039;semi-public&#039;, and &#039;public/almost all public&#039;&lt;br /&gt;
&lt;em&gt;May 03 21:46:01&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     that advprofile would be able to handle splitting some content to one URL and the other content to another (if needed)&lt;br /&gt;
&lt;em&gt;May 03 21:46:14&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     and it would also provide a system for structuring whatever stuff other modules want to dump onto the user page&lt;br /&gt;
&lt;em&gt;May 03 21:46:23&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     so that it&#039;s dumped in a well-organized, coherent way&lt;br /&gt;
&lt;em&gt;May 03 21:46:45&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     or, in case 1, it&#039;s simply dumped into it&#039;s own separate space&lt;br /&gt;
&lt;em&gt;May 03 21:46:57&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Hmm... I dont&#039; actually know how stuff is added to the page now. If it&#039;s something that could be intercepted, that&#039;s not a bad idea to grab and redirect it&lt;br /&gt;
&lt;em&gt;May 03 21:46:58&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     ...a space which also happens to be nice and well-organized :)&lt;br /&gt;
&lt;em&gt;May 03 21:47:09&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i&#039;m glad you think so&lt;br /&gt;
&lt;em&gt;May 03 21:47:29&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    My concern is that it&#039;s just form_alter&#039;d on... Can that be grabbed?&lt;br /&gt;
&lt;em&gt;May 03 21:47:30&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     basically my only point here is that you can&#039;t really think about doing profiles effectively WITHOUT having a good system for handling everything else&lt;br /&gt;
&lt;em&gt;May 03 21:47:43&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    True. I&#039;ve been sort of glossing over that so far&lt;br /&gt;
&lt;em&gt;May 03 21:48:04&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i think you actually already cited the solution to that&lt;br /&gt;
&lt;em&gt;May 03 21:48:13&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     what we&#039;re talking about aren&#039;t nodes&lt;br /&gt;
&lt;em&gt;May 03 21:48:26&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     they also aren&#039;t whatever-the-hell-user/# is right now&lt;br /&gt;
&lt;em&gt;May 03 21:48:32&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     they&#039;re...panels!&lt;br /&gt;
&lt;em&gt;May 03 21:48:40&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     they live in that ethereal space that panels is in :)&lt;br /&gt;
&lt;em&gt;May 03 21:48:44&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     consequently&lt;br /&gt;
&lt;em&gt;May 03 21:48:45&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Hehe&lt;br /&gt;
&lt;em&gt;May 03 21:48:57&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     it&#039;s COMPLETELY under your control to determine what content does or does not appear, where it appears, etc.&lt;br /&gt;
&lt;em&gt;May 03 21:48:58&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Back to the &quot;panels profiles&quot; idea&lt;br /&gt;
&lt;em&gt;May 03 21:49:02&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yep&lt;br /&gt;
&lt;em&gt;May 03 21:49:13&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i (big surprise) think it&#039;s the right solution&lt;br /&gt;
&lt;em&gt;May 03 21:49:24&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     just that it needs to be built &amp;amp; scaled in the right way to accomodate all these possibilities transparently&lt;br /&gt;
&lt;em&gt;May 03 21:49:27&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    So we encapsulate the whole profile, including what modules want to dump on it, into our &quot;panels profile&quot; and that can be put at whatever path the admin likes&lt;br /&gt;
&lt;em&gt;May 03 21:49:37&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yep, or&lt;br /&gt;
&lt;em&gt;May 03 21:49:53&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     it can be split into two separate paths, one for the account-y info and the other for the profile-y info&lt;br /&gt;
&lt;em&gt;May 03 21:50:02&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     whatever floats their boat&lt;br /&gt;
&lt;em&gt;May 03 21:50:54&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Yeah, I think there&#039;s a line there between what is &quot;settings&quot; and what is &quot;profiles&quot;&lt;br /&gt;
&lt;em&gt;May 03 21:51:00&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     dealing with the results of the original user profile system &amp;amp; such then just reduces to a question of designing some gnarly panels content_types&lt;br /&gt;
&lt;em&gt;May 03 21:51:02&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    That&#039;s why I want to move the avatar upload&lt;br /&gt;
&lt;em&gt;May 03 21:51:06&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    That&#039;s a profile thing, I think&lt;br /&gt;
&lt;em&gt;May 03 21:51:08&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     for sure&lt;br /&gt;
&lt;em&gt;May 03 21:51:14&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     but of course, it&#039;s also subjective&lt;br /&gt;
&lt;em&gt;May 03 21:51:23&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     or rather&lt;br /&gt;
&lt;em&gt;May 03 21:51:34&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     maybe not subjective, but dependent on the context of your website&lt;br /&gt;
&lt;em&gt;May 03 21:51:40&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i can see valid arguments being made both ways&lt;br /&gt;
&lt;em&gt;May 03 21:52:11&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     which is why i think we&#039;re best off with a solution where that decision is made by the admin in setting up their profile/account system&lt;br /&gt;
&lt;em&gt;May 03 21:52:12&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    True... So it needs to be admin decidable&lt;br /&gt;
&lt;em&gt;May 03 21:52:19&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     zactamundo&lt;br /&gt;
&lt;em&gt;May 03 21:52:46&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Ideally, I&#039;d like to have a &quot;wizard&quot; install for this because people already think advprofile is too hard to set up&lt;br /&gt;
&lt;em&gt;May 03 21:52:55&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yeah, i&#039;m 200% with you on that&lt;br /&gt;
&lt;em&gt;May 03 21:53:05&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i had plenty of trouble with it the first time around&lt;br /&gt;
&lt;em&gt;May 03 21:53:18&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Given how smart you are, that&#039;s scary...&lt;br /&gt;
&lt;em&gt;May 03 21:53:20&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     not your fault, just a whole bunch of crap getting woven together&lt;br /&gt;
&lt;em&gt;May 03 21:53:29&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I&#039;ve done my best to simplify it but, yeah, there&#039;s a lot to it&lt;br /&gt;
&lt;em&gt;May 03 21:53:36&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yep, there&#039;s really just no way around it&lt;br /&gt;
&lt;em&gt;May 03 21:53:39&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I changed the name to &quot;kit&quot; to try and get that across&lt;br /&gt;
&lt;em&gt;May 03 21:53:50&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i was trying to remember if that was there before or not&lt;br /&gt;
&lt;em&gt;May 03 21:53:53&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     good call&lt;br /&gt;
&lt;em&gt;May 03 21:54:03&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     but...hopefully&lt;br /&gt;
&lt;em&gt;May 03 21:54:09&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     if we can sort out this more basic infrastructure question&lt;br /&gt;
&lt;em&gt;May 03 21:54:18&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     then a LOT of this other stuff will fall into place&lt;br /&gt;
&lt;em&gt;May 03 21:54:58&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i really am convinced that part of the reason these discussions go around and around in circles is b/c there&#039;s no widely understood delineation between what constitutes a profile and what constitutes an account page&lt;br /&gt;
&lt;em&gt;May 03 21:55:21&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I just hope this doesn&#039;t get too beyond my skills... So far, advprofile is rather simple as far as coding goes. It&#039;s mostly panels exports&lt;br /&gt;
&lt;em&gt;May 03 21:55:32&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Yeah, that is a difficulty&lt;br /&gt;
&lt;em&gt;May 03 21:56:23&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     which is why i also think that creating that distinction programmatically, and doing it in a way that explicitly highlights it being a subjective thing, will not only be good for individual folks tryin to make all this work, but also for that whole discussion&lt;br /&gt;
&lt;em&gt;May 03 21:56:46&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yeah, there is a lot to all this, i&#039;m certainly not saying you should take it all on on your own :)&lt;br /&gt;
&lt;em&gt;May 03 21:57:01&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     in my mind, there are a couple discrete parts:&lt;br /&gt;
&lt;em&gt;May 03 21:57:27&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    You&#039;re welcome to be a co-maintainer... Though you may confuse the hell out of me if you commit something since I really suck at cvs&lt;br /&gt;
&lt;em&gt;May 03 21:58:33&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i&#039;d love to :) though i should hold off for at least a little while, probably until i get panels to rc&lt;br /&gt;
&lt;em&gt;May 03 21:58:51&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     with some of this stuff, i&#039;m effectively doing work that&#039;d need to be done for this anywya&lt;br /&gt;
&lt;em&gt;May 03 21:59:02&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     anyhoo, discrete steps:&lt;br /&gt;
&lt;em&gt;May 03 21:59:03&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Well, this is all pretty long term planning, anyway&lt;br /&gt;
&lt;em&gt;May 03 21:59:14&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     1. the system for handling what is strictly &#039;profile&#039; content, significant parts of which can be drawn from the og_panels &amp;amp; og_blueprints approach&lt;br /&gt;
&lt;em&gt;May 03 21:59:29&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     though, to be certain, not all can be drawn from there&lt;br /&gt;
&lt;em&gt;May 03 21:59:41&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     actually...hmm&lt;br /&gt;
&lt;em&gt;May 03 21:59:46&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i&#039;m liking this&lt;br /&gt;
&lt;em&gt;May 03 22:00:05&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     here&#039;s a basic reality: there will ALWAYS be some kind of account page&lt;br /&gt;
&lt;em&gt;May 03 22:00:12&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     somewhere that the user can, at minimum, change their password and email address&lt;br /&gt;
&lt;em&gt;May 03 22:00:23&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Yes, definitely for basic settings&lt;br /&gt;
&lt;em&gt;May 03 22:00:26&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     right&lt;br /&gt;
&lt;em&gt;May 03 22:00:38&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     which means we&#039;re assured that we&#039;re absolutely always gonna have that one&lt;br /&gt;
&lt;em&gt;May 03 22:00:39&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    My original plan was to merge that but I&#039;ve since realized htat makes no sense&lt;br /&gt;
&lt;em&gt;May 03 22:01:18&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     which means that the thing we should start with is the account panels_page/display/thingamabobber&lt;br /&gt;
&lt;em&gt;May 03 22:01:25&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     b/c we know it&#039;ll always be there&lt;br /&gt;
&lt;em&gt;May 03 22:01:48&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     for rendering speed purposes, we can probably even just have that operate out of straight code by default, then switch to the db if customizations are needed&lt;br /&gt;
&lt;em&gt;May 03 22:02:05&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     but basically, what we&#039;re talking about there is...CONTEXT!&lt;br /&gt;
&lt;em&gt;May 03 22:02:48&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Heh&lt;br /&gt;
&lt;em&gt;May 03 22:02:52&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     the essential choice that we present to admins is whether a given user-related content_type should be given an &#039;account&#039; context or a &#039;profile&#039; context&lt;br /&gt;
&lt;em&gt;May 03 22:03:31&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     sorry, at this point my brain&#039;s spinning and i&#039;m just spouting ideas left and right&lt;/p&gt;
&lt;p&gt;&lt;em&gt;May 03 22:04:31&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     those that&#039;re given the account context will be added somewhere to the account display, and that&#039;s something only admins control&lt;br /&gt;
&lt;em&gt;May 03 22:04:34&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    No problem :)&lt;br /&gt;
&lt;em&gt;May 03 22:04:58&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     whereas things are a bunch more wide open for the content_type with profile contexts&lt;br /&gt;
&lt;em&gt;May 03 22:05:05&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I&#039;m glad to have you on this, even if I have to wait. I think advprofile will be much better with your help:)&lt;br /&gt;
&lt;em&gt;May 03 22:05:25&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i hope so :)&lt;br /&gt;
&lt;em&gt;May 03 22:05:42&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     from there...there&#039;s a subcategorization in the context&lt;br /&gt;
&lt;em&gt;May 03 22:06:00&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     either it&#039;s a &#039;strict&#039; profile item, one that&#039;s at least somewhat editable by the user&lt;br /&gt;
&lt;em&gt;May 03 22:06:03&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I wonder if we should attempt this in D5 or wait until D6? What do you think about that?&lt;br /&gt;
&lt;em&gt;May 03 22:06:15&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     two things come to mind with that&lt;br /&gt;
&lt;em&gt;May 03 22:06:43&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     one is that by the time i think the moons have really aligned on this, there&#039;s going to be a lot more work going on in d6&lt;br /&gt;
&lt;em&gt;May 03 22:07:20&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     plus there&#039;s existing work towards a unified model for users already happening in d6&lt;br /&gt;
&lt;em&gt;May 03 22:07:32&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     but, i think that most of what we&#039;re talking about here is fundamentally core-version independent&lt;br /&gt;
&lt;em&gt;May 03 22:07:39&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Yeah, the whole panels/mysite thing factors into this&lt;br /&gt;
&lt;em&gt;May 03 22:07:40&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     or at least 5 v 6 independent&lt;br /&gt;
&lt;em&gt;May 03 22:07:43&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     for sure&lt;br /&gt;
&lt;em&gt;May 03 22:07:46&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     ahh yeah&lt;br /&gt;
&lt;em&gt;May 03 22:07:48&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     for suuuure&lt;br /&gt;
&lt;em&gt;May 03 22:08:03&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     RIGHT, that&#039;s the other thing that an account is&lt;br /&gt;
&lt;em&gt;May 03 22:08:09&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I&#039;m thinking waiting for D6 on this would be best.&lt;br /&gt;
&lt;em&gt;May 03 22:08:14&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     it&#039;s a dashboard for the user&lt;br /&gt;
&lt;em&gt;May 03 22:08:16&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    advprofile 2.x ;)&lt;br /&gt;
&lt;em&gt;May 03 22:08:27&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     sounds oh-so-sweet :)&lt;br /&gt;
&lt;em&gt;May 03 22:08:38&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     my thinking, at least when it comes to how my own time is gonna work on this&lt;br /&gt;
&lt;em&gt;May 03 22:09:03&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     is that there are some big pieces that are core version independent, and i&#039;m probably going to want to work on them as the other stuff i&#039;m doing coincides with it&lt;br /&gt;
&lt;em&gt;May 03 22:09:05&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I&#039;ll probably do a straight port of whatever I have when panels D6 is ready just to keep people happy for a while and then switch gears and do the &quot;vision&quot;&lt;br /&gt;
&lt;em&gt;May 03 22:09:12&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     for sure&lt;br /&gt;
&lt;em&gt;May 03 22:09:53&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Whatever you would like to work on helps :)&lt;br /&gt;
&lt;em&gt;May 03 22:09:57&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     b/c honestly, i think a lot of this is going to be about getting our minds around this clearer way of thinking about the differences between these types of user areas&lt;br /&gt;
&lt;em&gt;May 03 22:10:06&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     ahh phone, sec&lt;br /&gt;
&lt;em&gt;May 03 22:10:41&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     ok&lt;br /&gt;
&lt;em&gt;May 03 22:10:45&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     so yeah&lt;br /&gt;
&lt;em&gt;May 03 22:10:51&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     ahh right, i was trying to make a discrete list&lt;br /&gt;
&lt;em&gt;May 03 22:11:53&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     2. creating an API, probably one largely based on an extension of panels, that enables other module developers to EASILY plug in to either the &#039;account&#039; or the &#039;profile&#039; end of the system&lt;br /&gt;
&lt;em&gt;May 03 22:12:47&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    That woudl be awesome&lt;br /&gt;
&lt;em&gt;May 03 22:13:03&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     3. being at least a little pro-active about where &amp;amp; how the data for users is getting stored, b/c i can see that turning into a hellish performance nightmare if there isn&#039;t some forethought&lt;br /&gt;
&lt;em&gt;May 03 22:13:51&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Hmm... 3 might be hard. I like keeping it agnostic as far as bio/nodeprofile/content profile/core profile/whatever&lt;br /&gt;
&lt;em&gt;May 03 22:14:05&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yeah, you&#039;re probably right&lt;br /&gt;
&lt;em&gt;May 03 22:14:12&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i don&#039;t even know exactly what i&#039;m thinking of when i say that&lt;br /&gt;
&lt;em&gt;May 03 22:15:05&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i&#039;ve just got this picture of potentially complex combinations resulting in snarled runs of nasty, hairy queries that could&#039;ve been easily made more unified by some structure at the outset&lt;br /&gt;
&lt;em&gt;May 03 22:15:24&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     but really, that&#039;ll take time no matter how we slice it&lt;br /&gt;
&lt;em&gt;May 03 22:15:48&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Heh&lt;br /&gt;
&lt;em&gt;May 03 22:16:00&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     coming in with a new API and saying that everyone oughtta use it - &quot;so rewrite all your data structures right now, guys!&quot; would TOTALLY meet with a great response&lt;br /&gt;
&lt;em&gt;May 03 22:16:08&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Panels lets you make really complex things easily. I found that out when my front page started going &lt;/strong&gt; -  30 seconds&lt;br /&gt;
&lt;em&gt;May 03 22:16:14&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    LOL&lt;br /&gt;
&lt;em&gt;May 03 22:16:21&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yep, it sure does&lt;br /&gt;
&lt;em&gt;May 03 22:16:39&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     which is why the need to work out a better caching system is going to get really big, really soon&lt;br /&gt;
&lt;em&gt;May 03 22:17:15&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     all in all, though&lt;br /&gt;
&lt;em&gt;May 03 22:17:18&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     maybe i&#039;m delusional, but&lt;br /&gt;
&lt;em&gt;May 03 22:17:21&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Yeah, definitely. Especially one that doesn&#039;t turn styles off for anon.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;strong&lt;/strong&gt; - === We broke for the night. Then, in the morning... ===&lt;strong&gt;/strong&lt;/strong&gt; -&lt;/p&gt;
&lt;p&gt;&lt;em&gt;May 04 08:35:59&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    sdboyer - One thing we didn&#039;t touch on is the notion of public profile vs &quot;home page&quot;. That&#039;s a distinction I plan on having on my site. Users will have a &quot;public face&quot; which is currently done via advprofile and a customizable &quot;home page&quot; which gathers information useful to them as a landing page for my site. This is the realm MySite covers.&lt;br /&gt;
&lt;em&gt;May 04 08:36:22&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    So there is the question of whether these are both integrated into one package or remain seperate projects&lt;br /&gt;
&lt;em&gt;May 04 08:36:40&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I actually can&#039;t stay and chat now but wanted to get that in your backscroll before I leave&lt;br /&gt;
&lt;em&gt;May 04 08:36:44&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I&#039;ll be back in a few hours.&lt;br /&gt;
&lt;em&gt;May 04 08:38:07&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yeah, that&#039;s the realization that i started to have as it regards MySite, but that&#039;s the better way to put it, the user &#039;home page&#039;&lt;br /&gt;
&lt;em&gt;May 04 08:38:33&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     my first inclination is to say that we&#039;re probably safe collapsing the idea of the &#039;account&#039; together with the &#039;home page&#039;&lt;br /&gt;
&lt;em&gt;May 04 08:39:03&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     because the real distinction that we&#039;re making here, imo, is between who this content is supposed to be facing - just the user, or the public&lt;br /&gt;
&lt;em&gt;May 04 08:40:27&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i imagine there&#039;ll be quibbling over terms with these things, but i think that if we&#039;re splitting the classification that way - information that&#039;s public-facing vs. information that&#039;s private-facing, and we build our two panel &#039;spaces&#039; accordingly, then we&#039;ll be good&lt;br /&gt;
&lt;em&gt;May 04 08:41:25&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     all we have to hard-code is that there are two panel-spaces per user, one private and one public, and then the admins choose which content goes into each&lt;br /&gt;
&lt;em&gt;May 04 08:42:07&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     ahh, didn&#039;t see that you said &#039;landing page&#039; at first, i think that&#039;s another good &amp;amp; often accurate way of thinking about the private space&lt;br /&gt;
&lt;em&gt;May 04 08:59:39&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    sdboyer - Actually back for a bit while I wait for hubby to get ready&lt;br /&gt;
&lt;em&gt;May 04 08:59:57&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    The only quibble I have with that is that MySite has an option to make your home page public&lt;br /&gt;
&lt;em&gt;May 04 09:00:11&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    So you can share your landing page with others... Do we keep that? Do people use that?&lt;br /&gt;
&lt;em&gt;May 04 09:00:19&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    That&#039;s a question that needs to be answered&lt;br /&gt;
&lt;em&gt;May 04 09:00:34&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I, personally, would be fine with dropping it but MySite isn&#039;t my baby&lt;br /&gt;
&lt;em&gt;May 04 09:08:56&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     right&lt;br /&gt;
&lt;em&gt;May 04 09:09:01&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     and that is another question&lt;br /&gt;
&lt;em&gt;May 04 09:09:18&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i think there are two ways of answering it, both of which ought not be too difficult&lt;br /&gt;
&lt;em&gt;May 04 09:09:51&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Two ways? Yes and No? :)&lt;br /&gt;
&lt;em&gt;May 04 09:10:07&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     ;)&lt;br /&gt;
&lt;em&gt;May 04 09:10:15&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     1) we allow a &#039;peek&#039;-style functionality wherein user/2 can grant, say, user/3 permission to view their landing page&lt;br /&gt;
&lt;em&gt;May 04 09:10:50&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     and 2), we allow an &#039;export/copy&#039;-style functionality wherein user/3 can, if properly permissioned, duplicate user/2&#039;s landing page onto his/her own landing page in whole or in part&lt;br /&gt;
&lt;em&gt;May 04 09:11:06&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Oooh, that&#039;s a nifty idea&lt;br /&gt;
&lt;em&gt;May 04 09:11:25&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    For permissions, I favor the all/useronly/buddies model&lt;br /&gt;
&lt;em&gt;May 04 09:11:26&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     i think that adequately covers it?&lt;br /&gt;
&lt;em&gt;May 04 09:11:30&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Same as for the publich profile&lt;br /&gt;
&lt;em&gt;May 04 09:11:44&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Granting specific UIDs sounds complicated&lt;br /&gt;
&lt;em&gt;May 04 09:12:03&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     yeah, could well be, but at the same time&lt;br /&gt;
&lt;em&gt;May 04 09:12:04&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     well&lt;br /&gt;
&lt;em&gt;May 04 09:12:09&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     maybe we think of that part as an api&lt;br /&gt;
&lt;em&gt;May 04 09:12:22&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     all buddies is really doing is selecting a group of uids&lt;br /&gt;
&lt;em&gt;May 04 09:12:25&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     it just presents a ui for it&lt;br /&gt;
&lt;em&gt;May 04 09:12:28&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    True&lt;br /&gt;
&lt;em&gt;May 04 09:12:34&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     but the case of the project maintainer stuff that merlin and i are pushing for right now&lt;br /&gt;
&lt;em&gt;May 04 09:12:39&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     so we can assign issues to each other in panels&lt;br /&gt;
&lt;em&gt;May 04 09:12:39&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    UR complicates things, too&lt;br /&gt;
&lt;em&gt;May 04 09:12:46&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    So making that a generic api would help&lt;br /&gt;
&lt;em&gt;May 04 09:12:50&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     zactly&lt;br /&gt;
&lt;em&gt;May 04 09:13:01&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     and really, that shouldn&#039;t be hard to do at all&lt;br /&gt;
&lt;em&gt;May 04 09:13:16&lt;/em&gt; &lt;strong&gt;sdboyer&lt;/strong&gt; -     and i think could qualify as one of those &#039;having some foresight about organizing data&#039; things :)&lt;br /&gt;
&lt;em&gt;May 04 09:13:28&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Yeah, we definitely need to nail this down before coding&lt;br /&gt;
&lt;em&gt;May 04 09:13:39&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    This isn&#039;t a coding by the seat of your pants module&lt;br /&gt;
&lt;em&gt;May 04 09:14:13&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    I think hubby is just about ready to go so I only have a minuite or two&lt;br /&gt;
&lt;em&gt;May 04 09:14:45&lt;/em&gt; &lt;strong&gt;Michelle&lt;/strong&gt; -    Need to get merlinofchaos and Ken pulled in on this, too&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/11388#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/5122">profiles panels mysite integration</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Sun, 11 May 2008 03:13:08 +0000</pubDate>
 <dc:creator>sdboyer</dc:creator>
 <guid isPermaLink="false">11388 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Am I doing this wrong?</title>
 <link>http://groups.drupal.org/node/11271</link>
 <description>&lt;p&gt;I decided to go with the Bio module, since I have one type of profile, and fairly simple needs.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When registering, people enter some basic contact info First Name, Last name and some info that will remain private, like phone number. &lt;/li&gt;
&lt;li&gt;When their application is accepted, they can create their &quot;profile&quot;... But I want to be able to keep the First Name and Last Name they originally entered on their registration form. &lt;/li&gt;
&lt;li&gt;I don&#039;t want them to use the &quot;title&quot; field for their name. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the future I would like to use their last names as a way to sort through their profiles... so does this mean I will not be able to use the Views integration of the Bio module? The problem is that I don&#039;t want the users who haven&#039;t been accepted into the program to create their first and last name, since this content type is only for a specific user role...&lt;/p&gt;
&lt;p&gt;Am I doing this all wrong?&lt;/p&gt;
&lt;p&gt;Thanks in advance for any advice you can offer.&lt;/p&gt;
&lt;p&gt;PS_ why does the text on this first page in the group get tinier and tinier and tinier?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/11271#comments</comments>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Wed, 07 May 2008 03:10:16 +0000</pubDate>
 <dc:creator>heather</dc:creator>
 <guid isPermaLink="false">11271 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Bio Module and LDAP Integration</title>
 <link>http://groups.drupal.org/node/11132</link>
 <description>&lt;p&gt;At work I&#039;ve got LDAP (Active Directory) integration working just fine. However, I also wanted to pull profile information (Job Title, Department, Phone Number, etc.) out of Active Directory so there&#039;s a central repository for that type of information.&lt;/p&gt;
&lt;p&gt;Of course there&#039;s the LDAPdata which can integrate data from Active Directory into Profile module fields, but I wanted some solution to make Profiles into Nodes &lt;em&gt;and&lt;/em&gt; integrating LDAP data into that node as CCK fields. I looked around for ideas or solutions to this problem but didn&#039;t find much. (Please if there&#039;s already a better solution, point me to that.)&lt;/p&gt;
&lt;p&gt;New to Drupal module development, I hacked the below code together mostly from code stolen from the LDAPdata module. I would love some feedback on the code (since this is the first custom module I&#039;ve done) as well as any ways to improve it. It&#039;s very hack-ish right now, with a lot of stuff hard coded into the module, and later on that could be pushed out into configuration pages and better tie-in to the LDAP module and CCK fields on the Bio node.&lt;/p&gt;
&lt;p&gt;Here it is, any feedback is welcome.&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$GLOBALS&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;ldapbio_ldap&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = new &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;LDAPInterface&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;/**&lt;br /&gt;* Implements hook_user()&lt;br /&gt;**/&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ldapbio_user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$op&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$category &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp; switch(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$op&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;login&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ldapbio_user_login&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;after_update&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ldapbio_user_login&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;/*************************************/&lt;/p&gt;
&lt;p&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ldapbio_user_login&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp; global &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ldap_authentified&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;br /&gt;&amp;nbsp; } &lt;/p&gt;
&lt;p&gt;&amp;nbsp; if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;_ldapbio_ldap_init&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;connect&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;user@example.com&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;password&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) { &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//here&#039;s an account that has read rights to your LDAP&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;watchdog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;user&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;User load: user $user-&amp;gt;name&#039;s data could not be read in the LDAP directory&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;WATCHDOG_WARNING&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;retrieveAttributes&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ldap_dn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; &lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array( &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//here are the fields we want to replace with LDAP data&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;title&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;displayname&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;],&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;promote&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;uid&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;uid&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;type&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;bio&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;status&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;revision&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;field_title&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0 &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;value&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;title&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])),&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;field_department&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0 &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;value&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;department&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])),&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;field_email&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0 &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;value&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strtolower&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;mail&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]))),&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;field_phone&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0 &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;value&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;telephonenumber&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])),&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;field_fax&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0 &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;value&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$entry&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;facsimiletelephonenumber&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])),&amp;nbsp;&amp;nbsp; &lt;br /&gt; );&lt;/p&gt;
&lt;p&gt; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;db_fetch_object&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;db_query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT nid FROM {bio} WHERE uid = &#039;%s&#039;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;uid&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))) { &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//this determines if there&#039;s already a bio node for this user, if so it updates it&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;nid&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;nid&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;node_submit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;node_save&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;_ldapbio_ldap_init&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp; global &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;db_fetch_object&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;db_query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT * FROM {ldapauth} WHERE status = &#039;%s&#039; AND name = &#039;%s&#039;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ldap_config&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= new &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;LDAPInterface&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setOption&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;name&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setOption&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;server&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;server&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setOption&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;port&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;port&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setOption&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;tls&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;tls&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setOption&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;encrypted&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;encrypted&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setOption&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;basedn&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;basedn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;setOption&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;user_attr&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;user_attr&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$ldapbio_ldap&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;br /&gt;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/11132#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/3410">bio</category>
 <category domain="http://groups.drupal.org/taxonomy/term/616">LDAP</category>
 <category domain="http://groups.drupal.org/taxonomy/term/2390">profiles as nodes</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Thu, 01 May 2008 01:36:24 +0000</pubDate>
 <dc:creator>dperdue@drupal.org</dc:creator>
 <guid isPermaLink="false">11132 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Use Bio now and later Profiles as Nodes</title>
 <link>http://groups.drupal.org/node/10693</link>
 <description>&lt;p&gt;I really love this new module idea. Right now i am using Drupal 5,7. So,i can&#039;t use this module. I would like to use most likely Bio module or Node profile and collect the user information using CCK fields. Is it OK ? I mean i would like to use this module after my site code upgraded to 6.X.  is that right approach ? or should i wieght ?  My guess, once if i have this module, i just need to re-assain CCK fiels to content type related to this module. Am i right ...or too much imaginations ? Please advise me&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/10693#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/427">profiles</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Mon, 14 Apr 2008 14:59:05 +0000</pubDate>
 <dc:creator>dotty@drupal.org</dc:creator>
 <guid isPermaLink="false">10693 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Insert node profile fields on a content type</title>
 <link>http://groups.drupal.org/node/9312</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Hope this message finds you very well.&lt;/p&gt;
&lt;p&gt;I would like to have company information below press releases (content type = &#039;article&#039;). In my node.tpl I have&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;field_company&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;value&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;, but it only shows up on the profile page and not underneath the article. mmm ..&lt;/p&gt;
&lt;p&gt;node.tpl is currently as follows:&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;div id=&amp;quot;node-&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;nid&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;quot; class=&amp;quot;node&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sticky&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { print &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039; sticky&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; } &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$status&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { print &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039; node-unpublished&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; } &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt; clear-block&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$page &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;): &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$picture ?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;h2&amp;gt;&amp;lt;a href=&amp;quot;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node_url ?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;quot; title=&amp;quot;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$title ?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;quot;&amp;gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$title ?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;endif; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;div class=&amp;quot;meta&amp;quot;&amp;gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$submitted&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;): &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;span class=&amp;quot;submitted&amp;quot;&amp;gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$submitted ?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;endif; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$terms&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;): &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;span class=&amp;quot;terms&amp;quot;&amp;gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$terms ?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;endif;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$content ?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$page &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;): &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Set up some variables to make the code easier to read without the confusion of which user is which. &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$loggedinuser &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$GLOBALS&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;user&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;];&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$profileuser &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;user_load&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;uid&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;uid&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;));&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;theme&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;user_picture&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$profileuser&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;field_company&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;value&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;div&amp;gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$links&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$links&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; }&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&amp;lt;/div&amp;gt;&amp;lt;?endif;?&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Please, how can I insert nodeprofile information on another content type (not profile) and not to duplicate on the profile pages?&lt;/p&gt;
&lt;p&gt;Most appreciate any help and thank you.&lt;br /&gt;
Lilian&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/9312#comments</comments>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Sun, 02 Mar 2008 11:34:28 +0000</pubDate>
 <dc:creator>Liliplanet</dc:creator>
 <guid isPermaLink="false">9312 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Replace profile.module fields with nodeprofile</title>
 <link>http://groups.drupal.org/node/9199</link>
 <description>&lt;p&gt;Hi Everyone,&lt;/p&gt;
&lt;p&gt;I&#039;m trying to install &lt;a href=&quot;http://www.drupal.org/project/phplist&quot; title=&quot;http://www.drupal.org/project/phplist&quot;&gt;http://www.drupal.org/project/phplist&lt;/a&gt;, but for it to update in the external php installation, have to replace profile.module fields (which we don&#039;t use)  with our nodeprofile fields ..&lt;/p&gt;
&lt;p&gt;Would you be so kind to point me in the right direction in replacing the fields for my phplist please?&lt;/p&gt;
&lt;p&gt;currently in the phplist.module&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;if (module_exists(&amp;#039;profile)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $form[&amp;#039;general&amp;#039;][&amp;#039;mapping&amp;#039;] = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#title&amp;#039; =&amp;gt; &amp;#039;Attribute mapping&amp;#039;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#type&amp;#039; =&amp;gt; &amp;#039;fieldset&amp;#039;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#description&amp;#039; =&amp;gt; t(&amp;#039;Use these settings to transfer first and last names from Drupal profiles to phpList.&amp;nbsp; If the phpList attributes do not already exist, they will be created.&amp;nbsp; Use the SYNCHRONISE NOW link to refresh all existing accounts.&amp;#039;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $form[&amp;#039;general&amp;#039;][&amp;#039;mapping&amp;#039;][&amp;#039;phplist_profilefirstname&amp;#039;] = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#type&amp;#039; =&amp;gt; &amp;#039;textfield&amp;#039;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#title&amp;#039; =&amp;gt; t(&amp;#039;Drupal profile field for FIRST NAME&amp;#039;),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#default_value&amp;#039; =&amp;gt; variable_get(&amp;#039;phplist_profilefirstname&amp;#039;, &amp;#039;profile_&amp;#039;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $form[&amp;#039;general&amp;#039;][&amp;#039;mapping&amp;#039;][&amp;#039;phplist_plfirstname&amp;#039;] = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#type&amp;#039; =&amp;gt; &amp;#039;textfield&amp;#039;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#title&amp;#039; =&amp;gt; t(&amp;#039;phpList FIRST NAME attribute&amp;#039;),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#default_value&amp;#039; =&amp;gt; variable_get(&amp;#039;phplist_plfirstname&amp;#039;, &amp;#039;First Name&amp;#039;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $form[&amp;#039;general&amp;#039;][&amp;#039;mapping&amp;#039;][&amp;#039;phplist_profilelastname&amp;#039;] = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#type&amp;#039; =&amp;gt; &amp;#039;textfield&amp;#039;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#title&amp;#039; =&amp;gt; t(&amp;#039;Drupal profile field for LAST NAME&amp;#039;),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#default_value&amp;#039; =&amp;gt; variable_get(&amp;#039;phplist_profilelastname&amp;#039;, &amp;#039;profile_&amp;#039;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $form[&amp;#039;general&amp;#039;][&amp;#039;mapping&amp;#039;][&amp;#039;phplist_pllastname&amp;#039;] = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#type&amp;#039; =&amp;gt; &amp;#039;textfield&amp;#039;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#title&amp;#039; =&amp;gt; t(&amp;#039;phpList LAST NAME attribute&amp;#039;),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#default_value&amp;#039; =&amp;gt; variable_get(&amp;#039;phplist_pllastname&amp;#039;, &amp;#039;Last Name&amp;#039;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $form[&amp;#039;general&amp;#039;][&amp;#039;mapping&amp;#039;][&amp;#039;phplist_roles&amp;#039;] = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#type&amp;#039; =&amp;gt; &amp;#039;checkbox&amp;#039;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#title&amp;#039; =&amp;gt; t(&amp;#039;Map non-system roles&amp;#039;),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#options&amp;#039; =&amp;gt; array(0, 1),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#default_value&amp;#039; =&amp;gt; variable_get(&amp;#039;phplist_roles&amp;#039;, 0),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;#description&amp;#039; =&amp;gt; t(&amp;#039;Create phpList attributes for any custom user roles&amp;#039;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;br /&gt;&amp;nbsp; }&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;and would like the following fields please :&lt;/p&gt;
&lt;p&gt;In my Drupal database fields are as follows:&lt;/p&gt;
&lt;p&gt;Table: drupal_content_type_profile&lt;/p&gt;
&lt;p&gt;field_name_value&lt;br /&gt;
field_lastname_value&lt;br /&gt;
field_company_value&lt;br /&gt;
field_telephone_value&lt;br /&gt;
field_profession_value&lt;br /&gt;
field_country_value&lt;br /&gt;
etc.&lt;/p&gt;
&lt;p&gt;Would &lt;i&gt;most most&lt;/i&gt; appreciate your help on this.&lt;/p&gt;
&lt;p&gt;Lilian&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/9199#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/945">phplist</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Tue, 26 Feb 2008 13:09:14 +0000</pubDate>
 <dc:creator>Liliplanet</dc:creator>
 <guid isPermaLink="false">9199 at http://groups.drupal.org</guid>
</item>
<item>
 <title>How to create a view based on &#039;wanted&#039; fields in a node profile?</title>
 <link>http://groups.drupal.org/node/9102</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I hope I&#039;m asking this in the right place. What I am trying to achieve is a swapping type site for housing e.g User A has 2 bedrooms, wants to swap for a 1 bedroom. I think I am right in using nodeprofile to make all users nodes and have added cck fields for what they have and what they want, but cannot for the life of me work out how to a create user-specific View which shows a list other user&#039;s profiles(nodeprofile) matched to the user&#039;s &#039;wanted&#039; field. I suppose you could liken the functionality I&#039;m looking for to something like a &#039;matching&#039; or dating site.&lt;/p&gt;
&lt;p&gt;I&#039;ve looked at a range of sources but just can&#039;t seem to see anything that explains in non-coder terms how to make the views specific to the user/nodeprofile... this is only my third attempt at a drupal site after 2 very basic experiments so i hope this isn&#039;t too dumb a question. Would appreciate just a nudge or pointer to make sure i&#039;m going in the right direction. Thanks for any help/ideas on this.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/9102#comments</comments>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Fri, 22 Feb 2008 11:53:31 +0000</pubDate>
 <dc:creator>luke76@drupal.org</dc:creator>
 <guid isPermaLink="false">9102 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Need advice on select from list by role</title>
 <link>http://groups.drupal.org/node/9013</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&#039;m trying to get my head around this and somehow just don&#039;t get it.&lt;/p&gt;
&lt;p&gt;I have 2 roles, the normal &#039;authenticated&#039; and a &#039;platinum&#039; profile.&lt;/p&gt;
&lt;p&gt;Both fill in the authenticated profile where they can select 1 listing (select list) in the business directory from a content type called &#039;directory&#039;.&lt;/p&gt;
&lt;p&gt;I would like the &#039;platinum role&#039; to be able to choose 3 listings for the directory. How would I do that please?&lt;/p&gt;
&lt;p&gt;Do I create a separate content type just for platinum users where they can choose their 3 listings in the directory or is there perhaps an easier way to do this?&lt;/p&gt;
&lt;p&gt;Look so forward to any reply and thank you.&lt;br /&gt;
Lilian&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/9013#comments</comments>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Tue, 19 Feb 2008 08:08:54 +0000</pubDate>
 <dc:creator>Liliplanet</dc:creator>
 <guid isPermaLink="false">9013 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Different Profile Details per Subscribed Group</title>
 <link>http://groups.drupal.org/node/8887</link>
 <description>&lt;p&gt;Hello all,&lt;br /&gt;
I am investigating Drupal and (probably) the Organic Groups to create a website.&lt;br /&gt;
What I would like to achieve is the following:&lt;br /&gt;
A person can be a member of different groups. I would like to make it possible that each user has a different profile (or different profile details visible) for each group.&lt;/p&gt;
&lt;p&gt;It is meant for online collaboration for different projects (wiki, calender, etc); for each project a project member can have a different role. (For instance, for a project it could be interesting that the CEO is not visible as the CEO, to create less hierarchy; and for another project it could be vice-versa).&lt;br /&gt;
This would, for instance, also mean that a user has different profile images for different groups.&lt;br /&gt;
Next to this it would mean that when a user subscribes to a new group, the user is required to make a custom group profile.&lt;br /&gt;
Do you think this is possible, and would it require a lot of work / coding / modifying? What modules would I need?&lt;/p&gt;
&lt;p&gt;All help is welcome,&lt;br /&gt;
thanks in advance&lt;/p&gt;
&lt;p&gt;btw, I am pretty new to the Drupal communty, and after browsing the drupal site and information for some days, I am under the impression that this is the appropriate place for posting this question. If this is not the case please let me know&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/8887#comments</comments>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Thu, 14 Feb 2008 14:31:58 +0000</pubDate>
 <dc:creator>avdp@drupal.org</dc:creator>
 <guid isPermaLink="false">8887 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Profile Advice</title>
 <link>http://groups.drupal.org/node/8678</link>
 <description>&lt;p&gt;Like many, I&#039;m creating a networking site.  While I&#039;m new to Drupal, I&#039;ve worked with PHP, HTML, CSS, etc.  My question is what is the best way to allow a user to add multiple items to their profile?  For example we&#039;d like our users to add their work history to their profile.  Since we can&#039;t tell how many jobs someone&#039;s had, we&#039;d like the option for adding, editing and deleting each job individually (similar to LinkedIn).  So do we create CCK modules to enter the information?  Use nodes for each job and add a view for them on the profile page?  We&#039;re currently looking at User Profile, but that can change.  Any feedback would be helpful.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
ChadH&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/8678#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/427">profiles</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Tue, 05 Feb 2008 20:10:19 +0000</pubDate>
 <dc:creator>ChadH</dc:creator>
 <guid isPermaLink="false">8678 at http://groups.drupal.org</guid>
</item>
<item>
 <title>What is the difference between Node Profile and Usernode?</title>
 <link>http://groups.drupal.org/node/8482</link>
 <description>&lt;p&gt;What is the difference between Node Profile and Usernode modules?&lt;/p&gt;
&lt;p&gt;1) &lt;a href=&quot;http://drupal.org/project/nodeprofile&quot;&gt;Node Profile&lt;/a&gt;. According to its documentation: &lt;i&gt;&quot;This module builds user profiles as nodes, which opens the opportunity to use the Content Construction Kit (CCK)&quot;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;2) &lt;a href=&quot;http://drupal.org/project/usernode&quot;&gt;Usernode&lt;/a&gt;. Again the documentation says: &lt;i&gt;&quot;This module tries to make users nodes.&quot;&lt;/i&gt; And later on: &lt;i&gt;&quot;Use views to build user listings or even searches&quot;&lt;/i&gt; and &lt;i&gt;&quot;Makes building of nodeprofiles easier&quot;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;It seems they both can help one create nodes out of user profiles and enhance them using CCK. Also they both integrate with Views. But isn&#039;t that already available just having a clean Drupal + CCK? Well the profiles will not be real nodes then but the new fields are still visible in the Views configurations.&lt;/p&gt;
&lt;p&gt;Can somebody shed some light on this topic please?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/8482#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/1458">node profile</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1311">usernode</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Mon, 28 Jan 2008 06:06:07 +0000</pubDate>
 <dc:creator>kirilius</dc:creator>
 <guid isPermaLink="false">8482 at http://groups.drupal.org</guid>
</item>
<item>
 <title>content profile 6.x prototype</title>
 <link>http://groups.drupal.org/node/8436</link>
 <description>&lt;p&gt;I&#039;m creating a new thread for continuing the discussion of &lt;a href=&quot;http://groups.drupal.org/node/8261&quot; title=&quot;http://groups.drupal.org/node/8261&quot;&gt;http://groups.drupal.org/node/8261&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I&#039;ve just done some work and implemented a first prototype of the possible base module (variant 2) --&amp;gt; &lt;a href=&quot;http://drupal.org/project/content_profile&quot; title=&quot;http://drupal.org/project/content_profile&quot;&gt;http://drupal.org/project/content_profile&lt;/a&gt; -&amp;gt; Test it!&lt;/p&gt;
&lt;p&gt;This prototype allows to mark multiple content types as content profile, but tries to keep the code clean and simple. As nodeprofile had already the multiple content type stuff, I found it easier to start with it, and so I took the ongoing nodeprofile 6.x port, scraped features out of it, simplified the code and made it more extensible.&lt;/p&gt;
&lt;p&gt;To make using the module the first time easier, the module comes with a default content type named &quot;profile&quot;. It provides some settings per content type, which can be edited in a separate tab that appears when one edits a content type (like the CCK tabs) and supports displaying the content profile on the user page with different display styles.&lt;br /&gt;
The module comes with a set of useful functions, which should be useful for possible extension modules. Furthermore the settings system of the base module is extensible, so other modules can use it too.&lt;/p&gt;
&lt;p&gt;It&#039;s a prototype, so don&#039;t expect it to be ready. (Although most things seems to already work.)&lt;/p&gt;
&lt;p&gt;What needs work:&lt;br /&gt;
 * Validation for only one profile node for site admins is missing&lt;br /&gt;
 * This validation should work with translated nodes, this is also TODO.&lt;br /&gt;
 * integrate missing features from bio module, e.g. link from the node to the user page&lt;br /&gt;
 * and probably the themed output of the module on the user page.&lt;/p&gt;
&lt;p&gt;I&#039;m not good in theming, so the display stuff is basically the stuff from nodeprofile ported to 6.x, which I don&#039;t really like myself. So someone with more theming skills could be very helpful here.&lt;/p&gt;
&lt;p&gt;So what do you think about? Should we build the base module out of this?&lt;br /&gt;
Should we go with the name &quot;content profile&quot;?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/8436#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/427">profiles</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Fri, 25 Jan 2008 11:16:57 +0000</pubDate>
 <dc:creator>fago@drupal.org</dc:creator>
 <guid isPermaLink="false">8436 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Link from Views to User</title>
 <link>http://groups.drupal.org/node/8302</link>
 <description>&lt;p&gt;Hi Everyone,&lt;/p&gt;
&lt;p&gt;I&#039;m using Nodeprofile and Usernode, and all beautiful.&lt;/p&gt;
&lt;p&gt;When I create tables in Views with the fields, and have tried :&lt;/p&gt;
&lt;p&gt;link to node&lt;br /&gt;
node: view link&lt;br /&gt;
etc&lt;/p&gt;
&lt;p&gt;it all &lt;b&gt;links to the node url&lt;/b&gt;  .... &lt;b&gt;not the user/ url&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;I&#039;ve tried bio and advanced profile, all with the same results.&lt;/p&gt;
&lt;p&gt;Please, how do I link from a table in Views (CCK content) to the user profile and not the node.&lt;/p&gt;
&lt;p&gt;Would most appreciate any reply.&lt;/p&gt;
&lt;p&gt;Lilian&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/profiles-as-nodes&quot;&gt;Profiles as nodes&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/8302#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/1311">usernode</category>
 <group domain="http://groups.drupal.org/profiles-as-nodes">Profiles as nodes</group>
 <pubDate>Sat, 19 Jan 2008 10:16:21 +0000</pubDate>
 <dc:creator>Liliplanet</dc:creator>
 <guid isPermaLink="false">8302 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Profiles as nodes in d6</title>
 <link>http://groups.drupal.org/node/8261</link>
 <description>&lt;p&gt;Recently I contacted the bio maintainers -  I wondered if they are interested in joining efforts with drupal 6.x.&lt;/p&gt;
&lt;p&gt;We &#039;d like to get input from the community, so I post my ideas here:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    I&#039;ve already a nodeprofile port in preparation - the nodefamily
    dependency will be dropped. The subform element stays as I like this as
    a clean abstraction for integration node forms elsewhere and so allows
    one to easily integration into the user registration form or the user
    edit categories.

    I can think of three different ways to join forces:

    1. completely merge the modules

    This would be ok for me, as long as we go with the subform element
    module. Don&#039;t know, if this would be ok for you?

    + a more widespread, probably better maintained and stable module
    + extensions can rely on one module + API
    - users can&#039;t use choose their favourite solution any more
    - installation requires one additonial module to drop in (subform
    element)


    or
    2. build upon a small &quot;core module&quot;
    We could provide a small &quot;profile as nodes&quot; core module, which allows
    basically to select node types, which are profiles. No further
    dependencies!
    Perhaps we could start with bio 1.0 for that.

    Then we could build extension modules that build upon that, but use the
    same base. E.g. different user registration integration,  views
    integration, the user edit categories integration, nodefamily and so on.

    + Modules can build upon this!


    or 3.
    keep separate modules, but invent a common way, how node types are
    marked as profile, e.g. a common variable. So profile as nodes
    extensions can build on top of that and work with both too. 

    + More simple installation, e.g. just drop in bio or nodeprofile and it
    works with all its features.
    - There would be no API on which the extensions can rely. So they would
    have to invent basic but useful functions again and again..


    or 4.
    don&#039;t join forces
&lt;/code&gt;&lt;/p