Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Where are saved user settings "hide"
Hello,
where are saved settting :"Make me invisible? (Will not show you on the list)"
for users? thanks you
i have others question,
this addon is safe and not bugging forum?
where are saved settting :"Make me invisible? (Will not show you on the list)"
for users? thanks you
i have others question,
this addon is safe and not bugging forum?
0
Comments
$WhosOnlineModule->GetData(ArrayValue('Plugin.WhosOnline.Invisible', $UserMetaData));
This code saves the data:
// Get the data $UserMetaData = $this->GetUserMeta($UserID, '%'); $ConfigArray = array( 'Plugin.WhosOnline.Invisible' => NULL ); if ($Sender->Form->AuthenticatedPostBack() === FALSE) { // Convert to using arrays if more options are added. $ConfigArray = array_merge($ConfigArray, $UserMetaData); $Sender->Form->SetData($ConfigArray); } else { $Values = $Sender->Form->FormValues(); $FrmValues = array_intersect_key($Values, $ConfigArray); foreach($FrmValues as $MetaKey => $MetaValue) { $this->SetUserMeta($UserID, $this->TrimMetaKey($MetaKey), $MetaValue); } $Sender->StatusMessage = T("Your changes have been saved."); }
both in plugins/WhosOnline/default.php
I am not familiar with how "UserMeta" works or what it does, but for more help, you should look into that.
/cd
verry thanks