Question Allow Admins to see who has authenticated

Status
Not open for further replies.

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:
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] =>
Normally, on other things such as usergroup ID, it would show like:
Code:
[usergroupid] => 6

How can I get the dbtech_twofactor_enabled to work as an IF statement?

TIA
 
Hello Silent Assassin,

This ticket has now been closed with the status Answered.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

Legacy Two-Factor Authentication

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
164
Customer rating
0.00 star(s) 0 ratings
Back
Top