×
Kunena 5.2 RC3 Released (Today)

The Kunena team is thrilled to announce the third public release candidate of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 RC3 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× 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 Problems with 'Thank You' function.

More
3 years 9 months ago #1 by CEBEP
Hello everyone. I have some problems with 'Thank You' function.
After clicking on "Thank You" button, i got error:
"You have been banned! You do not have access to this function."

This function was workable on Kunena 3.
Forum was updated to Kunena 5.0.5. Current verison 5.0.6.1.

MySQL verison 5.6.35
PHP version 7.0.14
Web server Apache 2.4.6
Joomla! version 3.6.5
The following user(s) said Thank You: NexonSU

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

More
3 years 9 months ago #2 by CEBEP
Warning: Spoiler!

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

More
3 years 9 months ago #3 by NexonSU
I edit this file:
/libraries/kunena/forum/message/thankyou/thankyou.php
and commented out this:
if ($user->banned)
		{
			//$this->setError(JText::_('COM_KUNENA_POST_ERROR_USER_BANNED_NOACCESS'));
 
			//return false;
		}
Now it works, for some reason kunena thinks, what everybody banned.

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

More
3 years 9 months ago #4 by NexonSU
I think, i found bug:
$user->banned returns date 2016-02-08 07:04:57, instead of boolean value.

I changed banned to blocked and now it works normal.
if ($user->blocked)
		{
			$this->setError(JText::_('COM_KUNENA_POST_ERROR_USER_BANNED_NOACCESS'));
 
			return false;
		}

$user->blocked returns 1 or 0, and this correct value.

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

More
3 years 9 months ago #5 by 810
thanx for the report, will check it later.

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

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