| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  stuck on a peace of code (get vb username) 
			
			Why does the code below not work. when i put PHP Code: 
			why is this not working, and how can i get it to work. PHP Code: 
			 | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Where are you putting this code?  Right now, that code isn't going to produce a thing because you haven't called the function usercheck.
		 | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			yes  i now that, i have found the problam.  i put in the function the following line PHP Code: 
			 | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			You may want to try vB::$vbulletin->whatever instead of making the variable global.
		 | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |