WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Slack #WPVN
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

Mailster Contact Form 7

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Mailster Contact Form 7

Bởi EverPress
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

Create your Signup Forms with Contact Form 7 and allow users to signup to your newsletter.

This Plugin requires Mailster Newsletter Plugin for WordPress

Additional Info

This Plugin requires Mailster Newsletter Plugin for WordPress

Ảnh màn hình

Cài đặt

  1. Upload the entire mailster-contact-form-7 folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create a new Contact Form 7 form. Provide at least an email field
  4. Save your form
  5. Select The Mailster tab and configure the form for Mailster

Đánh giá

confirmed status not working

hajo804 21 Tháng 1, 2025
If a user subscribes to the contact form 7 form with this plugin, they will be added to the list, but their status will not be automatically confirmed. “Double-opt-In” is turned off, meaning they do not have to confirm their unsubscribe, but the user will still not be active. Is there another setting that I missed, or is the plugin unable to make the user an active subscriber immediately?

Display more errors from mailster

xiaoxian666 9 Tháng mười một, 2024 1 trả lời
Hi, I improved the validate and add_subscriber function in classes/contactform.class.php to allow contact from7 to display more errors from mailster instead of just error messages for duplicate subscribers. public function validate( $result, $tags ) { if ( ! $result->is_valid() ) { return $result; } if ( ! function_exists( ‘mailster’ ) ) { return $result; } $submission = WPCF7_Submission::get_instance(); if ( ! $submission || ! $posted_data = $submission->get_posted_data() ) { return $result; } $form = WPCF7_ContactForm::get_current(); $properties = $form->get_properties(); // no Mailster settings if ( ! isset( $properties[’mailster’] ) ) { return $result; } $properties = $properties[’mailster’]; // not enabled if ( ! $properties[’enabled’] ) { return $result; } // checkbox defined but not checked if ( isset( $properties[’checkbox’] ) && $properties[’checkbox’] && empty( $posted_data[ $properties[’checkboxfield’] ][0] ) ) { return $result; } $this->userdata = array(); $tag_keys = array_flip( array_filter( wp_list_pluck( $tags, ‘name’ ) ) ); foreach ( $properties[’fields’] as $field => $tag ) { $this->userdata[ $field ] = is_array( $posted_data[ $tag ] ) ? $posted_data[ $tag ][0] : $posted_data[ $tag ]; } $this->userdata[’status’] = $properties[’doubleoptin’] ? 0 : 1; if ( isset( $properties[’gdpr_timestamp’] ) && $properties[’gdpr_timestamp’] ) { $this->userdata[’gdpr’] = time(); } $this->userdata = apply_filters( ‘mailster_verify_subscriber’, $this->userdata ); if ( is_wp_error( $this->userdata ) ) { $result->invalidate( $tags[ $tag_keys[ $properties[’fields’][ $this->userdata->get_error_code() ] ] ], $this->userdata->get_error_message() ); return $result; } $overwrite = $properties[’overwrite’]; if ( ! $overwrite && mailster( ‘subscribers’ )->get_by_mail( $this->userdata[’email’] ) ) { $error_message = isset( $properties[’error_message’] ) ? $properties[’error_message’] : __( ‘You are already registered!’, ‘mailster-cf7′ ); $result->invalidate( $tags[ $tag_keys[ $properties[’fields’][’email’] ] ], $error_message ); return $result; } //new add+ $add_message= $this->add_subscriber(null); if(!empty($add_message)) { $result->invalidate( $tags[ $tag_keys[ $properties[’fields’][’email’] ] ], $add_message ); return $result; }// add_action( ‘wpcf7_mail_sent’, array( $this, ‘add_subscriber’ ) ); return $result; } /** * * * @param unknown $contact_form */ public function add_subscriber( $contact_form ) { $form = WPCF7_ContactForm::get_current(); $properties = $form->get_properties(); $properties = $properties[’mailster’]; $list_ids = isset( $properties[’lists’] ) ? (array) $properties[’lists’] : null; $overwrite = 1 == $properties[’overwrite’]; $merge = 3 == $properties[’overwrite’]; // add subscriber $subscriber_id = mailster( ‘subscribers’ )->add( $this->userdata, $overwrite || $merge, $merge ); // no error if ( ! is_wp_error( $subscriber_id ) && $list_ids ) { mailster( ‘subscribers’ )->assign_lists( $subscriber_id, $list_ids ); return ”; }else { return $subscriber_id->get_error_message(); } }

Excellent Plugin

royalehemp 13 Tháng 1, 2019
Search around for good a good contact form for mailster an found this plugin.Works perfect.

Excellent

tfs 19 Tháng 9, 2017
Does exactly what it’s supposed to do. Smooth integration with CF7, great support.
Đọc tất cả 4 đánh giá

Người đóng góp & Lập trình viên

“Mailster Contact Form 7” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • EverPress
  • Mailster Newsletter Plugin
  • Xaver

Dịch “Mailster Contact Form 7” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.5.1

  • fix for WordPress 6.1

1.5

  • fixed: support for CF7 5.5.3

1.4

  • added: options to store GDPR timestamp

1.3.1

  • fixed: removed deprecated method

1.3

  • new option: ‘Always overwrite and keep existing data’ to merge data on existing subscribers.

1.2

  • updated file structure
  • added translatable strings

1.1

  • improved: Subscribers are added only if the form has been submitted successful
  • added: new option to disable error message for existing subscribers
  • added: new option to define error message.

1.0.1

  • fixed: PHP Warning

1.0

  • initial release

Meta

  • Phiên bản 1.5.1
  • Cập nhật lần cuối 12 tháng trước
  • Số lượt cài đặt 1.000+
  • Phiên bản WordPress 6.0 hoặc cao hơn
  • Đã kiểm tra lên đến 6.5.5
  • Ngôn ngữ
    English (US)
  • Thẻ
    contact form 7mailsternewslettersignup form
  • Nâng cao

Đánh giá

5 trên 5 sao.
  • 4 đánh giá 5 sao 5 sao 4
  • 0 đánh giá 4 sao 4 sao 0
  • 0 đánh giá 3 sao 3 sao 0
  • 0 đánh giá 2 sao 2 sao 0
  • 0 đánh giá 1 sao 1 sao 0

Thêm đánh giá của bạn

Xem tất cả đánh giá

Những người đóng góp

  • EverPress
  • Mailster Newsletter Plugin
  • Xaver

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.