- Posts: 1
- Thank you received: 0
Kunena 7.0.2 Released
The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
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?
15 years 8 months ago #51397
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!
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.
15 years 8 months ago #51404
by guerilla
Replied by guerilla on topic Re: Direct Quick Reply?
delete space between theese two character: ? >
it must be like this: ?>
it must be like this: ?>
Please Log in or Create an account to join the conversation.
- andreicukapp
-
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
15 years 1 month ago #83313
by andreicukapp
Replied by andreicukapp on topic Re: Direct (Auto) Quick Reply?
how can I do this in kunena 1.6.1 or 1.6.2?
I cannot find those codes..
I cannot find those codes..
Please Log in or Create an account to join the conversation.
15 years 1 month ago - 15 years 1 month ago #83326
by ChaosHead
Replied by ChaosHead on topic Re: Direct (Auto) Quick Reply?
Kunena 1.6.0 - 1.6.2
in file: view.php
after this line
(Such lines in a code two. After that that in the end.)
Add:
If want to remove all other fast reply buttons after each post: in a file message.actions.php delete a line:
Screenshot:
in file: view.php
after this line
Code:
<?php $this->displayThreadActions(1); ?>
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:
Last edit: 15 years 1 month ago by ChaosHead.
Please Log in or Create an account to join the conversation.
Time to create page: 0.258 seconds