if ( !OW::getUser()->isAuthenticated() ){ throw new AuthenticateException(); }
in the file:
ow_system_plugins/base/controllersuser_list.php
after the line 41, after this:
parent::__construct();
It has nothing to do with the theme.
Here it is working fine and you can change the subject
On the websites where it doesn't work, did you put them in debug mode? https://wiki.oxwall.com/plugin-tuts:enable-debug
This warning refers to the use of an index of an array that does not exist.
You have to set a breakpoint at this point and inspect the variables involved to see what they contain and find out why they do not contain the referenced data.
There is no generic way to know what happens without doing this, you already say that with a similar configuration another website does work
So it seems like to me, the problem is probably being caused by something in the CSS file (a missing punctuation mark, perhaps, or a similar issue). That's my best guess, anyway.
It can't be a code error since Rob says he has two websites with identical settings and the other one is going well.
They may not be as identical and have different themes installed (even if you have the same theme active).
You can also change the theme on this site, and this does not affect.
Now I have to go to work, on my return I try to close the site to visitors, vary the number of languages and try more things about this.
Add this line:if ( !OW::getUser()->isAuthenticated() ){ throw new AuthenticateException(); }
in the file:
ow_system_plugins/base/controllersuser_list.php
after the line 41, after this:
parent::__construct();
Question is there a way to block just the username list, but still have the search for users and online users still viewable?
lets say you would;
Block website/user; but
Allow website/user/online
Allow website/user/search
Thanks.
Try this version, replace it with yours.
You must rename TXT to PHP, OxWall does not allow attaching files in PHP format in this forum.
To see the 3 changes, search with a text editor for the word "Patri"
I have modified the menu, if you want users not to access this list there is no point in displaying this menu option.
In case the list is accessed from any other part of OxWall or from some plugin, I have forced that if the general list is requested (latest) it shows the OnLine users