2021-08-20, 10:38 AM
(This post was last modified: 2021-08-20, 10:42 AM by Fontane. Edited 3 times in total.)
MyBB version: 1.8.27
Hello MyBB PHP Pros,
I have the PlugIn Verify Users in use.
Now I want to add in the ./inc/functions_online.php the variable:
How and where in the ./online.php or ./inc/functions_online.php must the variable
Alternatively:
Since the variable
Thanks in advance for tips and hints.
[Translated with www.DeepL.com/Translator (free version)Translated with www.DeepL.com/Translator (free version)]
Hello MyBB PHP Pros,
I have the PlugIn Verify Users in use.
Now I want to add in the ./inc/functions_online.php the variable:
if($user['verified'] == 1) {
statement
}
use.How and where in the ./online.php or ./inc/functions_online.php must the variable
if($user['verified']
be defined to be available?Alternatively:
Since the variable
if($user['verified']
is to be used in further PHP files, the question arises whether this could be defined vllt. even in e.g. the ./global.php?Thanks in advance for tips and hints.
[Translated with www.DeepL.com/Translator (free version)Translated with www.DeepL.com/Translator (free version)]