Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | Screen Shot 2012-12-11 at 10.12.55 PM.png | 9.34 KB | tjhart87 |
Comments
Comment #1
Scyther CreditAttribution: Scyther commentedIt should appear a "Send PM" link on the author pane if you have set the right permission for the users.
Comment #2
MrNeko CreditAttribution: MrNeko commentedGreat, seems like it's permission that I missed out. Thanks a lot.
Comment #3
Scyther CreditAttribution: Scyther commentedComment #5
tjhart87 CreditAttribution: tjhart87 commentedI 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.
Comment #6
tjhart87 CreditAttribution: tjhart87 commentedThe 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;
}
Comment #7
Scyther CreditAttribution: Scyther commentedFixed!
Comment #9
jive01 CreditAttribution: jive01 commentedHmmm. 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.
Comment #10
jive01 CreditAttribution: jive01 commented