guestbook_user() needs a small tweak to allow better theming and prevent conflict with other modules that are similarly not properly coded (like audio module).

Change this:

$items[] = array(
            'title' => t('Guestbook'),
            'value' => $link,
            'class' => 'guestbook');

To:

$items['guestbook'] = array(
            'title' => t('Guestbook'),
            'value' => $link,
            'class' => 'guestbook');
CommentFileSizeAuthor
#1 guestbook_user_profile.patch838 bytesmoonray

Comments

moonray’s picture

StatusFileSize
new838 bytes

Here's a proper patch.

sun’s picture

Priority: Critical » Normal
sun’s picture

Status: Needs review » Postponed (maintainer needs more info)

Hm. I can't see any differences in the output of a user profile after applying your patch. Please elaborate on your findings.

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Without further information I'm obliged to close this issue.