Is there any code I need to implement to get the "Send PM" button to appear on author pane? I installed the latest version of privatemsg ( 7.13) and nothing appears there.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Scyther’s picture

It should appear a "Send PM" link on the author pane if you have set the right permission for the users.

MrNeko’s picture

Great, seems like it's permission that I missed out. Thanks a lot.

Scyther’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

tjhart87’s picture

I might need to open this up in it's own issue ... but the image associated with the send PM link isn't showing on my site. Also If I'd like to change the image to something else what would be the best way to do that? Screenshot of link attached.

I reopened the issue but please let me know if I should move this elsewhere and I will close it back up.

tjhart87’s picture

Status: Closed (fixed) » Active

The CSS is incorrect for both relationship and private message. In the CSS File the div is called ".author-priatemsg-icon" when it should just be ".author-privatemsg" ... same for ".author-relationship-add & remove" it should be ".author-user-relationship" to have one generic link or use some kind of CSS attribute matching:

.author-user-relationship a[href*="request/"] {
background: transparent url(images/buddy-add.png) no-repeat;
padding-left: 26px;
height: 20px;
width: 100px;
display: block;
}

.author-user-relationship a[href*="/remove?"] {
background: transparent url(images/buddy-remove.png) no-repeat;
padding-left: 26px;
height: 20px;
width: 100px;
display: block;
}

Scyther’s picture

Version: 7.x-2.0-beta1 » 7.x-2.x-dev
Status: Active » Fixed

Fixed!

Status: Fixed » Closed (fixed)

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

jive01’s picture

Issue summary: View changes

Hmmm. it's not showing up for me at all.... using privatemsg1.4 . What specific permission setting allows this? I am able to see private message links elsewhere, just not in the author pane.

jive01’s picture

Status: Closed (fixed) » Needs review

  • Scyther committed abc41d0 on 8.x-3.x
    Issue #1650334 by tjhart87: Incorrect CSS for some icons.