The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
vb3 uploading service
i had my Uploading service Center working in VB2...
but now after i upgraded its not workin at all :dead: its intregation is depending on a file called "authvb.php" where it query the database im sure u guys understand what im saying and now its totaly not workin after i upgraded my forum to vb3 i just need help around and someone to modify the code for me so that i use it again coz i need it in my site alot look here <?php $auth = "false"; if (isset( $PHP_AUTH_USER ) && isset( $PHP_AUTH_PW )) { mysql_connect( $checkservername, $dbcheckusername, $dbcheckpassword ) or die ( 'Unable to connect to server.' ); mysql_select_db( $dbcheckbase ) or die ( 'Unable to select database.' ); if ($encryptedpw) { $chkpw = md5($PHP_AUTH_PW); } else { $chkpw = $PHP_AUTH_PW; } $sql = "SELECT * FROM user WHERE username = '$PHP_AUTH_USER' AND password = '$chkpw' AND (usergroupid = '2' or usergroupid = '5' or usergroupid = '6' or usergroupid = '7' or usergroupid = '8' or usergroupid = '668' or usergroupid = '669')"; $result = mysql_query( $sql ) or die ( 'Unable to execute query.' ); $num = mysql_numrows( $result ); if ( $num != 0 ) { $auth = "true"; } } ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|