The Arcive of vBulletin Modifications Site. | 
    |
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			Hi All, I am trying to print a user's login name from a PHP script or redirect them to the vBulletin login page so that vBulletin is the central authorization database. Nothing fancy: 
		
		
		
		
		
		
		
		
	
	Code: 
	<?php
$vb = new vbulletin(); //* this isn't real, i know, but it's what i'm looking for or something similar
if ( $loggedIn ) {
	print $userName;
} else {
	header( "Location: ...login url..." );
}
?>
 | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 PHP Code: 
	
			
	its a place to start.  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			Much appreciated, thank you.
		 
		
		
		
		
		
		
		
		
	
	 | 
![]()  | 
	
	
		
  | 
	
		
  | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
						
  | 
				|
  More Information | 
				|
| 
						 Template Usage: 
						
 Phrase Groups Available: 
						
  | 
					
						 Included Files: 
						
 Hooks Called: 
						
  |