Kunena 6.1.0 Released
The Kunena team has announce the arrival of Kunena 6.1.0 [K 6.1.0] which is now available for download as a native Joomla extension for J! 4.3.x & J! 4.2.x. This version addresses most of the issues that were discovered in K 6.0 and issues discovered during the development stages of K 6.0
Question Put adsense ads within the forum topics
In the new version of Kunena no longer like putting ads within the forum topics.
Before it was done as follows:
first you have to create the position in the file:
components/com_kunena/template/default/view/message.contents.php
<div class="kmsgbody">
<div class="kmsgtext">
<?php echo $this->messageHtml ?>
</div>
</div>
By:
<div class="kmsgbody">
<div class="kmsgtext">
<?php echo $this->messageHtml ?>
<?php CKunenaTools::showModulePosition('kunena_msg_in_' . $this->mmm) ?>
</div>
</div>
this is what I did before, in the old kunena, and ...
as is done now?
Thank so much
Go to www.josportal.com or www.curipre.com.es
Please Log in or Create an account to join the conversation.
'kunena_msg_' + number example: kunena_msg_5 = on the fifth message
'kunena_msg_row_' + number example kunena_msg_row_5 = every page the fifth message
Please Log in or Create an account to join the conversation.
810 wrote: you can use this module positions, you don't need to modify the files.
'kunena_msg_' + number example: kunena_msg_5 = on the fifth message
'kunena_msg_row_' + number example kunena_msg_row_5 = every page the fifth message
you tell me this is to put ads between post but not within the message.
I indicated before the Kunena_msg_in_1 potion and that made me a notice within the message one now I can not.
As I can do it again?
Thank you
I hope I understand English as it is translated by google
Go to www.josportal.com or www.curipre.com.es
Please Log in or Create an account to join the conversation.
github.com/Kunena/Kunena-Forum/blob/K5.0...item/default.php#L52
module code:
Please Log in or Create an account to join the conversation.
I may be doing wrong?
it's wrong
Go to www.josportal.com or www.curipre.com.es
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
810 wrote:
Code:<?php if (!$this->me->userid && !$isReply) : ?> <?php echo $this->subLayout('Widget/Module')->set('position', 'kunena_msg_in_' . $this->message->replynum);?> <?php else: ?> <?php echo (!$this->me->userid && $this->config->teaser) ? JText::_('COM_KUNENA_TEASER_TEXT') : $this->message->displayField('message'); endif; ?>
I am where I have to put it? You can tell me online.
Or is the same line you told me before?
Go to www.josportal.com or www.curipre.com.es
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
810 wrote: under <p class="kmsg">
I already did, but it does not work.
Ads only run in the first issue and if you are not registered in the forum, if you enter your user and password, the ad will no longer exits.
There is another problem, and that is if the ad goes, no longer out what the user wrote.
See if you can solve.
Thank you
Go to www.josportal.com or www.curipre.com.es
Please Log in or Create an account to join the conversation.
Go to www.josportal.com or www.curipre.com.es
Please Log in or Create an account to join the conversation.