What can be the reason for the Private Message icon not showing on profile pages?

The module is installed as well as Advanced Profile

Comments

cbettano’s picture

I to am having the same problem. The private message icon was there when i first install ADV Profile. Im not sure what i did for it not to show up now. What controls the placement of those icons.

Thanks

michelle’s picture

  if (module_exists('privatemsg') &&
      user_access('access private messages') && 
      (isset($author->privatemsg_allow) ? $profileuser->privatemsg_allow : 1)) { 
    $vars['privatemsg_icon'] =
      l(' ' .theme_image(path_to_theme() . '/' . $themedir . 
           "/images/user_comment.png", 'Private Message', 'Private Message', NULL, TRUE), 
           'privatemsg/new/'. $authorid,NULL,NULL,NULL,NULL,TRUE); 
  } 

Criteria:

1) privatemsg module enabled
2) User has access to send private messages
3) The profile user is allowing private messages
4) /YOURTHEME/advprofile/images/user_comment.png exists

I need to fix #4 so it doesn't stop working if the icon is missing.

Michelle

antenne’s picture

well my ste has all of those criteria but the icon doesn't shows up

www.eigenkleding.nl

michelle’s picture

Status: Active » Postponed (maintainer needs more info)

There's not really any more I can say without more info. If all the criteria are met, it should be printing. So something is wrong somewhere but I can't even begin to guess what it might be without some more clues.

Michelle

michelle’s picture

Status: Postponed (maintainer needs more info) » Fixed

No more info and it works for me. Marking fixed.

Michelle

antenne’s picture

don't really know what more info to give..
I just installed it as descriped

still doesnt work for me but not that big deal

Anonymous’s picture

Status: Fixed » Closed (fixed)

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