×
Kunena 5.1 Beta 1 Released (05 Oct 2017)

The Kunena team is pleased to announce Kunena 5.1.0 Beta 1 [K 5.1 Beta 1].
Please read the blog post for information: www.kunena.org/blog/188-kunena-5-1-beta-released

× Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question How to disable some of the social tabs on user edit profile?

More
1 week 1 day ago #1 by lusidjudjeto
lusidjudjeto created the topic: How to disable some of the social tabs on user edit profile?
I'd like to disable some of the social tabs (not all but just a few of my choice) when user edit his profile?

Please Log in or Create an account to join the conversation.

More
1 week 8 hours ago #2 by rich
rich replied the topic: How to disable some of the social tabs on user edit profile?
I think, you find this in "/components/com_kunena/controller/user/edit/profile/display.php"

Please Log in or Create an account to join the conversation.

More
5 days 15 hours ago #3 by lusidjudjeto
lusidjudjeto replied the topic: How to disable some of the social tabs on user edit profile?
I remove unwanted social links from that file but still in 'edit user profile' all social tabs appear !

Please Log in or Create an account to join the conversation.

More
5 days 14 hours ago #4 by WolfgangOWL
WolfgangOWL replied the topic: How to disable some of the social tabs on user edit profile?
I would appreciate if the social tabs that can be used could be configured in the backend in a future Kunena version.

Please Log in or Create an account to join the conversation.

More
5 days 11 hours ago #5 by rich
rich replied the topic: How to disable some of the social tabs on user edit profile?

I remove unwanted social links from that file but still in 'edit user profile' all social tabs appear !

Ah.. ok. This removes only the options in the Profile information setting.

Here you can remove the social symbols along with the links:
"components/com_kunena/template/crypsis/layouts/user/item/social/default.php"

But it's better if you create a template override. docs.kunena.org/en/faq/template-overrides

@Wolfgang
You're right, it would be better. I'm not sure, but think it's planned.

Please Log in or Create an account to join the conversation.

More
4 days 16 hours ago #6 by lusidjudjeto
lusidjudjeto replied the topic: How to disable some of the social tabs on user edit profile?
Sir, I mean I succeed to remove the some social icons from default.php and works fine.
But when I clean unwanted from /components/com_kunena/controller/user/edit/profile/display.php the tabs to be filled when user edit his profile are still there. The cache is cleaned. Perhaps other file contain those social tabs?

Please Log in or Create an account to join the conversation.

More
4 days 13 hours ago #7 by rich
rich replied the topic: How to disable some of the social tabs on user edit profile?
I'm sorry, but I don't know what you mean. In "/components/com_kunena/controller/user/edit/profile/display.php" you can disable the options to fill the fields. As you can see, here is only Facebook and Twitter allowed.




In "components/com_kunena/template/crypsis/layouts/user/item/social/default.php" you can disable already existing social icons.

Attachments:

Please Log in or Create an account to join the conversation.

More
4 days 12 hours ago #8 by lusidjudjeto
lusidjudjeto replied the topic: How to disable some of the social tabs on user edit profile?
Thats what I exactly need is on your picture - to have only facebook and twitter.
I open "/components/com_kunena/controller/user/edit/profile/display.php" and erase the other social tabs as I show you on my pic then clear cache but that do not delete the social tabs in profile information for me. I will look around to see what i amd going wrong.Thank you anyway
Attachments:

Please Log in or Create an account to join the conversation.

More
4 days 10 hours ago - 4 days 10 hours ago #9 by rich
rich replied the topic: How to disable some of the social tabs on user edit profile?

I will look around to see what i amd going wrong.

The change on your image is ok.
Kunena is cached in
/cache
/media/kunena/cache
If you have enabled css optimize, it is possible, that optimized css files are cached either in your Joomla template or optimize tool. Or maybe you need also empty the browser cache.

I've added the display.php as zip file, so you can compare.
Attachments:
Last Edit: 4 days 10 hours ago by rich.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.508 seconds