Hello, I received the solution from houseofstrauss: http://wordpress.org/support/topic/get-the-user-id-for-pm-plugin?replies=2
Thanx @houseofstrauss
Is it also possible to integrate in buddypress the member header? The link work, but he does not detect the user from buddypress, the user I want to mail.
And is it possible in the same window e.g. in Thickbox to open Colorbox or Lightbox?
this link is:
a href=”http://mydomain.com/the_messaging_page/?pmaction=newmessage&to=<?php the_author_ID(); ?>”>PM me
the_author_ID is not correctly for Buddypress.
Thanx Greetings R.