Very Very Tnx...
but
I Have Been Made A PHP File In This Address:
localhost/nuke-test/vb-login.php
PHP Code:
<?php
chdir("./vb");
@require_once("includes/config.php");
@require_once("global.php");
if ($vbulletin->userinfo['userid'] != 0) {
$bekir = ($vbulletin->userinfo['username']);
print($bekir);
}
else { echo "No Set..."; }
?>
Then, Include File To This Address For Show Logged User:
localhost/nuke-test/blocks/user-block.php
PHP Code:
<?php
include('../vb-login.php');
?>
This error is:
Code:
Fatal error: Call to undefined method vB_Database::sql_query() in...
Vb Installation Path: localhost/nuke-test/vb