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.

problem Privacy for Site Administrators

11 years 21 hours ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

hi
i have a problem
in administrator site follow step by step :
1- go to jomsocial -->config---> privacy
2-in Privacy for Site Administrators ---->Show Administrators in Member's Lists = No
3- go to in site ---> search super user in module (Search ajax)---> no super user (no problem)
4- go to advance search ---> in field name ---> search super user ---> show super super for defualt users
and defualt users can adding firend (super user)
I tested in your demo site
how to fix?

11 years 12 hours ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,
This is a bug, thank you for reporting.

cheers!

11 years 7 hours ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

Thank you
good luck.

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

I will give you the update once the patch available

10 years 11 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

Thank you Jomsocial Team

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

this is the patch, open this file components/com_community/models/search.php, add this code after line 769 :

if( !CFactory::getConfig()->get( 'privacy_show_admins') )
        {
            $userModel		= CFactory::getModel( 'User' );
            $tmpAdmins		= $userModel->getSuperAdmins();

            $admins         = array();

            $query  .= ' 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  .= ')';
        }

10 years 11 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

thank you
in next update jomsocial, fix code?
for exapmle : update 4.1.2 privacy admin fix?

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

yes it will be fixed in next release

10 years 11 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

thank you very much

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