ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

BuddyPress XProfile Validate with RegEx

აღწერა

With this plugin you can define a PCRE regular expression against which data entered
in XProfile fields will be matched.

For example:

  • check webpage field for a correct(-ish) URL or domain name: %^(https?://)?([^ :/]{1,63}\.)+[^ :/.]{2,63}%iu
  • check age field for a sane(-ish) value (0-199): /^1?[0-9]?[0-9]$/
  • check phone field for a sane(-ish) value: /^+?[0-9 -]{7,45}$/
  • check any field for a minimum and maksimum length: /^.{10,100}$/u

You can also configure a message to show when a field data does not validate.

მიმოხილვები

4 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“BuddyPress XProfile Validate with RegEx” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ BuddyPress XProfile Validate with RegEx თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

TODO

  • Checking for a valid regular expression while saving field configuration.
  • Support validating standard Name field
  • Support validating field data while editing profile – currently data is validated only during registering.

0.1.2

  • Fixed a bug: configuration wasn’t saved during creating a new xprofile
    field – only during editing an existing field

0.1.1

  • Added plugin site
  • Change license to GPLv2 or later – interaction of AGPLv3 with other
    licenses is too confusing

0.1.0

  • Initial release