<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.technologyandsocialaction.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Technology and Social Action - Customising Drupal for TSA - Comments</title>
 <link>http://www.technologyandsocialaction.org/node/11</link>
 <description>Comments for &quot;Customising Drupal for TSA&quot;</description>
 <language>en</language>
<item>
 <title>Customising Drupal for TSA</title>
 <link>http://www.technologyandsocialaction.org/node/11</link>
 <description>&lt;p&gt;Used the taxonomy_access module to create public and private tags.  Anonymous users can see the public tagged content but only registered users can see the private content.&lt;/p&gt;
&lt;p&gt;plagiarised a quick php sql query to list all registered users and links to there profiles.&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;/p&gt;
&lt;p&gt;$header = array(&lt;br /&gt;
  array(&#039;data&#039; =&amp;gt; t(&#039;Username&#039;), &#039;field&#039; =&amp;gt; &#039;u.name&#039;, &#039;sort&#039; =&amp;gt; &#039;asc&#039;)&lt;br /&gt;
);&lt;br /&gt;
$sql = &quot;SELECT u.uid, u.name FROM {users} u WHERE u.uid &amp;gt; 1&quot;;&lt;br /&gt;
$sql .= tablesort_sql($header);&lt;br /&gt;
$result = pager_query($sql, 50);&lt;/p&gt;
&lt;p&gt;$status = array(t(&#039;blocked&#039;), t(&#039;active&#039;));&lt;br /&gt;
while ($account = db_fetch_object($result)) {&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;p&gt;&lt;a href=&quot;http://www.technologyandsocialaction.org/node/11&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.technologyandsocialaction.org/node/11#comments</comments>
 <category domain="http://www.technologyandsocialaction.org/taxonomy/term/74">drupal</category>
 <category domain="http://www.technologyandsocialaction.org/taxonomy/term/46">Fieldwork</category>
 <category domain="http://www.technologyandsocialaction.org/taxonomy/term/55">Online Environment Development</category>
 <pubDate>Fri, 04 May 2007 19:04:01 +0000</pubDate>
 <dc:creator>alan dawson</dc:creator>
 <guid isPermaLink="false">11 at http://www.technologyandsocialaction.org</guid>
</item>
</channel>
</rss>
