Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
An other problem is given by User Visits. How to change the pre set for User Visits. I do not like big pictures in User Visits and my code in the template.php file seems to be not working:
/**
* kleine
*/
function user_visits($account, $timestamp = NULL, $referer = NULL) {
$output = '
'."\n";
$output .= theme('imagecache', 'user_image_default', $account->picture, $alt, $title, $attributes);
$output .= '
$output .= theme('imagecache', 'user_image_default', $account->picture, $alt, $title, $attributes);
$output .= '
'. theme('username', $account) .'
'."\n";
if ($timestamp) {
$output .= $timestamp ? '
'. t('!time ago', array('!time' => format_interval(time() - $timestamp))) .'
'."\n" : '';
$output .= $referer ? '
'. t('Referer !link', array('!link' => l($referer, $referer))) .'
'."\n" : '';
}
$output .= '
'."\n";
return $output;
}
What can I do?