What does "User link to profile or guestbook" do?
Barrett - April 27, 2009 - 18:33
| Project: | Guestbook |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Can someone tell me what the "User link to profile or guestbook" setting on the guestbook configuration form is supposed to do? I had expected that setting it to guestbook would cause links on usernames (e.g., in the Who's Online block) to point to that user's guestbook, but I'm not seeing that.
Thanks.

#1
I wonder this as well....
I really need the username to be linked to their account, any help? any code?
#2
This setting only affects the "Visit user's guestbook" resp. "Visist user's profile" link at the beginning of the output of user guestbooks.
To link all usernames to their guestbooks, you might implement a theme override function for theme_username().
#3
implementing theme_username() wont I be changing the output for all the places set to the user name?
another thing: i use realname module... does it change anything?
#4
I implemented mytheme_guestbook_user_picture() function and got it by changing the output at the end:
return "<a href=\"/user/".$account->uid."\">".$output."</a>";is there a way to call imagefield user's picture as well in this function?
#5
Automatically closed -- issue fixed for 2 weeks with no activity.