Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

The module displays the super user

11 years 10 months ago
Licenses:
JomSocial Expired

Hi...

The module who is online is showing the super user when he is logged in at the back office...!!!

"Show Administrators in Member's Lists" if set to NO....

Regards

Goran

Attachments:
11 years 10 months ago
Licenses:

Hi, Goran.

How could I see content of community (community frontpage or main activity stream) when I'm not logged in?
Under this URL www.epikairo.gr/index.php/networks I could see only login screen...

So I just wonder... are you sure if you're not logged in in frontend too?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
11 years 10 months ago
Licenses:
JomSocial Expired

Yes I am sure....

I am using an other computer.... with a test user....

Regards

Goran

Superservice .....I don't belive it.... you are great...!!!

11 years 10 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Goran,

For fxing this, please you open this file components/com_community/models/user.php, find this code :

if (!$backendUsers) {
            $query .= 'AND ' . $db->quoteName('client_id') . ' != ' . $db->Quote(1);
        }

below that code, add this :
$config = CFactory::getConfig();
if (!$config->get('privacy_show_admins')) {
            $userModel = CFactory::getModel('User');
            $tmpAdmins = $userModel->getSuperAdmins();
            $admins = array();

            $filterquery .= ' AND a.' . $db->quoteName('id') . ' NOT IN(';
            for ($i = 0; $i < count($tmpAdmins); $i++) {
                $admin = $tmpAdmins[$i];
                $query .= $db->Quote($admin->id);
                $query .= $i < count($tmpAdmins) - 1 ? ',' : '';
            }
            $query .= ')';
        }

not tested yet, but I hope it will work.

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW