×
Blue Eagle 1.5.2 Released (Yesterday)

The Kunena team has announce the arrival of Kunena Blue Eagle 1.5.2 which is now available for download as a native Joomla extension for Kunena 5.1. This version addresses most of the issues that were discovered in K 1.5.1 and issues discovered during the development stages of K 1.5.2.

× 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
1 year 10 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
1 year 10 months ago #2 by CEBEP
Warning: Spoiler! [ Click to expand ]

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

More
1 year 10 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
1 year 10 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
1 year 10 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 add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.260 seconds