送信バッチがあるためこれを選んだ
サクラは250通 15分という規制があるため
共用サーバーでメルマガをやりたいため他のクライアントとかぶらない様にするため規制する。
登録したいところ
<?php echo do_shortcode('[ALO-EASYMAIL-PAGE]'); ?>
ダイレクトに出す。
参考
http://g.azucar.jp/?p=1469
全部英語表記のため
winのディバースで該当箇所を検索し
正規・・で検索
サクラエディタで日本語に替え
utf-8で保存し直し
アップロードで
公開記事を1つでも更新すると日本語化された
wp-contentsのプラクインの
下記ファイル
テーマ内にレミるではプレーンhtml
固定ページpage_mail_active.php参照
がいる。
携帯用はwillcomeだけが良いかも
設定でパーミッション編集者
テーマをプレーンを選ぶ
作成して選んで
送信
以下修正箇所
========================
■alo-easymail_functions.php
Warning: this email address has already been subscribedの上の行を変更
$error_email_added = esc_js( alo_em___(__("登録済みアドレスです", "alo-easymail")) );
ubscription successful. You will receive an e-mail with a link. You have to click on the link to activate your subscription.
を
ご登録ありがとうございます(*^ω^)ノ
$error_email_incorrect = esc_js( alo_em___(__("メールアドレスが正しくありません", "alo-easymail")) );
$error_name_empty = esc_js( alo_em___(__("名前が空欄です", "alo-easymail")) );
$error_email_added = esc_js( alo_em___(__("登録済みアドレスです", "alo-easymail")) );
$error_email_activated = esc_js( alo_em___(__("登録済みアドレスです", "alo-easymail")) );
$error_on_sending = esc_js( alo_em___(__("エラーです。しばらくたってからお試しください。", "alo-easymail")) );
■alo-easymail-widget.php
input type='submit'で検索して
$html .= "<input type='submit' name='submit' value='".__("送信", "alo-easymail")."' class='input-submit' />\n";
に
$html .= " <td><label for='opt_name'>".__("Name", "alo-easymail")."</label></td>"; //edit : added the "label" element for better accessibility
$html .= " <td><label for='opt_email'>".__("E-mail", "alo-easymail")."</label></td>\n"; //edit : added the "label" element for better accessibility
に
ubscription successful. You will receive an e-mail with a link. You have to click on the link to activate your subscription.
を
ご登録ありがとうございます(*^ω^)ノ
に 認証アドへの促しでもよい
■alo-easymail_subscr-page.php
43行目を変更
Your subscription was successfully activated. You will receive the next newsletter. Thank you.
ご登録ありがとうございます(*^ω^)ノ
To unsubscribe the newsletter for good click this button
を
メールメンバーを退会するにはボタンをクリックしてください。
これに
Unsubscribe meを退会に
Your subscription was successfully deleted. Bye bye.
を
ご購読ありがとうございました。
これに
========================
★その他ポイント
Newsletters 送信 レポート 再編集
Add New Newsletterで作る
Newsletter subscribers:
All subscribers にチェック
テーマは選ぶかもしくは設定でテーマを決める
(フォルダはalo-easymail-themesの中にいれれば選択できる様になる ただしこのそふとはHTMLメールになる)
携帯振り分けのやつテストする
$headers .= "Content-Type: text/html; charset=\"" . strtolower( get_option('blog_charset') ) . "\"\n";
これを
if ( preg_match( "/docomo|ezweb|softbank|pdx|vodafone|disney|emnet|willcom|ido/u", $recipient->email ) ) {
$content = alo_em_html2plain( $content );
} else {
$headers .= "Content-Type: text/html; charset=\"" . strtolower( get_option('blog_charset') ) . "\"\n";
}
Subscribersでユーザをアクティベートする