CVS edit link for gurayc

Hi there,

I am from Turkey and using Drupal about 1 year. Before Drupal, i had an own content management system (chicomas) and developed my own modules and cores.

Now, i have coded Turkish identification card verification module and i want to share this contribution for everyone.

Thank you very much.

Guray CELIK

Comments

gurayc’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new8.17 KB

Defines a Turkish public identification number (T.C. Kimlik No) field type for CCK.

avpaderno’s picture

Status: Needs review » Needs work
Issue tags: +Module review

Hello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code, pointing out what needs to be changed.

As per http://drupal.org/cvs-application/requirements, the motivation message should be expanded to contain more details about the features of the proposed module/theme; for modules it should include also a comparison with the existing solutions, while for themes a screenshot is also required.

gurayc’s picture

StatusFileSize
new14.25 KB
new15.67 KB
new11.04 KB
new16.12 KB
new14.73 KB

Review from here about T.C. Kimlik No module information : http://www.esoru.com/sayfalar/drupal-tckimlikno-module

Test T.C. Kimlik No module from here : http://www.esoru.com/node/add/testing-tckimlikno

Drupal TCKimlikNo module

This is the Drupal CCK field for Turkish identification number verification.

What is the Turkish ID Number?

From Wikipedia, the free encyclopedia

Turkish Identification Number (Turkish: Türkiye Cumhuriyeti Kimlik Numarası or abbreviated as T.C. Kimlik No.) is a unique personal identification number that is assigned to every citizen of Turkey.

Foreigners residing in Turkey at least six months for any purpose receive a Foreigner Identification Number, which is different from the Turkish Identification Number.

Also mode information please refer wikipedia at http://en.wikipedia.org/wiki/Turkish_Identification_Number

Verification of the Identification Number

The identification number is a unique 11-digit number given by the MERNIS computer on the basis of the citizen's registration record that is kept by the registration office.

The number does not reflect any personal information about the citizen. It is not possible to change the identification number once applied.

The personal identification number is composed of numbers only and can not have a leading zero. The rightmost two digits of the 11-digit identification number are check digits added to enable error detection.

Numbering the digits from left to right, if the first digit is d1 and so on, the trailing check digits can be calculated using the formula:

http://drupal.org/files/verification.jpg

Testing TCKimlikNo Module

Create a new TCKimlikNo field type for your content.

http://drupal.org/files/tckimlikno-1.jpg

Add Valid TCKimlikNo Content

http://drupal.org/files/tckimlikno-2.jpg

Successfull Content

http://drupal.org/files/tckimlikno-3.jpg

Unvalid TCKimlikNo Content

http://drupal.org/files/tckimlikno-4.jpg

Error on TCKimlikNo field

http://drupal.org/files/tckimlikno-5.jpg

Also test TCKimlikNo module form here : http://www.esoru.com/node/add/testing-tckimlikno

Thanks.

Guray CELIK

avpaderno’s picture

Status: Needs work » Needs review
meba’s picture

Status: Needs review » Needs work

My comments:

- Please write comments in English
- There are few indentation problems
- In token integration, I think #formatted value should be check_plain'ed?

avpaderno’s picture

Status: Needs work » Closed (won't fix)

I am closing this application due to lack of replies.

gurayc’s picture

Status: Closed (won't fix) » Fixed
StatusFileSize
new8.18 KB

Fixed following comments:
- Please write comments in English
- There are few indentation problems

Also succesfully passed token integration on following comment.
- In token integration, I think #formatted value should be check_plain'ed?

vimalramaka’s picture

Status: Fixed » Needs review
avpaderno’s picture

Status: Needs review » Closed (won't fix)

Please re-apply for a CVS account; this has been left without replies for two months, and it has been already declined. Changing this issue status doesn't change the status of the account, which is still on declined.

avpaderno’s picture

Component: Miscellaneous » new project application
Issue summary: View changes
Status: Closed (won't fix) » Closed (duplicate)
Related issues: +#965980: gurayc [gurayc]

I am closing this application as duplicate, since there is another, already approved, application.