The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
VBulletin code is required for guests to see what is it?
Hi,
vBulletin these codes PHP Code:
I'm just used to run them PHP Code:
My special number codes on them all PHP Code:
Note: My Forum Admincp>>Usersgroups>>Usergroup Manager>>Guest Usergroup>>Forum Viewing Permissions>>Can View Forum: No Guests are not allowed? Guests are allowed to give the code for what? What code is required to use vBulletin? Thanks |
#2
|
|||
|
|||
I have no clue what you are actually asking, but i do notice that your script is open for SQL-injections because of the use of an uncleaned variable ($tc_no) in your query.
|
#3
|
||||
|
||||
If you don't want guests to see that page, put this near the top but after including global.php
PHP Code:
|
#4
|
||||
|
||||
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 Code:
$.ajax({ type: "POST", url: "number_control.php", data: "tc_no="+ usr, success: function(msg){ 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 |
#5
|
||||
|
||||
Sorry, but I just don't understand the question. I think you are saying you are having problems with visitors because the query won't work for them (since there is no userfield table for a visitor).
|
#6
|
|||
|
|||
Hi.
Try it here: http://www.vbulletin-turkey.com/ or maybe hasann could translate it for us^^ Its realy hard to help you if we cant understand you. |
#7
|
||||
|
||||
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:
|
#8
|
|||
|
|||
Can you plese PM the license-id used for ardeseni.com, as i can not locate a valid license for this site.
|
#9
|
||||
|
||||
I have two licenses.
See sample video web site that is ardeseni.com. ardeseni.com do not use vBulletin forums guide me how to use information only about ardeseni.com vBulletin am PM I sent |
#10
|
|||
|
|||
Thank you for the verification.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|