Hi , <br><br>I have enabled the <b>who&#39;s new </b>block ,<br><br>presently this block display list of user , So i like to add the userid with username ,<br><br>so i did some changes in the template.php,,,,<br><br>I garland i got the expected out , <br>
<br><br><br>Now Am using the blumarine theme, <br><br>In this folder there is no <b>template.php</b> file,<br><br>So i create the template.php inside the bluemarine folder ,<br><br>Then i pasted the below function ,<br><br>
<br><br><br>function _phptemplate_username($object) {<br><br>  if ($object-&gt;uid &amp;&amp; $object-&gt;name) {<br>    // Shorten the name when it is too long or it will break many tables.<br>    if (drupal_strlen($object-&gt;name) &gt; 20) {<br>
      $name = drupal_substr($object-&gt;name, 0, 15) .&#39;...&#39;;<br>    }<br>    else {<br>      $name = $object-&gt;name;<br>    }<br><br>    if (user_access(&#39;access user profiles&#39;)) {<br>      $output = l($name, &#39;user/&#39;. $object-&gt;uid, array(&#39;attributes&#39; =&gt; array(&#39;title&#39; =&gt; t(&#39;View user profile.&#39;))));<br>
    }<br>    else {<br>      $output = check_plain($name);<br>    }<br>  }<br>  else if ($object-&gt;name) {<br>    // Sometimes modules display content composed by people who are<br>    // not registered members of the site (e.g. mailing list or news<br>
    // aggregator modules). This clause enables modules to display<br>    // the true author of the content.<br>    if (!empty($object-&gt;homepage)) {<br>      $output = l($object-&gt;name, $object-&gt;homepage, array(&#39;attributes&#39; =&gt; array(&#39;rel&#39; =&gt; &#39;nofollow&#39;)));<br>
    }<br>    else {<br>      $output = check_plain($object-&gt;name);<br>    }<br><br>    $output .= &#39; (&#39;. t(&#39;not verified&#39;) .&#39;)&#39;;<br>  }<br>  else {<br>    $output = check_plain(variable_get(&#39;anonymous&#39;, t(&#39;Anonymous&#39;)));<br>
  }<br>  <br>  $output .= &#39; (&#39;. $object-&gt;uid .&#39;)&#39;;<br><br>  return $output;<br>}<br><br><br>And also i tried something like<br><br>function phptemplate_username($object) {<br><br> // block of code changes<br>
}<br><br><br><br><br><br>