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
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

a.luiz.n - May 18, 2009 - 19:24

I wonder this as well....

I really need the username to be linked to their account, any help? any code?

#2

sun - May 18, 2009 - 22:24
Status:active» fixed

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

a.luiz.n - May 19, 2009 - 18:10

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

a.luiz.n - May 19, 2009 - 19:38

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

System Message - June 2, 2009 - 19:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.