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

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 Need hack to place ad inside 1st post, 5th, and/or last

More
9 years 2 months ago #1 by horseguards
Hello,

I am moving from phpBB to Kunena, and in my previous forum I had a hack to show a 300x250 banner inside the first post, the 5th and/or the last post of a thread.

Like this awesomescreenshot.com/0f24atwm54

I don't want the ad under the post, I want it inside, like in the image.

Could anyone be so kind as to show me how to do it in Kunena?

Thanks!

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

More
9 years 2 months ago #2 by 810
components\com_kunena\template\yourtemplate\html\topic\default_message.php line 16
replace this to:
Code:
<?php if ($this->message->replynum == 1 || $this->message->replynum == 5 || $this->message->id == $this->topic->last_post_id) : echo KunenaHtmlParser::parseBBCode ($this->message->message, $this).'<p>test</p>'; else : echo KunenaHtmlParser::parseBBCode ($this->message->message, $this); endif; ?>

and <p>test</p> to your wanted code
The following user(s) said Thank You: horseguards

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

More
9 years 2 months ago #3 by horseguards
Great!!!!!!

thanks a lot!!

I am sorry but I will abuse of your generosity: That is for one same ad. How can I do if I want to put a different add in each post?

Thank a lot, great help!!

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

More
9 years 2 months ago #4 by 810
you can change <p>test</p> to $this->displayModulePosition ( 'kunena_ads' )

And then create a banner module on the kunena_ads position. And set the banner to random.

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

More
9 years 2 months ago #5 by horseguards
I use the latest version of Revive-Adserver (used to be named OpenX), and tried both iFrames and JavaScript and none of them worked.

This is what I get with either awesomescreenshot.com/0724cm9qf7

Any ideas?

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

More
9 years 2 months ago #6 by rich
Enable the debug mode and the error message should be more specific.

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

More
9 years 2 months ago #7 by horseguards
WTF!! fURL doing this?


Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 247

Strict Standards: Non-static method JoomSEF::enabled() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 192

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 2752

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 427

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 450

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 202

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 366

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 373

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 381

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 281

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 286

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 287

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 288

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 289

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 290

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 291

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 292

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 595

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsefgoogle/joomsefgoogle.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/mcniac/public_html/plugins/system/joomsef/joomsef.php:247) in /home/mcniac/public_html/components/com_jfbconnect/libraries/provider/facebook.php on line 299

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/sef.router.php on line 301

Strict Standards: Non-static method JoomSEF::set() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.router.php on line 302

Strict Standards: Non-static method SEFTools::GetSEFGlobalMeta() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.router.php on line 302

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 48

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.router.php on line 305

Strict Standards: Non-static method JoomSEF::parse() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.router.php on line 310

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 837

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/joomsef.php on line 837

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/joomsef.php on line 891

Strict Standards: Non-static method JoomSEF::_parseAlias() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1013

Strict Standards: Only variables should be passed by reference in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1013

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1550

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1551

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1551

Strict Standards: Non-static method JoomSEF::_parseSefUrl() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1031

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1060

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1062

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1063

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1063

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.ext.php on line 35

Strict Standards: Non-static method SEFTools::getExtParams() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.ext.php on line 36

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.ext.php on line 169

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/sef.ext.php on line 169

Strict Standards: Non-static method SEFCache::getInstance() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.ext.php on line 170

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/sef.ext.php on line 170

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.cache.php on line 250

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/sef.cache.php on line 250

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.ext.php on line 183

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/sef.ext.php on line 296

Strict Standards: Non-static method JoomSEF::set() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.ext.php on line 307

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 48

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1230

Strict Standards: Non-static method JoomSEF::_sendHeader() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1374

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1377

Strict Standards: Non-static method JoomSEF::_buildQueryStringValues() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1435

Strict Standards: Non-static method JoomSEF::_buildQueryStringValues() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1449

Strict Standards: Non-static method JoomSEF::_buildQueryStringValues() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1449

Strict Standards: Non-static method JoomSEF::_buildQueryStringValues() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1449

Strict Standards: Non-static method JoomSEF::_buildQueryStringValues() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1449

Strict Standards: Non-static method SEFTools::getExtParams() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1035

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/joomsef.php on line 1040

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.router.php on line 407

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/sef.router.php on line 407

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/sef.router.php on line 386

Strict Standards: Only variables should be assigned by reference in /home/mcniac/public_html/components/com_sef/sef.router.php on line 386

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 247

Strict Standards: Non-static method JoomSEF::enabled() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 220

Strict Standards: Non-static method JoomSEF::get() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/components/com_sef/joomsef.php on line 2752

Strict Standards: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in /home/mcniac/public_html/plugins/system/joomsef/joomsef.php on line 225

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

More
9 years 2 months ago #8 by 810
This is a issue on joomsef, you can disable it. and check it again.

This are just warnings, but they need to fix that to.

www.artio.net/support-forums/joomsef/pri...uge-amount-of-errors
The following user(s) said Thank You: horseguards

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

More
9 years 2 months ago #9 by horseguards
So far, I have been unable to solve this problem.

I wonder if placing this type of invocation code, "Local Mode", could work. Could anyone tell me how to place this inside the post?

===========================================================
<?php
//<!--/*
*
* Revive Adserver Local Mode Tag
* - Generated with Revive Adserver v3.1.0
*
*/-->

define('MAX_PATH', '/home/ublicida/public_html');
if (@include_once(MAX_PATH . '/www/delivery/alocal.php')) {
if (!isset($phpAds_context)) {
$phpAds_context = array();
}
$phpAds_raw = view_local('', 48, 0, 0, '_blank', '', '0', $phpAds_context, '');
}
echo $phpAds_raw;
?>
===========================================================

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

Time to create page: 1.072 seconds