Hello,
(I do not know English'll write a short text, please try to understand)
Let me explain what I am trying to do over.
The number is special to my country of citizenship
Members would like this number during registration
Registered members within
The numbers do control
Example flash video:
Code:
Registered number 11111111111
22222222222 number is not registered and can be used.
...forum.com/register.php?do=register
http://vbulletin.ardeseni.com/yeni_sayfa_3.htm
Jquery code
Code:
$.ajax({
type: "POST",
url: "number_control.php",
data: "tc_no="+ usr,
success: function(msg){
number_control.php
Code:
error_reporting(E_ALL & ~E_NOTICE);
require_once('./global.php');
$field_alani = $vbulletin->options['tc_kimlik_no_kontrolu_field'];
$tc_no = $vbulletin->input->clean_gpc('p', 'tc_no', TYPE_NOHTML);
$tc_no_sorgula = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "userfield WHERE $field_alani LIKE '$tc_no'");
if(mysql_num_rows($tc_no_sorgula))
{
echo 'No';
}
else
{
echo 'OK';
}
Now these problems:
My Forum
Admincp>>Usersgroups>>Usergroup Manager>>Guest Usergroup>>Forum Viewing Permissions>>Can View Forum:
Yes, In this case, no problem at all running
Admincp>>Usersgroups>>Usergroup Manager>>Guest Usergroup>>Forum Viewing Permissions>>Can View Forum:
No, In this case, numbers can not be controlBecause, Visitors can not access this file number_control.php
In this case visitors want to run this file
Note: tc_no number name name of input field
I hope I could tell
Thanks