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.

Privacy Tab

10 years 11 months ago
Licenses:
JomSocial Expired

Hi,

as I did with JS 3.0 and before, I would like to hide the privacy tab in the status form.
After hours of search in all template files, I didn't succeed.

What file need to be changed?

thank you.

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

Hi Olivier,

Open this file components/com_community/libraries/privacy.php, remove or comment this code :

return $template->set( 'classAttribute' , $classAttribute )
						->set( 'access' , $access )
						->set( 'nameAttribute' , $nameAttribute )
						->set( 'selectedAccess' , $selectedAccess )
						->set( 'direction' , $direction )
						->fetch( 'privacy' );

10 years 11 months ago
Licenses:
JomSocial Expired

Hi,

It doesn't work : the drop down list for the privacy setting is still here .

Regards

10 years 11 months ago
Licenses:
JomSocial Expired

Hi,

any news ?

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

Can hou give me ftp access? I will do it by myself

10 years 11 months ago
Licenses:
JomSocial Expired

Hi
I'm sorry but no, I won't give you ftp access. The server and the back-end are confidential.

I use JS since 2.8, I developed several templates, and plugins, so I know to modify the file as described above.

So just tell what file need to be modified.

Regards

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

Hi,

I think you edit the wrong code / file, I just test it in my local and removed that block code and its is working fine here.. can you check in edit profile page after apply that hack, the privacy is still showing or not?

thank you

10 years 11 months ago
Licenses:
JomSocial Expired

Hi,

I edited the right file ( I wouldn't be able to remove the code, if it was the wrong file ).

In your reply, you pointed the "edit profile page" to verify the hack.
But My concern is not that page. My concern is the status form in the wall.
When you start to write a new status, the privacy icon appears and let the user to change the privacy level.

My need is to remove this icon to avoid the drop down list to be select

Thank you

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

Oh that parts, open this file _release/js/bundle.js, find this :

,this.enableMood||this.$tabmood.remove(),

remove to :
.hide(),this.enableMood||this.$tabmood.remove(),

10 years 11 months ago
Licenses:
JomSocial Expired

Perfect !
to be accurate :
replace:
,this.enableMood||this.$tabmood.remove(),
by :
.hide(),this.enableMood||this.$tabmood.remove(),

There is 3 occurrences .

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