×
Blue Eagle 5 v1.5.4 has been Released (13 Sep 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.4 which is now available for download. This version addresses most of the issues that were discovered in development.

Question Crypsis Target Topic input bug.

More
2 years 1 month ago #1 by aeromodellers
Hi,
I have K5.1.2 with Crypsis 5.1.2
I found that when moderating a topic setting the "Target Topic" dropdown to "Manually Enter Topic Id", There was no input to enter the ID into.

After digging around the Javascript I found
if (id_item_selected === -1) {
	$('#kmod_targetid').show();
}
else {
	$('#kmod_targetid').hide();
}

But the value being compared in the statement was a string "-1" and therefor the if was false.
I've adjusted it to account for string too
if (id_item_selected === -1 || id_item_selected === "-1") {
	$('#kmod_targetid').show();
}
else {
	$('#kmod_targetid').hide();
}

but obviously this will break in future updates.
I'm also struggling to find an input to rename a topic.
I'm editing the first post and can't simply change the topic title. I have to "Move" the thread into itself using manual ID while also renaming the topic and setting the subject for all replies.

I don't know if this is by design or if I have an issue.

Thanks
Mike.

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

More
2 years 1 month ago #2 by aeromodellers
Actually, The same goes for #kmod_subject too.
if (id_item_selected !== 0) {
	$('#kmod_subject').hide();
}
else {
	$('#kmod_subject').show();
}

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