Kunena 6.3.0 released

The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Direct (Auto) Quick Reply?

More
14 years 8 months ago #11 by guerilla

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

More
14 years 8 months ago - 14 years 8 months ago #12 by sozzled
I've been thinking about the value of this hack and I've decided that I was probably wrong with my initial reaction to the idea. Instead I have decided to incorporate the "always available" quick reply feature into a phpBB-like Kunena template.

:) Thanks, guerilla, for your contribution. I've made a small improvement (I think) to your idea ( #25999 )

Instead of changing
Code:
if (!isset($msg_closed))
to
Code:
if ($kunena_my->id > 0 && !isset($msg_closed))
I've used instead:
Code:
if (($kunena_my->id > 0 && !isset($msg_closed)) || $fbConfig->pubwrite)
This allows for the possibility that the forum is setup for public write access.
Last edit: 14 years 8 months ago by sozzled.

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

More
13 years 9 months ago #13 by Clutch34
Replied by Clutch34 on topic Re: Direct Quick Reply?
So I wanted to try this on my Kunena website as well but I received this error message:

Parse error: syntax error, unexpected '?' in /home/xxxxxx/public_html/components/com_kunena/template/default_ex/view.php on line 1233

Line 1233 says this:

<table class = "fb_blocktable<?php echo $objCatInfo->class_sfx; ? >" id="fb_views" cellpadding = "0" cellspacing = "0" border = "0" width = "100%">

Any help on how to fix this?

Thanks!

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

More
13 years 9 months ago #14 by guerilla
Replied by guerilla on topic Re: Direct Quick Reply?
delete space between theese two character: ? >

it must be like this: ?>

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

More
13 years 2 months ago #15 by andreicukapp
how can I do this in kunena 1.6.1 or 1.6.2?
I cannot find those codes..

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

More
13 years 2 months ago - 13 years 2 months ago #16 by ChaosHead
Kunena 1.6.0 - 1.6.2

in file: view.php
after this line
Code:
<?php $this->displayThreadActions(1); ?>
(Such lines in a code two. After that that in the end.)

Add:
Code:
<?php if ((CKunenaTools::isModerator ( $this->my->id, $this->catid ) || !$this->topicLocked)&&$this->my->id) :?> <div id="kreply<?php echo intval($this->id)?>_form" class="kreply-form"> <form action="<?php echo CKunenaLink::GetPostURL(); ?>" method="post" name="postform" enctype="multipart/form-data"> <input type="hidden" name="parentid" value="<?php echo intval($this->id)?>" /> <input type="hidden" name="catid" value="<?php echo intval($this->catid)?>" /> <input type="hidden" name="action" value="post" /> <?php echo JHTML::_( 'form.token' )?> <?php if ($this->allow_anonymous): ?> <input type="text" name="authorname" size="35" class="kinputbox postinput" maxlength="35" value="<?php echo $this->escape($this->myname)?>" /><br /> <input type="checkbox" id="kanonymous<?php echo intval($this->id)?>" name="anonymous" value="1" class="kinputbox postinput" <?php if ($this->anonymous) echo 'checked="checked"'; ?> /> <label for="kanonymous<?php echo intval($this->id)?>"><?php echo JText::_('COM_KUNENA_POST_AS_ANONYMOUS_DESC')?></label><br /> <?php else: ?> <input type="hidden" name="authorname" value="<?php echo $this->escape($this->myname)?>" /> <?php endif; ?> <textarea class="inputbox" name="message" rows="6" cols="60"></textarea><br /> <input type="submit" class="kbutton kreply-submit" name="submit" value="<?php echo JText::_('COM_KUNENA_GEN_CONTINUE')?>" title="<?php echo (JText::_('COM_KUNENA_EDITOR_HELPLINE_SUBMIT'));?>" /> <small><?php echo JText::_('COM_KUNENA_QMESSAGE_NOTE')?></small> </form> </div> <?php endif ?>

If want to remove all other fast reply buttons after each post: in a file message.actions.php delete a line:
Code:
<?php echo $this->message_quickreply; ?>

Screenshot:
Attachments:
Last edit: 13 years 2 months ago by ChaosHead.

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

Time to create page: 0.516 seconds