هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

حقل رقم الهاتف الدولي لـ International Telephone Input for Contact Form 7

الوصف

ملحق إضافي لإضافة Contact Form 7 والتي تقوم بإنشاء نوعًا جديدًا من المدخلات لإدخال أرقام الهاتف بالصيغة الدولية والتحقق منها. تضيف هذه الإضافة قائمة منسدلة مع العلم مع بادئة لرقم الهاتف، ويعرض عنصرًا نائبًا (placeholder) ذا صلة، ويوفّر طرق التنسيق / التحقق.

كيفية الاستخدام

بمجرد تنصيب الإضافة وتفعيلها، سيتوفر نوع جديد من حقول الإدخال في نماذج Contact Form 7. لإدراجها إلى النموذج الخاص بك، يمكنك إما النقر على زر “رقم الهاتف الدولي” أعلى محرر النموذج الخاص بك، أو إضافة الكود القصير مثل: [intl_tel* {your-phone}]. استبدل {your-phone} بالاسم الذي تريد منحه للحقل. واختياريًا، يمكنك استخدام علامة النجمة (*) لجعل الحقل مطلوبًا.

لعرض معلومات الحقل على نموذج البريد الإلكتروني، استخدم هذا الوسم: [{your-phone}]. سيتم عرض الرقم بطريقة تشبه +12025550109 تقريبًا

معلومات إضافية لـ بريدك الإلكتروني

يمكنك أيضًا إظهار أجزاء معينة من رقم الهاتف: اسم الدولة، رمز الدولة، الرقم بدون رمز الدولة. باستخدام هذه الوسوم:

  • [{your-phone}-cf7it-country-name]: يعرض اسم الدولة. على سبيل المثال أعلاه: الولايات المتحدة الأميريكية
  • [{your-phone}-cf7it-country-code]: يعرض رمز الدولة لرقم الهاتف. على سبيل المثال أعلاه: 1
  • [{your-phone}-cf7it-country-iso2]: يعرض رمز الدولة iso. على سبيل المثال أعلاه: us
  • [{your-phone}-cf7it-national]: يظهر رقم الهاتف بدون بادئة الصيغة الدولية. على سبيل المثال أعلاه: 2025550109

برنامج الطرف الثالث

هذه الإضافة تستخدم مكتبة جافاسكربت International Telephone Input و eXTReMe-IP-LOOKUP.com API.

لقطات الشاشة

  • حقل رقم الهاتف الدولي
  • Adding a initial country. Now you can set a initial country by default. When this option is set, the IP lookup feature will be disabled.
  • Adding a default or placeholder value. Now you can set a default or placeholder value for the telephone input.

التنصيب

التنصيب التلقائي

  1. الإنتقال إلى لوحة التحكم الخاصة بك » الإضافات » أضف جديد
  2. في حقل البحث اكتب “International Telephone Input for Contact Form 7”
  3. عندما يعيد البحث النتيجة، أقر فوق الزر “التنصيب الآن”
  4. وأخيرًا، أنقر فوق زر “تفعيل”
  5. استمتع بالإضافة!

التثبيت اليدوي

  1. تنزيل الإضافة من هذه الصفحة بالنقر على زر “التنزيل”
  2. الإنتقال إلى لوحة التحكم الخاصة بك » الإضافات » أضف جديد
  3. الآن حدّد زر “رفع الإضافة”
  4. أنقر فوق زر “تحديد ملف” ومن ثم تحديد الملف الذي قمت بتنزيله
  5. أنقر فوق زر “التنصيب الآن” و “تفعيل الإضافة”
  6. استمتع بالإضافة!

التثبيت عبر FTP

  1. تنزيل الإضافة من هذه الصفحة بالنقر على زر “التنزيل”
  2. فك ضغط الملف على جهازك
  3. تشغيل برنامج FTP الخاص بك والاتصال بموقع ووردبريس الخاص بك
  4. Copy to [root folder]/wp-content/plugins/ the plugin directory you just descompress
  5. Go to your Dashboard » Plugins » Find the plugin and click on “Activate” option
  6. استمتع بالإضافة!

المراجعات

