Looking For Something?

[wps-mail-to-user]

Purpose

Allow users to send messages to a user directly.

Displays a button on the page that when clicked, opens a “div” (popup area) into which a message can be entered, and sent to the user on which the button is being displayed. Generally only used on profile pages, unless the user_id option is set. Could also be used in a Text/HTML widget as only displays when applicable (i.e. a user ID can be worked out, or user_id is set).

Screenshot_33

Availability

Provided in the Core Plugin.

Customising

You can use the global shortcode settings via WPS Pro->Shortcodes in the admin dashboard, or add them to the shortcode as options.

Example

[wps-mail-to-user]

Options

The following (which shows default values and an example of using the shortcode option) can be set via the admin dashboard (WPS Pro->Shortcodes) or added as options to the shortcode in your WordPress page, post or widget.

Optional CSS class for button (class=””)
Only show to friends (friends_only=”1″)
Label for button (label=”Message %s”)
Action (popup=”0″)
User ID for recipient (user_id=””)
When using a popup…
Send button label (popup_label=”Send”)
Cancel button label (popup_cancel_label=”Cancel”)
Width of popup (width=”400″)
Height of popup (height=”270″)
Sidebar