Silent Assassin
New member
Hi,
I have been asked to look into this mod to add a new feature for a friend's forum. He wants to allow admins to see who has authenticated on postbit_legacy. I looked over the files, installed the addon on my localhost test site and looked into it. I have found this code:
I have tried the following but I have been unable to get it to show:
When I run a print_r of $vbulletin->userinfo via the global_start hook, the array shows as:
Normally, on other things such as usergroup ID, it would show like:
How can I get the dbtech_twofactor_enabled to work as an IF statement?
TIA
I have been asked to look into this mod to add a new feature for a friend's forum. He wants to allow admins to see who has authenticated on postbit_legacy. I looked over the files, installed the addon on my localhost test site and looked into it. I have found this code:
Code:
['dbtech_twofactor_enabled']
I have tried the following but I have been unable to get it to show:
Code:
<vb:if condition="$bbuserinfo['dbtech_twofactor_enabled']">
Code:
<vb:if condition="$user['dbtech_twofactor_enabled']">
Code:
<vb:if condition="$post['dbtech_twofactor_enabled']">
Code:
<vb:if condition="$show['dbtech_twofactor_enabled']">
When I run a print_r of $vbulletin->userinfo via the global_start hook, the array shows as:
Code:
[dbtech_twofactor_enabled] =>
Code:
[usergroupid] => 6
How can I get the dbtech_twofactor_enabled to work as an IF statement?
TIA