![]() |
Accessing the username variable in showthread.php
For some reason I can't access the username variable in showthread.php. I've been editing the templates here and there to include a violator much like the one that comes on the default forums homepage - "welcome back $username".
It works on all pages so far, but for some reason it doesn't work on showthread.php - even though I am logged in with cookies. Any ideas why? |
try
$bbuserinfo[username] |
That works on ANY page in vB. :)
|
gotta love the global variables :P
|
All times are GMT. The time now is 08:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|