Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

wp_mail to XMPP

Disgrifiad

This plugin sends XMPP notifications to the users who are registered and set their own Jabber ID. Emails to them are able to be suppressed.

This plugin provides a function to be added ‘wp_mail’ hook in wp_mail() located in wp-includes/pluggable.php.

This plugin requires XMPP Enabled plugin.

Filter Hook

The function xmpp_sender() in this plugin has two filter hooks.

Using ‘abort_xmpp_sender’ hook allow abort all processing. For example, you want to send email independent of user or JID when the subject has a particular keyword. You may add a function which checks the subject and returns true if keyword is found.

Using ail_to_jid’ hook allow set/unset JID correspond to email address. Default function of this hook, email2jid() returns JID when the user is registered to the site and his/her JID is set. If you want to send email but XMPP to a particular user, add a function which returns false.

Gosod

  1. XMPP Enabled plugin is required. Install it and configure.
  2. Upload the wp-mail2xmpp folder to your /wp-content/plugins/ directory.
  3. Activate the plugin using the Plugins menu in WordPress.
  4. Go to XMPP Enabled -> wp_mail to XMPP, adjust option.
  5. Set each user’s JID to Jabber ID field in his/har profile page.

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

“wp_mail to XMPP” is open source software. The following people have contributed to this plugin.

Cyfranwyr

“wp_mail to XMPP” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “wp_mail to XMPP” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

1.0

  • Rearranged settings page.

0.4

  • Created hooks.

0.3

  • Public release
  • Changed plugin name.

0.2

  • Initial release.