8 فبراير، 2024
Слишком скудные возможности по сравнению с оригинальным JS плагином.
21 مارس، 2023
The plugin is great, works as expected. will give 5 star if 2 bugs are fixed.1) when telephone is set as "required", the wpcf7-not-valid-tip below the form doesnt show. 2) when selecting country flag on mobile, the dropdown is too big and ugly. (maybe a fullscreen dropdown that covers 80% vw and vh centered would be much prettier)
13 مايو، 2021 1 reply
This plugin im install on two wordpress website. When you impute phone number, after you receive email not show this number. try other plugin.
13 فبراير، 2021 1 reply
It does not work, it does not bring the phone in the mail.
17 سبتمبر، 2020 1 reply
A really good plugin, well integrated!!!
إقرأ جميع المراجعات 26

المساهمون والمطوّرون

“حقل رقم الهاتف الدولي لـ International Telephone Input for Contact Form 7” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

لقد تم ترجمة ”حقل رقم الهاتف الدولي لـ International Telephone Input for Contact Form 7“ إلى 7 لغات. شكراً إلى جميع المُترجمين لمُساهماتهم.

ترجمة ”حقل رقم الهاتف الدولي لـ International Telephone Input for Contact Form 7“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.5.7 — Sep 15, 2020

  • Added new options: Default or placeholder value. Now you can set a default or placeholder value for the telephone input.
  • Added new option: Initial Country. Now you can set a initial country by default. When this option is set, the IP lookup feature will be disabled.

1.5.6 — May 11, 2020

  • Fixed the flags alignment in Retina screens.
  • Improvement: now the file size of flags images are 69% smaller. Thanks to @marcusasiabc.

1.5.5 — April 25, 2020

  • Switch API service from freegeoip.app (it no longer works) to extreme-ip-lookup.com, which offer free usage until 20 requests per minute and 50,000 requests per month.

1.5.4 — April 06, 2020

  • Added a check to verify if Contact Form 7 is activated.
  • Added support for Retina screens. Thanks to Aboobacker P Ummer (@abooze) for reporting.
  • Fixed some typos in README.md. Thanks to @sylvain68 for reporting.

1.5.3 — April 03, 2020

  • Code refactored.
  • Updated the API service to freegeoip.app (up to 15,000 queries per hour).
  • Now the plugin includes the “International Telephone Input” library built-in.
  • Added new info tags in header comment.
  • Fixed text domain in plugin header comment.
  • Fixed some typos and strings without translation functions.

1.5.2

  • We change ipinfo.io IP API by freegeoip.net IP API because it has a higher requests limit. As suggested at https://wordpress.org/support/topic/ipinfo-io-limits/

1.5.1

  • We add the possibility to define de preferrec countries by adding the option preferredCountries. For example preferredCountries:es-fr (They have to be 2-letter country codes separated by hyphens ‘-‘)
  • We add teh preferredCountries and size option to the GUI form tag creator form.

1.5.0

  • We use upgrade JS version to 12.1.3. It fixes iPhone issues of old version
  • We add mail tag that recovers iso code of the selected country

1.4.6

  • We change to new CF7 functions naming (shortcode->form-tag) to avoid deprecated message with debug active (completed). No new features added

1.4.5

  • We change to new CF7 functions naming (shortcode->form-tag) to avoid deprecated message with debug active (partial). No new features added

1.4.4

  • We add the size attribute if it is sent as an option. For example: size:40

1.4.3

  • We avoid the placeholder text to be copied into the value of the input field. This, sometimes caused the flags to desappear

1.4.2

  • We repare special mail tags

1.4.1

  • We make it https compatible

1.4.0

  • We add new mail tags in order to be able to recover the country name of a telephone, the contry code and the telephone number without the country code
  • In order to get the country name use [{your-phone}-cf7it-country-name] where {your-phone} has to be replaced by the name of your tag
  • In order to get the country code use [{your-phone}-cf7it-country-code] where {your-phone} has to be replaced by the name of your tag
  • In order to get the phone number without the country code use [{your-phone}-cf7it-national] where {your-phone} has to be replaced by the name of your tag

1.3.0

  • We force the dependecies between the JS files

1.2.0

  • We load the minified JS by default. If SCRIPT_DEBUG is set to true, we use the non-minified.

1.1.0

  • CDN is used for all JS and CSS files and script is loaded at the bottom

1.0.0

  • الإصدار الأول