vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   VBulletin code is required for guests to see what is it? (https://vborg.vbsupport.ru/showthread.php?t=209574)

Adem GEN? 04-09-2009 06:59 PM

Quote:

Originally Posted by AdemGEN? (Post 1782810)
My Forum
Admincp>>Usersgroups>>Usergroup Manager>>Guest Usergroup>>Forum Viewing Permissions>>Can View Forum: Yes, In this case, no problem at all running
See: http://vbulletin.ardeseni.com/yeni_sayfa_3.htm



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
See: http://vbulletin.ardeseni.com/yeni_sayfa_2.htm


Guests can work the code on this page.
Required to work for?

number_control.php
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';



Current Topics
I am still waiting for help on this topic
Would you please help?


All times are GMT. The time now is 01:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01155 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete