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

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question Removing post data so back button works

More
16 years 11 months ago #9974 by dougthonus
in com_kunena\lib\kunena.link.class.php

Change the function:

GetAutoRedirectHTML($url, $timeout)
{
$url = htmlspecialchars_decode($url);
mosRedirect($url,'');
}

This removes the screen saying "post successful", there's probably a simple hack around that, but since I think it's a useless extra screen anyway, it doesn't bother me that it's gone.

When you do this after posting a message you are taken directly to your message, and there is no inbetween screen and if you use the back button it doesn't complain that you have post variables that need to be refreshed and allows the back function to work properly.

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

More
16 years 9 months ago #18066 by Sovietaced

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

More
16 years 9 months ago #18067 by JBHawaii
This is briliiant! My users are so much happier. Thanks for this contribution.

Mahalo,
JBHawaii

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

More
16 years 8 months ago - 16 years 8 months ago #21898 by setubal
That did not work in my Kunena 1.5

Appeared only a blank page

After that, I Changeded to:
Code:
function GetAutoRedirectHTML($url, $timeout) { $url = htmlspecialchars_decode($url); $Output = mosRedirect($url,''); return $Output; }

but the next page appears with broken template.

I analyzed everything that I could, message.php, post.php... without results.

Sorry for my poor english.
Last edit: 16 years 8 months ago by setubal.

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

More
16 years 8 months ago - 16 years 8 months ago #21917 by Lintzy
mosRedirect does not work anymore in J! 1.5 native.


this code should work
Code:
function GetAutoRedirectHTML($url, $timeout) { $url = htmlspecialchars_decode($url); global $mainframe; $mainframe->redirect($url, ''); }
Last edit: 16 years 8 months ago by Lintzy.

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

More
16 years 8 months ago #21933 by setubal
Yes! It's perfect! Totaly functional!

I tried other functions and don't tried it.

But the page dont't go to last post and I can't make it load, how "$url" I catch with ID post?

Your code is perfect. Thanks. A lot of thanks. Just I would like to complete it with a load last post redirection.

[]'s

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

Time to create page: 0.240 seconds