×
Kunena 5.1 Released (13 May 2018)

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

Solved Thankyou Button Missing when Reply is Disabled

More
1 year 6 months ago - 1 year 6 months ago #1 by achartier
I have multiple categories where we do not allow replies but we do wish to allow the thankyou feature. In K4 it worked fine but in K5 the Thankyou button only shows when the user has permissions to reply.

Can we get the thankyou button even if the user cannot reply to a topic?

This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Disabled | Joomla! SEF rewrite: Disabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 120 seconds | Max execution memory: 256M | Max file upload: 64M

Kunena menu details:

Warning: Spoiler! [ Click to expand ]

Joomla default template details : shaper_helix3 | author: JoomShaper.com | version: 1.7 | creationdate: Jan 2016

Kunena default template details : Crypsisb3 | author: Kunena Team | version: 5.0.4-DEV | creationdate: 2016-11-04

Kunena version detailed: Kunena 5.0.4-DEV | 2016-11-04 [ Internal ]
| Kunena detailed configuration:

Warning: Spoiler! [ Click to expand ]
| Kunena integration settings:
Warning: Spoiler! [ Click to expand ]
| Joomla! detailed language files installed:
Warning: Spoiler! [ Click to expand ]

Third-party components: CommunityBuilder 2.0.15

Third-party SEF components: None

Plugins: None

Modules: None

Last edit: 1 year 6 months ago by achartier. Reason: add configuration info.

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

More
1 year 6 months ago #2 by 810
we have removed it, because its a write permission.

If you want it then you need to change the libraries files.

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

More
1 year 6 months ago #3 by achartier
OK, can you point me to the general location to do this? Thanks.

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

More
1 year 6 months ago - 1 year 6 months ago #4 by achartier
In case anyone else happens upon this topic, here is how to solve this problem.

Copy the file components/com_kunena/template/crypsisb3/layouts/message/item/actions/default.php
to
templates/[yourtemlplate]/html/com_kunena/layouts/message/item/actions/default.php

Edit the copied file around line 177, you will see a <div class="kreplymessage">. Just before the </div> insert the following two lines:
<?php echo $this->messageButtons->get('thankyou'); ?>
<?php echo $this->messageButtons->get('unthankyou'); ?>
Last edit: 1 year 6 months ago by achartier.

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.116 seconds